Hi,
I'm trying to setup sni for directadmin.
I've edited the config and added enable_ssl_sni=1
Then I've reconfigured and recompiled apache to support openssl.
I've generated a selfsigned certificate for one of my users domain and hit the https url. Everything worked fine.
Then I generated another selfsigned certificate for another domain for the same user and hit the https url for that site. The certificate was not the certificate that I created, it gave me a wrong site error. I checked the certificate and found out that apache is serving the browser a certificate with a CN of localhost. I didn't generate this localhost certificate where did it come from?
When I look at the http config for the user the original site that I setup https for has a VirtualHost on port 443 and 80 but when I look at the second site that I setup there is only a virtualhost for port 80.
Why isn't directadmin adding the 443 vhost for the second site?
I'm trying to setup sni for directadmin.
I've edited the config and added enable_ssl_sni=1
Then I've reconfigured and recompiled apache to support openssl.
I've generated a selfsigned certificate for one of my users domain and hit the https url. Everything worked fine.
Then I generated another selfsigned certificate for another domain for the same user and hit the https url for that site. The certificate was not the certificate that I created, it gave me a wrong site error. I checked the certificate and found out that apache is serving the browser a certificate with a CN of localhost. I didn't generate this localhost certificate where did it come from?
When I look at the http config for the user the original site that I setup https for has a VirtualHost on port 443 and 80 but when I look at the second site that I setup there is only a virtualhost for port 80.
Why isn't directadmin adding the 443 vhost for the second site?