I guess I just don’t understand. I have a cert in place and that seemed to go just fine, but when I run /opt/letsencrypt/letsencrypt-auto renew
either manually or via cron…fail. When I installed the cert, I did so using the following command:
./letsencrypt-auto certonly -a webroot \
--webroot-path={{ le_webroot }} \
--agree-tos \
--email {{ le_email }} \
--rsa-key-size {{ le_rsa_key_size }} \
-d {{ item.common_name }}
This is executed via Ansible, if the variable notation looks weird. Do I need to change something in the renewal command? I thought I grabbed the right syntax, but perhaps not?
What I get is a 404 when trying to reach http://api.example.com/.well-known/acme-challenge/. However, when I drop some.html in that directory it loads nicely at http://api.example.com/.well-known/acme-challenge/some.html.
What am I missing here?
Thanks.