![]() ![]() Run the following command to obtain single SSL certificate for both and from the same directory that contains your virtual host file (/etc/apache2/sites-available/) $ sudo certbot certonly -agree-tos -email -d -d In the above command, replace with your website administrator’s email address.Ĭertbot will begin communicating with Let’s Encrypt server to get the SSL certificate, after it runs a security challenge to verify that you actually control the domain for which you are requesting SSL certificate. Restart Apache $ sudo systemctl reload apache2īefore proceeding further, please ensure that you have allowed HTTPS traffic in your firewall for port 443.īonus Read : How to Install Apache mod_security in Ubuntu Open the virtual host configuration file for your domain $ sudo vi /etc/apache2/sites-available/Įnsure that ServerName directive points to your domain () ServerName Let’s say you want to obtain SSL certificate for domain. Open terminal and run the following command sudo apt updateĬertbot needs to find a ServerName directive that matches the domain for which you are obtaining SSL certificate. Let’s Encrypt provides an automated tool called Certbot that automatically obtains and renews Let’s Encrypt SSL certificates. Here are the steps to secure Apache with Let’s Encrypt on Debian 10, Debian 9 and Ubuntu Linux. ![]() How To Secure Apache with Let’s Encrypt on Debian 10 Here’s how to secure Apache with Let’s Encrypt on Debian 10. Let’s Encrypt is a free SSL/TLS certificate provider that allows you to easily secure your website. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |