I have 2 domain under admin user and have 2 separate SSLs for each on.
After "Paste a pre-generated certificate and key" from admin panel I see this message:
Then when want to add second SSL codes for second domains, I see same codes in the text area and it seems that it is using same certificates files for both domains .
I need separate file for each domain like this :
Currently I have used a temporary solution, edit certificate file path for second domain manually in these files. But after rewrite thses files, changes will back again.
Please Help!
After "Paste a pre-generated certificate and key" from admin panel I see this message:
Code:
Certificate and Key Saved.
Details
NOTE: You are using the server IP, so your certificate and key have been saved to:
/etc/httpd/conf/ssl.crt/server.crt
/etc/httpd/conf/ssl.key/server.key
Then when want to add second SSL codes for second domains, I see same codes in the text area and it seems that it is using same certificates files for both domains .
I need separate file for each domain like this :
Code:
/etc/httpd/conf/$domain/ssl.crt/server.crt
/etc/httpd/conf/$domain/ssl.key/server.key
Currently I have used a temporary solution, edit certificate file path for second domain manually in these files. But after rewrite thses files, changes will back again.
Code:
nano /usr/local/directadmin/data/users/admin/nginx.conf
nano /usr/local/directadmin/data/users/admin/httpd.conf
Please Help!