General discussion

Locked

Apache and SSL

By wleodbd ·
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.

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Apache and SSL

by Andrew T. Fry In reply to Apache and SSL

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.

Collapse -

Apache and SSL

by wleodbd In reply to Apache and SSL

Poster rated this answer

Collapse -

Apache and SSL

by wleodbd In reply to Apache and SSL

This question was closed by the author

Back to Linux Forum
3 total posts (Page 1 of 1)  

Related Forums