ACME.sh Certificate Renewal Cookbook for func.truewatch.com
Certificate Information
- Domain: func.truewatch.com, *.func.truewatch.com
- Expiry Date: May 11, 2025
- DNS Provider: Aliyun DNS
Prerequisites
- Aliyun API credentials are already configured in your .acme.sh/account.conf:
- API Key and Secret are already set up
Renewal Steps
Navigate to the acme.sh directory:
bashcd ~/.acme.shRenew the certificate:
bash./acme.sh --renew -d func.truewatch.com -d '*.func.truewatch.com' --force- The
--forceflag is optional but ensures renewal regardless of expiration time - The configuration will automatically use your Aliyun DNS (dns_ali) settings
- The
Verify the renewal was successful:
bash./acme.sh --info -d func.truewatch.comOr check the certificate expiry date:
bashopenssl x509 -in ~/.acme.sh/func.truewatch.com_ecc/func.truewatch.com.cer -noout -datesDeploy the renewed certificate:
- the cert is loaded in the configmap for automata service
- go to
configmap/guance-automata-cfg -n guance-automata, replace the cert of the keyserver.crt - ping the automata developer, who's responsible for pushing this new cert to all the automata func instances
Troubleshooting
- If the renewal fails, check the log file at:
/Users/zilizhang/.acme.sh/acme.sh.log - Ensure your Aliyun API credentials are still valid
- If the error is Aliyun
SignatureNonceUsed, check the issurance cookbook to see how to avoid it