Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 609 Bytes

HTTPS.md

File metadata and controls

40 lines (27 loc) · 609 Bytes

Set up HTTPS

Оригинальная инструкция: https://certbot.eff.org/instructions?ws=nginx&os=ubuntufocal

Install snapd

sudo apt update
sudo apt install snapd

Ensure that your version of snapd is up to date

sudo snap install core; sudo snap refresh core

Remove certbot-auto and any Certbot OS packages

sudo apt-get remove certbot

Install Certbot

sudo snap install --classic certbot

Prepare the Certbot command

sudo ln -s /snap/bin/certbot /usr/bin/certbot

Run Certbot

sudo certbot --nginx