How to install Digital ocean SSL certificate on your droplet
Today we will tell you step by step in this article how to install a successful Digital ocean SSL certificate in any droplet of Digital Ocean. Before proceeding, it is essential to keep in mind that if you have not yet to connect your droplets with the domain, then first connect it. It is effortless to install the SSL certificate in Digital Ocean if you have ever-renewed the services of Digital Ocean before this, then you can do it by following the steps given by us. You can do this by copy-pasting the command given by us in your putty or droplet console.
Step 1 :
First of all, you have to log in to Digital Ocean through your email and password. After this, you have to select the project in which you have installed Droplet. Then after that, you have to find the droplets in which you have to install the SSL certificate lets encrypted.
In this, step you have to copy your Droplet IP you are used to the putty, if not using putty, then click on the Droplet in which you have to install the SSL certificate.
If you are doing the putty, then open the putty by entering the droplet IP it and then press OK on it. If you are using the droplet console, then you can click on the console, then a new window will open, from where you can go to the root section of your droplet. Similarly, in the putty, also you have to go to root by typing your password, which you must have received through email; otherwise, enter the password you have to change your password.
In this step, you will be successful by logging into your droplet and just following the command given by us, step by step, and your SSL certificate lets encrypted will be installed on your droplet or your system free of cost.
Install Digital ocean SSL Certificate
sudo apt-get update
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install python-certbot-apache
sudo apachectl stop
Put your Domain name example.com Not given same code.
letsencrypt --authenticator standalone --installer apache -d example.com
Restart Apache 2 Services
sudo service apache2 start
service apache2 restart
Finally, friends, we make sure that your problem will be solved, if you have an issue with the same problem then you can try again as same solution, then try these codes again, your problem will be solved but this time with attention.