Automated ssl doesn't work

DanielT

Verified User
Joined
Apr 21, 2021
Messages
11
Automatic SSL does not work

Newly created accounts return SSL_ERROR_BAD_CERT_DOMAIN when accessed through https
It says the certificate is only valid for server.mydomain.com (my server hostname)

That cert was installed this way

/usr/local/directadmin/scripts/letsencrypt.sh request_single server.mydomain.com 4096

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


Since the accounts we are creating are all subdomains I tried to generate a new cert like this

/usr/local/directadmin/scripts/letsencrypt.sh request_single mydomain.com 4096

But no changes.

How can we fix this problem?
Thanks!
 
You also have to enable it seems in directadmin admin section, I found a page on how to do this.
Might be a custom thing, I can't find that on my admin section.

Edit: this is part of the pro pack. But autossl should be installed by default, might not work with subdomains, not sure. There is a thread about subdomains on the forums here.
 
Last edited:
Back
Top