I was having trouble with the keys.sh script, where it would dump all keys, even from my subdomains. This caused a problem with coredns, since it served the subdomain.example.com cert first, instead of example.com. I think this problem only occurs when your acme.json has other subdomain certs first, then the main one.
I was having trouble with the keys.sh script, where it would dump all keys, even from my subdomains. This caused a problem with coredns, since it served the subdomain.example.com cert first, instead of example.com. I think this problem only occurs when your acme.json has other subdomain certs first, then the main one.