[!IMPORTANT] Project Status: Archived This project has been merged into caddy-upload-cert as part of a unified multi-cloud certificate upload solution. Please head over to the new repository for the latest updates, features, and bug fixes.
uploadcert_tencentcloud is an event handler module for Caddy that automatically uploads newly obtained certificates to Tencent Cloud SSL service and supports automatic certificate updates. The module supports whitelist and blacklist rules for certificates, allowing flexible control over which certificates should be uploaded.
cert_obtained event.AllowList) and blacklist (BlockList) rules for certificate uploads.{
events {
on cert_obtained upload_cert_tencentcloud {
secret_id {$TENCENTCLOUD_SECRET_ID}
secret_key {$TENCENTCLOUD_SECRET_KEY}
allow_list example.com www.example.com
block_list test.example.com
try_delete_old_cert
}
}
}
secret_id and secret_key: Tencent Cloud API credentials.allow_list:Only upload certificates for the domains in this list (optional).block_list:Do not upload certificates for the domains in this list (optional).try_delete_old_cert:Try to delete the old certificate when the certificate is updated (optional).Contributions through issues and pull requests are welcome to improve this module.
MIT License