DirectAdmin + SSL on subdomain, how?

futurevision

Verified User
Joined
Nov 26, 2008
Messages
50
Hi!

I'm running multiple DA servers and I want to be able to access DA with a subdomain, I just set an A-record to point from subdomain.mydomain.com to my DA server IP. Then I changed SSL=1 in the directadmin.conf, so far so good. This is working fine.

But now the subdomain offers a self-signed SSL certificate, I want it to be real. So I created a user on the machine with the subdomain.mydomain.com, created a CSR, bought the SSL certificate and installed it. I also imported the 2 root certificates from RapidSSL (I bought a RapidSSL certificate). But now my DA is still using the self-signed certificate for DA :(


When I type in my subdomain: subdomain.mydomain.com:2222 I am redirected to <ip>:2222 instead of it still showing the subdomain.mydomain.com:2222 with my real SSL certificate.

Do I need to reset something or put the certificate in a different location for DA to pick this up? Any help is apreciated...
 
first part working now, thanks. Different problem:

When testing SSLv3 from shell on my localhost:2222 I get this error: "Verify return code: 21 (unable to verify the first certificate)"

I added the RapidSSL Primary and Secondary certificate into /usr/local/directadmin/conf/carootcert.conf, added carootcert=/usr/local/directadmin/conf/carootcert.pem to my directadmin.conf and restarted DA but still the same error. How can I solve this?
 
Last edited:
Back
Top