Logo

dev-resources.site

for different kinds of informations.

Renew LetsEncrypt SSL Certificate in WordPress by Bitnami

Published at
12/27/2024
Categories
wordpress
ssl
security
Author
solitrix02
Categories
3 categories in total
wordpress
open
ssl
open
security
open
Author
10 person written this
solitrix02
open
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>
Enter fullscreen mode Exit fullscreen mode

If you have .pem instead, do the following:

ssh -i "file.pem" bitnami@<ip address>
Enter fullscreen mode Exit fullscreen mode

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

sudo su
Enter fullscreen mode Exit fullscreen mode

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>
Enter fullscreen mode Exit fullscreen mode

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
Enter fullscreen mode Exit fullscreen mode

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:

ssl Article's
30 articles in total
Favicon
Building and Deploying a New API (Part 3)
Favicon
Using Cloudflare SSL with Elastic Beanstalk instances
Favicon
Generate your Let's Encrypt Digital Certificates for all your domains using Apache
Favicon
Renew LetsEncrypt SSL Certificate in WordPress by Bitnami
Favicon
Building an S3 Static Website with CloudFront Using Terraform
Favicon
You May Prefer to Know Less About PKI Flaws but Now Is Too Late
Favicon
Understanding SSL and Its Importance
Favicon
Heartbleed: The Bug That Shook the Internet
Favicon
How to Ignore cURL SSL Errors
Favicon
Secure Nginx with Let's Encrypt on Ubuntu
Favicon
How to Update SSL Certificate in SafeLine WAF through a File
Favicon
Deploy Vite-React Project in AWS EC2 using custom domain and free SSL Certificate.
Favicon
5 Steps for a Quick and Effective Transition to 90-Day TLS/SSL Certificates
Favicon
Guide to SSL Errors: What do they mean and how to fix them
Favicon
How to remotely EV code-sign a windows application using ssl.com
Favicon
Instant Domain Insights: Why Every Tech Professional Needs DNS Checker Pro
Favicon
INSY 8211 & Intro to Linux Administration - part_1 [Network and Web Server Configuration]
Favicon
Day 32: Securing Your Personal Blog with SSL/TLS (A Beginner's Guide)
Favicon
Understanding SSL/TLS: The Role of Encryption and Security Protocols in Internet Communication
Favicon
Get a free SSL certificates for your shared-hosting cPanel domain!
Favicon
Choosing an SSL certificate: paid or free β€” or whether you can do without one
Favicon
Chain of Trust: Decoding SSL Certificate Security Architecture
Favicon
Docker Server Certificate with SSL
Favicon
HTTPS and SSLs: Why They Matter, How to Use Them
Favicon
πŸš€ Deploying Node.js Application with PM2, NGINX, and SSL Configuration πŸš€
Favicon
Types of SSL Certificates
Favicon
AWS Certificate Manager Implementation
Favicon
Migration vom Nginx Proxy Manager zu Traefik πŸš€
Favicon
Migrating from Nginx Proxy Manager to Traefik πŸš€
Favicon
Self hosted supabase setup with Authelia and Caddy

Featured ones: