As mentioned here, according to this article Let's Encrypt can now be used to set the server certificate automatically for proftpd, exim, dovecot, DirectAdmin and Apache (and I assume also nginx). For the global certificate, the following command has to be used, where your.hostname.com matches the hostname from the servername variable in the directadmin.conf:
It would be an awesome feature if we could modify this certificate so it also includes other domains. Such as mail.your.hostname.com or mailserver.your.hostname.com, ftp.your.hostname.com, etc... I think the command could be as such:
And of course for a domain (a normal cert/user mode) ->
for example... Of course for global there can only be one, and for website it has to exist in DA itself (added as a vhost)
- Niels
Code:
cd /usr/local/directadmin/scripts
./letsencrypt.sh request your.hostname.com 4096
It would be an awesome feature if we could modify this certificate so it also includes other domains. Such as mail.your.hostname.com or mailserver.your.hostname.com, ftp.your.hostname.com, etc... I think the command could be as such:
Code:
cd /usr/local/directadmin/scripts
./letsencrypt.sh request global your.hostname.com mail.hostname.com ftp.hostname.com 4096
And of course for a domain (a normal cert/user mode) ->
Code:
cd /usr/local/directadmin/scripts
./letsencrypt.sh request website mysite.com www.mysite.com subdir.mysite.com 4096
for example... Of course for global there can only be one, and for website it has to exist in DA itself (added as a vhost)
- Niels