Using the tutorial above for Cloudflare, how do I go about updating the SSL certificate before it expires? Is there a way to set it up to automatically renew 30 days prior to expiration?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi @jpvonoy,
I recommend using Certbot. Certbot will install a free Let’s Encrypt certificate and will actually help you auto-update it. DigitalOcean have a pretty good tutorial that will help you do exactly that :
Alternatively, if you want to use Cloudflare’s SSLs you can check the following article: How-do-I-add-SSL-to-my-site-cloudflare
You can install certbot and use it to automatically renew the SSL certificate. certbot official website
When I first asked this question, I was misunderstanding the situation I was in. I had received an email saying my Let’s Encrypt certificate was about to expire for my website. I forgot that I had originally followed the Let’s Encrypt tutorial before setting up Cloudflare. Now that I’m using the certificate through Cloudflare, I don’t think my certificate is expiring. Since I’m not using Let’s Encrypt, I can let that one expire. It looks like my Cloudflare certificate is good for a long time still, and I’m guessing it may renew automatically when the time comes.