Setting up DA with two different CA SSL certs

ajax20

Verified User
Joined
Jul 16, 2014
Messages
142
Hello

I have followed this tutorial and have set up DA with a self-signed ssl certificate. I have two IPs for my VPS and access DA through them separately through their assigned domain names, like below:

Code:
https://[B]myfirstdomainame.com[/B]:2222/CMD_LOGIN
https://[B]myseconddomainame.com[/B]:2222/CMD_LOGIN

The certificate created through the above tutorial is ok for my first or main IP and its domain name (i.e. I do not get any ssl warnings for the first domain name as the information in the certificate matches the domain name) but obviously it triggers the ssl warning message in my browser for the second domain with the second IP. Now my question is how I can create a different self-signed ssl certificate for that second IP so that when I try to access it with its respective domain name, I don't get the warning message.

It may be noteworthy to say that the second IP is owned by the 'admin' user.

Please let me know if I need to further clarify any parts of the issue.

Regards
 
Hello,

DA Currently only supports 1 certificate (cacert= in the directadmin.conf)
At best, a multi-domain or wildcard certificate can be used. (multi-domain in your case).

John
 
Back
Top