Hi All,
I'm having real issues getting a new SSL Cert to work for a subdomain. There is an existing cert for www.domain.com and that works fine. Client has registered a new cert for m.domain.com using the DirectAdmin CSR generation and tried the instructions here: http://ift.tt/1wIMh05
The domain and subdomain are using the same IP, I'm aware of SNI, the server has Apache 2.2 and I have done this: http://ift.tt/1zjgp5V
The Virtual host entry for m. is like this:
<VirtualHost xxx.xxx.xxx.xxx:443 >
SSLEngine on
SSLCertificateFile /usr/local/directadmin/data/users/batterycom/domains/m.domain.com.cert
SSLCertificateKeyFile /usr/local/directadmin/data/users/batterycom/domains/m.domain.com.key
SSLCACertificateFile /usr/local/directadmin/data/users/batterycom/domains/m.domain.com.cacert
ServerName m.domain.com
ServerAlias www.m.domain.com m.domain.com
But when I browse to the m. site the cert that shows is the www. one no matter what I do (restarted Apache doesn't help) ?!
Any ideas please? there seems to be no official DA method for this.
In addition, when I generated a CSR the private key file that remains is exactly the same as the previous private key file for the www. certificate, could this be an issue?
Does the m. domain have to be setup as seperate in DA as it is currently just a subdomain of the domain.com and then with relevant virtual host entry.
Any help / advice asap would be great.
I'm having real issues getting a new SSL Cert to work for a subdomain. There is an existing cert for www.domain.com and that works fine. Client has registered a new cert for m.domain.com using the DirectAdmin CSR generation and tried the instructions here: http://ift.tt/1wIMh05
The domain and subdomain are using the same IP, I'm aware of SNI, the server has Apache 2.2 and I have done this: http://ift.tt/1zjgp5V
The Virtual host entry for m. is like this:
<VirtualHost xxx.xxx.xxx.xxx:443 >
SSLEngine on
SSLCertificateFile /usr/local/directadmin/data/users/batterycom/domains/m.domain.com.cert
SSLCertificateKeyFile /usr/local/directadmin/data/users/batterycom/domains/m.domain.com.key
SSLCACertificateFile /usr/local/directadmin/data/users/batterycom/domains/m.domain.com.cacert
ServerName m.domain.com
ServerAlias www.m.domain.com m.domain.com
But when I browse to the m. site the cert that shows is the www. one no matter what I do (restarted Apache doesn't help) ?!
Any ideas please? there seems to be no official DA method for this.
In addition, when I generated a CSR the private key file that remains is exactly the same as the previous private key file for the www. certificate, could this be an issue?
Does the m. domain have to be setup as seperate in DA as it is currently just a subdomain of the domain.com and then with relevant virtual host entry.
Any help / advice asap would be great.
SSL Certificate for subdomain - Please help
Aucun commentaire:
Enregistrer un commentaire