ivarh
I have figured out how to do this and here is the configuration changes I made to make it work:
To mailcow.conf add this:
CME_DNS_CHALLENGE=y
ACME_DNS_PROVIDER=dns_nsupdate
ACME_ACCOUNT_EMAIL=your@email.address
place the key used to authenticate your nsupdate’s with your nameserver in the file data/conf/acme calling it tsig.key:
root@mailcow:/opt/mailcow-dockerized/data/conf/acme# cat tsig.key
key “mailcow” {
algorithm hmac-sha256;
secret “SECRET”;
};
edit the file data/conf/dns-01.conf to look like this:
root@mailcow:/opt/mailcow-dockerized/data/conf/acme# cat dns-01.conf
NSUPDATE_SERVER=“nameserver_ip”
NSUPDATE_KEY=“/etc/acme/tsig.key”
I hope this can help others that are self hosting their dns servers along with their emails.
/var