Certbot Certificates renew skipping certs due for renewal

Good morning!

I have the following doubt:
I have 7 certificates on my server, and of these 7, 5 are eligible for renewal. When I try to run the ‘sudo certbot renew’ command, the following message is returned:
Saving debug log to /var/log/letsencrypt/letsencrypt.log


Processing /etc/letsencrypt/renewal/crotalus.mypharma.net.br.conf


Cert not yet due for renewal


Processing /etc/letsencrypt/renewal/admin.mypharma.net.br.conf


Cert not yet due for renewal


The following certs are not due for renewal yet:
/etc/letsencrypt/live/crotalus.mypharma.net.br/fullchain.pem (skipped)
/etc/letsencrypt/live/admin.mypharma.net.br/fullchain.pem (skipped)
No renewals were attempted.


But the 5 certificates suitable for renewal are not renewed.
What should I do?

What is the output of command certbot certificates? Because only those certificates mentioned there are under supervision of certbot.

The output is the following:
Saving debug log to /var/log/letsencrypt/letsencrypt.log


Found the following certs:
Certificate Name: crotalus.mypharma.net.br
Domains: crotalus.mypharma.net.br crotalus.mypharma.com.br
Expiry Date: 2018-02-08 00:01:58+00:00 (VALID: 50 days)
Certificate Path: /etc/letsencrypt/live/crotalus.mypharma.net.br/fullchain.pem
Private Key Path: /etc/letsencrypt/live/crotalus.mypharma.net.br/privkey.pem
Certificate Name: admin.mypharma.net.br
Domains: admin.mypharma.net.br cdn.mypharma.net.br mypharma.net.br ws.mypharma.net.br www.mypharma.net.br
Expiry Date: 2018-01-25 21:40:41+00:00 (VALID: 37 days)
Certificate Path: /etc/letsencrypt/live/admin.mypharma.net.br/fullchain.pem
Private Key Path: /etc/letsencrypt/live/admin.mypharma.net.br/privkey.pem

So you see: 2 certificates are known by certbot, both are not due for renewal. What other certificates do you mean? Did you issue them all with certbot?

I have 5 other certificates that I have to control them with Certbot too.
What should I do to control them with Certbot too?
n the case of these other 5 certificates, they have 19 days to expire.

The process is always the same. Just do the same which you did for the certificates already supervised by certbot. After having issued new certificates with certbot, they will be located below /etc/letsencrypt/live, so make sure you change the configuration of the services that use those certificates to the new location.

How were the other 5 certificates created?

The 5 certificates were in an instance of Digital Ocean and were transferred to Amazon.
I believe that the 5 certificates are not under control of Certbot because of this transference.

How could I recreate this certificates now under the control of Certbot?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.