tp续签证书

本文共有488个字,关键词:

不要用工具的自动续签, 我试过无数次了,从来不会自动更新.
自己在服务器上安装acme,然后配置好自动更新证书,将证书装到服务器的/tpdata/cert, 然后用cron自动执行下面的命令,可以做到自动更新:

/root/.acme.sh/acme.sh --renew -d your.domain --force
/root/.acme.sh/acme.sh --install-cert -d your.domain --key-file /tpdata/cert/your.domain.key --fullchain-file /tpdata/cert/your.domain.crt
chmod 644 /tpdata/cert/*
docker restart trojan-panel-caddy trojan-panel-ui trojan-panel-core trojan-panel trojan-panel-redis trojan-panel-mariadb
service nginx reload

「一键投喂 软糖/蛋糕/布丁/牛奶/冰阔乐!」

yunke88

(๑>ڡ<)☆谢谢老板~

使用微信扫描二维码完成支付

版权声明:本文为作者原创,如需转载须联系作者本人同意,未经作者本人同意不得擅自转载。
 DD新系统 没有了 
添加新评论
暂无评论