Trouble with letsencrypt.sh

mikelato

Verified User
Joined
Jan 25, 2010
Messages
74
Hi Everyone,

I'm trying to use letsencrypt.sh to enable SSL for my DA installation and also would like the option available to users. I tried following the instructions in this help article but DA will not start because there is no /usr/local/directadmin/conf/cacert.pem etc generated from the letsencrypt.sh script.

https://help.directadmin.com/item.php?id=629

Here's a snapshot of what I want to do....

Primary domain: primary.com
Server hostname: server1.primary.com

The primary domain is the default domain on the admin account. I'm not able to use the script with server1.primary.com because the domain doesn't exist in /etc/virtual/domainowners. If I manually add the domain there and also add it as a SAN under the primary domain it allows me to generate the certs with the letsencrypt.sh script.

After generating the certs I'm not able to start DA, it fails when trying to get the certs that should be located in /usr/local/directadmin/conf/. Do the cacert.pem, carootcert.pem, and cakey.pem files need to be copied to this folder from somewhere else when using this script?

Thanks,
Mike
 
Back
Top