How to use Let's Encrypt with multiple domains on Nginx on Ubuntu
johngibby.com
johngibby.com
More importantly, it should be safe to run the renew script once per month instead of once per day. Furtermore, I didn't check now but I seem to remember that Let's Encrypt limits the number of renewals in a period.
(shameless plug: I used https://sslping.com and tried to understand why it didn't catch the SSLv3 problem: no cipher, so SSLv3 can't really be used. SSLPing doesn't test DH params length yet though)
https://blog.notmyhostna.me/lets-encrypt-with-auto-renewal-a...
https://github.com/xenolf/lego
Does anyone know how long it will be since nginx gets native support for ACME, like Caddy has?
If Nginx would just start serving the new cert as soon as a new one is generated, that would be a nice feature and make things even less complicated (new cert is now the only reason to restart Nginx, apart from updates).
location /.well-known/acme-challenge/ {
alias {directory};
try_files $uri =404;
}
to the Nginx config of each site, then having a script on cron that generates the csr and calls acme_tiny. It's fairly easy to set up and you can be reasonably sure it won't screw up your site if it fails for some reason.Example: https://gist.github.com/cecilemuller/a26737699a7e70a7093d4dc...
Works like a charm