Discussion Locked

Apache and SSL

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I've used Apache, Modssl, and Openssl to create my ssl cert. It is working fine with localhost, however, I do have trouble to make it work with a virtual host. For example, my localhost name is lablinx while my virtual host names is testlablinx, I can browse https://lablinx but not the https://testlablinx . Is there anything wrong with my configuration that I don't know yet? Any help will be appreciated.
Thanks so much.

3 replies

by andrew t. fry

SSL certificates are based on the hostname. When a client logs into lablinx https://lablinx the certificate has the hostname of lablinx. However, when they log into https://testlablinx the host name lablinx does not match the hostname that they are viewing. If only certain files and actions require the SSL connection, you must specifically change the hyperlinks to point to https://lablinx/filename. If it all requires SSL then you either need to add a certificate for testlablinx or only use lablinx as a hostname. Hope that helps.

This discussion is closed to new replies.