Please help to solve one problem.
There is a web server running lighttpd and a few that it spinning (ip only one).
There was a problem to make https for only one of these domains (domain1.com).
Using the free certificate from startssl and it works fine. But, if you go to https on any of the other domains, you get an error in the logs and ssl_error_unrecognized_name_alert
How to enable SSL for a single domain, without affecting other domains?
In lighttpd config quote:
There is a web server running lighttpd and a few that it spinning (ip only one).
There was a problem to make https for only one of these domains (domain1.com).
Using the free certificate from startssl and it works fine. But, if you go to https on any of the other domains, you get an error in the logs and ssl_error_unrecognized_name_alert
2013-01-13 12:11:29: (network.c.96) SSL: null SSL_CTX for TLS server name domain2.ru 2013-01-13 12:11:29: (connections.c.299) SSL: 1 error:1408A0E2:SSL routines:SSL3_GET_CLIENT_HELLO:clienthello tlsext
How to enable SSL for a single domain, without affecting other domains?
In lighttpd config quote:
$SERVER["socket"] == "domain1.ru:443" { ssl.engine = "enable" ssl.ca-file = "/etc/lighttpd/ssl.cert/ca-certs.crt" ssl.pemfile = "/etc/lighttpd/ssl.cert/domain1.pem" server.document-root = "/var/www/domain1.ru/htdocs" server.name = "domain1.ru" }
0 commentaires:
Enregistrer un commentaire