Add a separate SSL certificate for a subdomain in Directadmin



Directadmin doesn’t have possibility to add SSL certificate for a subdomain, unless You add it as a separate domain in domain control.

You may also use separate SSL certificates by creating a custom httpd (or nginx, but it would require to change the CAROOT line) file in user configuration dir i.e. (or if it’s nginx).

|*if SUB="subdomain"|
	|?CAROOT=SSLCACertificateFile /usr/local/directadmin/data/users/loginroot/domains/|


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.