how to install let’s encrypt ssl certificate in centos using SSH command

Nowadays hacking is so simple,with out much technical extreme anybody can access other data,so it is important to encrypt the data when it exchange between the system,fortunately we have a standard security protocol called ssl to encrypt our data,among the ssl certificate let’s encrypt certificate is most popular and it is free.So we will discuss how to install let’s encrypt ssl certificate in centos using SSH command.We have certbot is their to do that. we will check each steps one by one

Login to ssh window

1) Download Certbot

#wget https://dl.eff.org/certbot-auto

2) Move Certbot to /usr/local/bin/

#sudo mv certbot-auto /usr/local/bin/certbot-auto

3) Change certbot-auto folder Owner to root

#sudo chown root /usr/local/bin/certbot-auto

4) Change certbot-auto folder permission to 755

#sudo chmod 0755 /usr/local/bin/certbot-auto

5) Install let’s encrypt ssl certificate in centos using SSH command

#sudo /usr/local/bin/certbot-auto --apache

Leave a Reply

Your email address will not be published. Required fields are marked *