About Certbot and Let’s Encrypt
Certbot is a popular open-source tool that simplifies the process of obtaining and installing SSL/TLS certificates, crucial for securing websites. Developed by the Electronic Frontier Foundation, Certbot automates the certificate issuance and installation process, supporting major web servers like Apache and Nginx. Its integration with Let’s Encrypt, a free certificate authority, ensures seamless, secure connections for websites. Certbot’s command-line interface makes certificate management efficient, automating the often complex task of ensuring websites have up-to-date and valid SSL certificates, promoting a safer online experience for users.
Prerequisits
- Open port 80 to WordPress server
- Open port 443 to WordPress server
Install certbot on server
apt-get install python3-certbot-apache
apt-get install certbot
Change settings on the server
Change WordPress Address from http to https
Install certificate
certbot --apache -d domain.com
Reboot server or apache2 service:
sudo service apache2 reload
Troubleshooting
certbot install --cert-name yourdomain.com