We have already seen in the previous post how to set up the Autobot script from this previous post of certbot after that we have downloaded the certificate. As many of us don’t understand why our website gets unsecured after 3 months or 90 days. So let us understand why does it happen. Happens because of not renewing letsencrypt SSL
- Letsencrypt certificates are only available for 90 days and not like most of SSL which comes 365 days of validity.
- You can only request 5 SSL certificate in every 30 days.
- You can renew the SSL without having downtime on your website.
So let us create a cron that automatically renews your free Letsencrypt SSL without downtime on AWS EC2 Instance.
crontab -e
This will initate the cron jobs on your server
Add the following command
30 2 * * 1 /usr/bin/certbot renew >> /var/log/le-renew.log
this will renew your SSL without downtime automatically every tim.
So now you have successfully installed SSL lifetime free SSL without paying to any company ever.
Feel free to send query on Renew Letsencrypt SSL to get help or you can also subscribe to my GIG to get professional help via this link
