I am trying to use the DNS solver for letsencrypt (specifically DNSmadeeasy).
Here is my Caddyfile:
https://lxdocker1.hyltown.com:2015
tls {
dns dnsmadeeasy
}
gzip
log /data/access.log
markdown /blog
root /data/htdocs
This is what I’m trying:
export DNSMADEEASY_API_KEY=xxxx
export DNSMADEEASY_API_SECRET=yyyy
caddy \
-ca "https://acme-staging.api.letsencrypt.org/directory" \
-log foolog \
-agree \
-email dewey.hylton@gmail.com
This immediately returns the following error:
Activating privacy features... 2018/05/07 17:35:00 directory missing new registration URL
This only happens with the staging environment. The production URL fails in a different way, but of course I do not want to test with that. I’m still trying to work out the dnsmadeeasy piece but in this scenario I am not getting that far.
Does it look like I’m attempting this the correct way, or is my attempt flawed somehow? I’d really like to see a working example but have been unable to find one as of yet …
For what it’s worth, I’m trying to obtain letsencrypt certs for an internal server, unreachable from the internet.