Capchdo / certificate

利用 certbot 和百度智能云申请、上传证书。
MIT License
1 stars 0 forks source link

`deploy.sh`应给Traefik更新证书 #1

Open YDX-2147483647 opened 3 months ago

YDX-2147483647 commented 3 months ago

Traefik似乎需要合法的证书才能启动,尽管它其实用不到。

YDX-2147483647 commented 1 month ago
cd /path/to/traefik/certificates/
gio trash haobit-old
mv haobit haobit-old
mkdir haobit
sudo cp /etc/letsencrypt/live/haobit.top/{fullchain,privkey}.pem ./haobit
sudo chmod a+r ./haobit/privkey.pem
cd -
echo "🚀 Deploy the certificate to Traefik."