How to Stop DA Installing SSLs

Richpark

Verified User
Joined
Sep 25, 2014
Messages
63
Location
UK
This is driving me crazy. I manage my own SSLs for my domains using Certbot, I have a valid reason.

My live DA config is as follows:

admin_ssl_cert_on_create=0
admin_ssl_cert_per_vh=1
admin_ssl_check_expiry_offset=0
admin_ssl_check_retries=1
admin_ssl_default_wildcard=1
admin_ssl_install_to_missing=0
admin_ssl_poll_frequency=5m:15m:30m:4h:12h:1d:1w
admin_ssl_replace_all_expired_invalid=0

A new account was created yesterday, but today I see this:

Dec 1 14:23:11 s1 dataskq[3069903]: executing task task=action=ssl&value=admin_ssl
Dec 1 14:23:11 s1 dataskq[3069903]: finished task duration=22.730211ms task=action=ssl&value=admin_ssl
Dec 1 14:23:11 s1 dataskq[3069903]: executing task task=action=rewrite&value=letsencrypt
Dec 1 14:23:16 s1 dataskq[3069903]: running lego acme-mode=domain cert-id=REDACTED.co.uk dns-names=[mail.REDACTED.co.uk ftp.REDACTED.co.uk pop.REDACTED.co.uk smtp.REDACTED.co.uk] dns-provider= domain=REDACTED.co.uk duration=2.92053968s exit-code=0 keytype=ec256 server=https://acme-v02.api.letsencrypt.org/directory user=REDACTED username=REDACTED

It just so happens that their DNS isn't pointing correctly, and it seems that DA has taken it upon itself to install its own SSL.

Please tell me what I'm missing here, how do I stop this.

I use DA's SSL for the main server, not for my virtual hosts.
 
Hello,

Can not say what might be wrong, it might be even a bug. So here is a possible temporary mitigation. Will it help if you completely disable acme for a domain?

Bash:
[root@poralix]# grep acme /usr/local/directadmin/data/users/poralix001/domains/poralix001.example.conf
acme_enabled=no
[root@poralix]#

It is a matter to add acme_enabled=no in the file on a domain creation:

- /usr/local/directadmin/data/users/<username>/domains/<domain>.conf
 
Back
Top