By using AWS re:Post, you agree to the Terms of Use

How to automatically renew SSL Certificate for wordpress hosted on lightsail

0

Dear All, I have hosted a Wordpress website on Lightsail following the blog: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-using-lets-encrypt-certificates-with-wordpress The step 9 says, repeat again every 90 days. Isn't there a way to automate this? I found some articles but those were referring to nginx based deployment but I think the one I have, Lighsail used Apache. There were few more but not related to lightsail wordpress. My DNS registrar is Namecheap.

Hope someone could point me to the right steps to be followed. Thanks, A

  • Is anyone else tracking here, can you respond?

    an you just switch modules like that, can you just follow the bncert instructions after having already setup Certbot before? I am in the same boat....setup Certbot and now seeing I don't need wildcard, and it's dumb that it doesn't auto renew...would like to set up bncert so I can set it and forget it...can I just follow those instructions over on top of the Certbot instructions I've already followed?

2 Answers
0

The certbot does not support LightSail's feature of auto-renewal of SSL certificates. On the other hand, you can use the bncert to automatically renew your certificate every 80 days before it expires. For instructions on how to create a certificate using the bncert, please refer to the following document.

https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-enabling-https-on-wordpress

The bncert tool will perform an automatic renewal of your certificate every 80 days before it expires.

answered 9 months ago
  • hi @drumnist_nakano ..... can you just switch modules like that, can you just follow the bncert instructions after having already setup Certbot before? I am in the same boat....setup Certbot and now seeing I don't need wildcard, and it's dumb that it doesn't auto renew...would like to set up bncert so I can set it and forget it...can I just follow those instructions over on top of the Certbot instructions I've already followed?

  • Hi, can you respond?

0

I don't recommend using DNS authentication with letsencrypt unless you need wildcard domain support.

If all you need is to support ssl on a fixed number of domains, then just use http authentication. It's well supported by most letsencrypt clients.

I use certbot on all my lightsail linux instances and it's worked fantastically.

answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions