- Código: Seleccionar todo
sudo apt-get install snap
DESPUES
- Código: Seleccionar todo
sudo snap install certbot --classic
Step 1 — Download the Let’s Encrypt Client
The first step to using Let's Encrypt to obtain an SSL certificate is to install the certbot software on your server. The Certbot developers maintain their own Ubuntu software repository with up-to-date versions of the software. Because Certbot is in such active development it's worth using this repository to install a newer Certbot than provided by Ubuntu.
First, add the repository:
- Código: Seleccionar todo
sudo add-apt-repository ppa:certbot/certbot
You'll need to press ENTER to accept. Afterwards, update the package list to pick up the new repository's package information:
- Código: Seleccionar todo
sudo apt-get update
And finally, install Certbot from the new repository with apt-get:
- Código: Seleccionar todo
sudo apt-get install python-certbot-apache
The certbot Let's Encrypt client is now ready to use.
Step 2 — Set Up the SSL Certificate
Generating the SSL Certificate for Apache using the certbot Let’s Encrypt client is quite straightforward. The client will automatically obtain and install a new SSL certificate that is valid for the domains provided as parameters.
To execute the interactive installation and obtain a certificate that covers only a single domain, run the certbot command with:
- Código: Seleccionar todo
sudo certbot --apache -d example.com