To install SSL manually or using Certbot Let’s Encrypt for a website hosted in CloudPanel, you can follow these general steps:
- Update your package list:
sudo apt update
sudo apt install certbot python3-certbot-nginx
sudo certbot --nginx -d your_domain.com -d www.your_domain.com
- Verify Certificate Renewal (Optional)
sudo certbot renew --dry-run
Test your SSL
https://www.sslshopper.com/ssl-checker.html
Open Terminal
certbot certonly --manual --preferred-challenges dns -d yourdomain.com
sudo certbot certonly --manual --manual-auth-hook /etc/letsencrypt/acme-dns-auth.py --preferred-challenges dns --debug-challenges -d \*.yourdomain.com -d yourdomain.com
CloudPanel is a free software to configure and manage a server with an obsessive focus on simplicity.
Run static websites, PHP, Node.js and, Python applications.
Certbot is an open-source tool provided by the Electronic Frontier Foundation (EFF) to automate the process of obtaining and renewing SSL/TLS certificates from the Let’s Encrypt Certificate Authority. It simplifies the process of enabling HTTPS on your website by providing a command-line interface for obtaining, renewing, and managing SSL certificates.
SSL (Secure Sockets Layer) is a cryptographic protocol that ensures secure communication over a computer network. It’s commonly used to secure data transfer between a web server and a web browser, but it can also be used for other types of client-server communication.
Let’s Encrypt is a non-profit Certificate Authority (CA) that provides free SSL/TLS certificates to enable HTTPS encryption for websites. It was launched in 2016 to make HTTPS encryption more accessible and widespread across the internet.
Done. Now you can refresh your domain your site will be up and running with the latest SSL installed.