Hello,
I am trying to figure out how to do the following in directadmin:
I have a working SSL certificate for www.mydomain.com.
1) First question would be if I can use this certificate for both DA login and for the domain name SSL content at the same time (i.e. without the need to buy another cert.)
If that is possible, then:
2) I managed to install the certificate for the DA login (i.e. connecting to https of www.mydomain.com:2222 works well), but I am stuck with setting it up for the domain content on the user level in DA (to display Private_html folder content properly with no browser warnings).
I did put the cert and key within the "SSL Certificates" section of the User level, I checked that the .cert and .key files are correctly saved but it still does not work even after restarting httpd and da services.
When trying the website in browser I get:
The server's name does not match the certificate's name "localhost"
I suspect the error might be IP related, which is currently used for two other domain names, although I don't see why that would be impossible as it works on other servers/panels with no problem. I would try to reassign a free IP to the domain name, but I do not know how to do that (I can see how to assing IP to an user, but not how to specific domain exactly).
So what I would like to know is, if there is some other step needed to do in order to make it work, or that the way I need it to be is not possible.
I would appreciate any help, thanks!
Mike.
I am trying to figure out how to do the following in directadmin:
I have a working SSL certificate for www.mydomain.com.
1) First question would be if I can use this certificate for both DA login and for the domain name SSL content at the same time (i.e. without the need to buy another cert.)
If that is possible, then:
2) I managed to install the certificate for the DA login (i.e. connecting to https of www.mydomain.com:2222 works well), but I am stuck with setting it up for the domain content on the user level in DA (to display Private_html folder content properly with no browser warnings).
I did put the cert and key within the "SSL Certificates" section of the User level, I checked that the .cert and .key files are correctly saved but it still does not work even after restarting httpd and da services.
When trying the website in browser I get:
The server's name does not match the certificate's name "localhost"
I suspect the error might be IP related, which is currently used for two other domain names, although I don't see why that would be impossible as it works on other servers/panels with no problem. I would try to reassign a free IP to the domain name, but I do not know how to do that (I can see how to assing IP to an user, but not how to specific domain exactly).
So what I would like to know is, if there is some other step needed to do in order to make it work, or that the way I need it to be is not possible.
I would appreciate any help, thanks!
Mike.