如果某种情况下需要强制更新证书:
https://www.cyberciti.biz/faq/how-to-forcefully-renew-lets-encrypt-certificate
cf里获取api token的界面:
验证获取到的token是否可用:
root@moneyslow.com:~# curl -X GET "https://api.cloudflare.com/client/v4/user/tokens/verify" \
-H "Authorization: Bearer xxxjH8VRcIndEPE0TtBfUnM" \
-H "Content-Type:application/json"
{"result":{"id":"xxxx7963f476753c1","status":"active"},"success":true,"errors":[],"messages":[{"code":10000,"message":"This API Token is valid and active","type":null}]}
看到成功就没问题。
其他的按照文档来就可以。
如果是dnspod的域名,参考这个文章:
如果是godaddy的,参考这个文章: