ubuntu nginx let's encrypt ssl install snap

by 꽃지닷컴 posted Jan 16, 2023
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄

Topics Covered:
- Install SSL certificates with Let's Encrypt 


=========================================
Step 1 — Installing Certbot
sudo snap install core; sudo snap refresh core

Remove if ready installed
sudo apt remove certbot

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

- Obtain certificate
sudo certbot --nginx -d example.com -d www.example.com

Step 3 — Allowing HTTPS Through the Firewall
sudo ufw status

Step 5 — Verifying Certbot Auto-Renewal
sudo systemctl status snap.certbot.renew.service
sudo certbot renew --dry-run
============================================

 

certbot.renew.service sudo certbot renew --dry-run