I’m hosting an email marketing app on Amazon Ec2 with Bitnami. Im trying to auto renew my Lets encrypt certificate. I added the following Cronjob…
17 */12 * * * /home/bitnami/certbotsetup/certbot-auto renew --quiet
My email marketing app already has several cronjobs running. I added these cronjobs as a regular user.
The Letsencrypt cronjob was added as the root user. I was wondering if that made any difference?
I issued the following commands on my sever…
“openssl x509 -in /etc/letsencrypt/live/email-marketing.trade/cert.pem -noout -dates”
“email-marketing.trade” is the name of my domain
here’s the output of the above command…
“notBefore=Nov 24 01:44:28 2017 GMT
notAfter=Feb 22 01:44:28 2018 GMT”
I don’t see any new certificates being issued. I’m still able to browse to my domain and the certificate is still there in my browser. I’m assuming that the “notAfter=Feb 22 01:44:28 2018 GMT” is the expiry date of my certificate. Is that assumption correct? (because today is Feb 24 2018) I’m also assuming that the path to my “cerbot-auto” is at “/home/bitnami/certbotsetup/certbot-auto renew” is the that the right file? I’m basing this on some advice you guys gave me a while back about auto-renewal.
Is my timing on the cronjobs correct? Whats the proper way to set my certificates on auto-renew?