Renewal on Amazon AWS / Lightsail


Hi all,
I issued a certificate for my website on Amazon AWS / Lightsail.
Now I have to renew all my domains pointing to AWS. How I can manage this? Is there a tutorial around?
And furthermore: is there a way to automate this process?

Thank you in advance!


Hi @unterhd6

you need a client to automate that. Look there:


How did you issue the certificate you have now?

Usually, the client has easy automatic renewal, or requires you to do roughly the same thing you did to create the first certificate.


Hi @JuergenAuer and @mnordhoff and thanks for the quick response!

I followed this tutorial to issue a certificate for my website:

Which - by the way - worked flawlessly with my amazon lightsail wordpress website.

And obviously theres the part referring to the renewal. BUT i misspelled the command in the cronjob.
Thats why the renewal-process didn’t work.

So now everythings works fine. Thanks a lot for your help.


For what it’s worth, it’s recommended to run “letsencrypt-auto renew” twice a day. And not right at the top of the hour. If you only run it once a month, if there’s an outage at just the wrong time, your certificates might expire. If you run it frequently, there are more chances to succeed.

renew doesn’t do anything when your certificates aren’t close to expiring.

Something like this should work:

0 */12 * * * perl -e 'sleep int(rand(43200))' && /home/bitnami/letsencrypt/letsencrypt-auto renew --deploy-hook '/opt/bitnami/ restart apache'


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