Firstly, download the Certbot tool as below.
wget https://dl.eff.org/certbot-auto chmod a+x ./certbot-auto mv certbot-auto /usr/local/bin/
Then, just run this command.
It going to download requirements with yum package manager, directly start certbot-auto.
It wants an e-mail for information and activation.
Then, ask an order, if you agree to it, write ‘A’ and continue.
That’s all, congratulations, our certificate and chain have been saved 🙂
It configured my nginx file automatically for SSL.
As you see, it going to “Expires: Monday, July 16, 2018 at 2:38:01 PM“.
For this, we can add this line as below. This line, check it every day and
renew the certificate.
That’s all, see you next article 🙂