什麼是 SSL 證書?
SSL 證書加密瀏覽器與伺服器之間的通訊,讓網站使用 https://。
使用 Certbot
sudo apt install certbot python3-certbot-nginx
sudo certbot --nginx -d example.com -d www.example.com
自動續期
sudo certbot renew --dry-run
sudo systemctl status certbot.timer
通配符證書
sudo certbot certonly --manual --preferred-challenges dns -d "*.example.com"