Edit:
Looks like Apache has one called 'md':
https://httpd.apache.org/docs/trunk/mod/mod_md.html
Your move Nginx? :)
Edit:
Looks like Apache has one called 'md':
https://httpd.apache.org/docs/trunk/mod/mod_md.html
Your move Nginx? :)
This is not as useful as you think. In nginx you only need a couple of extra lines of configuration to let an external program issue and renew certificates independently from nginx, without reloads, etc. Definitely not worth developing a C nginx module that starts a helper process that does that just so that a few people who run nginx on a single server could get their certificates issued with only one line of configuration.
location ^~ /.well-known/acme-challenge/ {
allow all;
default_type "text/plain";
root /var/www/letsencrypt;
}
And to issue a cert (and automatically renew in the future) all I need is: acme.sh --issue -w /var/www/letsencrypt/ -d example.com --reloadcmd "service nginx reload"
Although recently I've been using the Cloudflare DNS option also offered by acme.sh instead of webroot mode. It doesn't make any difference in my issue workflow because the domains are already on CF DNS anyways, but it's required for wildcard certs.I definitely agree in not seeing added the value of a nginx module over my current solution.
That’s why I use caddy just about everywhere that isn’t a load balancer.
The most sustainable and reliable long-term approach would be to have Certbot's integrations gradually superseded by supported official Let's Encrypt integrations in applications that terminate TLS.
P.S. Thanks for your enthusiasm for Certbot!
e.g. a config setting get-certs-from: ACME-ENDPOINT-URL rather than a binary "Use Let's Encrypt" feature.
Thanks for your work, which is much more important than our enthusiasm.