Please fill out the fields below so we can help you better.
My domain is:dev.volunteerly.org (multiple domains)
I ran this command:letsencrypt renew
It produced this output:
root@ubuntu:~# letsencrypt renew
Processing /etc/letsencrypt/renewal/dev.volunteerly.org.conf
Processing /etc/letsencrypt/renewal/myadmin.secure.volunteerly.org.conf
Processing /etc/letsencrypt/renewal/fb.secure.volunteerly.org.conf
Processing /etc/letsencrypt/renewal/webmail.tp3.dk.conf
The following certs are not due for renewal yet:
/etc/letsencrypt/live/dev.volunteerly.org/fullchain.pem (skipped)
/etc/letsencrypt/live/myadmin.secure.volunteerly.org/fullchain.pem (skipped)
/etc/letsencrypt/live/fb.secure.volunteerly.org/fullchain.pem (skipped)
/etc/letsencrypt/live/webmail.tp3.dk/fullchain.pem (skipped)
No renewals were attempted.
root@ubuntu:~#
My operating system is (include version):Ubuntu 16.04 server
My web server is (include version): Apache/Nginx (ServerPilot setup)
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no
Several of my certificates will expire on 31. january 2017 but still the letsencrypt renew command returns “not due” for any of the certificates.
however you aren’t using the latest certificates that you have in your nginx. This could be for a couple of reasons.
You simply need to reload nginx to use the correct certificates.
You’re nginx config points to the certs at a different location than in /etc/letsencrypt/live… in which case you need to update that before reloading nginx.
Thanks for your quick reply!
I’ll have a look to see if my Nginx settings are correct, the server has been rebooted in the last month or so, so the new certs should have loaded.
As far as I can tell (and remember) the cert was issued nov. 2. 16 and would expire jan. 31. 17.
It would appear as if I should implement a automatic restart of Nginx service once a month.
No, It should only run when a cert is renewed. From the documentation
–post-hook POST_HOOK
Command to be run in a shell after attempting to obtain/renew certificates. Can be used to deploy renewed certificates, or to restart any servers that were stopped by --pre-hook. This is only run if an attempt was made to obtain/renew a certificate.
I think as @serverco mentioned to me via PM, running it as a cron as follows is better as it will not reload nginx or apache unless a renewal was done.