Renew LetsEncrypt SSL Certificate in WordPress by Bitnami

Is Your SSL Certificate Expiring? Don't Let It Affect Your Site's Reputation: A blog about the importance of SSL certificates and how to renew them.

Renew LetsEncrypt SSL Certificate in WordPress by Bitnami

Welcome Developers! If you're a WordPress website owner concerned about the security of your site, you're in the right place. In this article, we'll discuss the hassle of SSL certificate renewals and how Bitnami's free SSL certificate renewal service for WordPress can simplify and streamline this essential process.

What is an SSL certificate?

SSL stands for Secure Sockets Layer. It is a protocol that encrypts and authenticates data transmitted between a browser and a web server, therefore making your information secure while surfing the Internet.

How to renew your SSL certificate

To renew the SSL certificate, make sure you have admin/root access to the server where you deployed your WordPress machine. If you have then do the SSH login using the username and password:

ssh username@<ip address>

If you have .pem instead, do the following:

ssh -i "file.pem" bitnami@<ip address>

After that, access the admin access of the server by typing the following commands:

sudo su

Now run the command below to obtain an SSL/TLS certificate for the domain on which your WordPress is hosted using the Certbot tool:

sudo certbot certonly --webroot -w /opt/bitnami/apps/letsencrypt/conf -d <domain name>

After running the above command, a new certificate is obtained. Now to renew the SSL certificate paste the following commands into the terminal:

sudo /opt/bitnami/letsencrypt/lego --tls --email="<email address>" --domain="<domain name>" --path="/opt/bitnami/letsencrypt" renew --days 90

This command is using the Lego client to renew the SSL/TLS certificate for the domain name associated with the provided email address. The renewal is initiated if the certificate has less than 90 days left until expiration. The renewed certificate will be stored in the specified directory.

After running all the commands, restart your server. To restart your server, type the following commands:

  • Nginx

      sudo systemctl restart nginx
    
  • Apache

      sudo systemctl restart apache2
    

Conclusion

Congratulations🎉on renewing the SSL certificate of your WordPress website provided by Bitnami. If this method of renewing the SSL certificate won't work, let me know in the comments.

Thank you! for reading, please leave your comments if any ✌️

Don't forget to bookmark this blog for the future 📌

Connect with the author:

Did you find this article valuable?

Support Sanchit Bajaj by becoming a sponsor. Any amount is appreciated!