Ubuntu certbot 創建 SSL 與 續簽 SSL

Ubuntu 用 certbot 創建或是續簽 SSL 簽證,提醒本站教學都是 wildcard 格式的簽證。
需求
請先按照certbot官網手冊安裝 certbot ,請點我查看官網
指令
下面的指令,目前猜測通用所有目前官網支援的作業系統,請注意! 此操作目前看來不能全自動續簽,需要快到期時在手動續簽
創建簽證
1 | certbot certonly --manual -m [email protected] -d yourdomain.com -d *.yourdomain.com |
續簽簽證
1 | sudo certbot certonly --manual --agree-tos \ |