# Certbot 使用筆記 1. 安裝 sudo snap install --classic certbot 2. 產生 ssl 憑證 sudo certbot --nginx --hsts --staple-ocsp --must-staple -d mrhanji.com -d www.mrhanji.com 3. 查詢憑證 sudo certbot certificates 4. 查看是否已啟用自動更新憑證 sudo systemctl list-timers —> UNIT snap.certbot.renew.timer 存在 **更新憑證須關閉 proxy 狀態** [certbot 刪除不需再更新SSL的域名(domain)](https://www.brilliantcode.net/1162/certbot-delete-domain/) ###### tags: `https` `certificate`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up