Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Latest commit

 

History

History
46 lines (31 loc) · 744 Bytes

HTTPS.md

File metadata and controls

46 lines (31 loc) · 744 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

If you wish to add another SSL-certificate, just run:

sudo certbot certonly --nginx --agree-tos --expand -d secretic.app