All-in-one BYOC (Bring Your Own Certificates) solution for CDN services, help you to deploy SSL (HTTPS) certificates automatically to CDN services.
- Aliyun (CDN)
- Upyun (CDN)
- Tencent Cloud (CDN)
- UDomain (CDN)
- Volc Engine (CDN and DCDN)
Deploys to all CDN domains which matched by given certificate.
Updates all certificates in specified KeyVault, if and only if all domains in existing certificate are covered by given certificate.
CERT_PATH
- Certificate file path, should contain certificate and all intermediate certificates.LEGO_CERT_PATH
is also supported.CERT_KEY_PATH
- Certificate key file path, should contain private key for certificate.LEGO_CERT_KEY_PATH
is also supported.CERT_DEPLOYER
- Deployer vendor. Default:aliyun
CERT_DEPLOYER
-aliyun
ALIYUN_ACCESS_KEY_ID
- Access key ID for aliyun CDN. User should haveAliyunCDNFullAccess
permission.ALIYUN_ACCESS_KEY_SECRET
- Access key secret for aliyun CDN.ALIYUN_CERT_UPDATE_ONLY
- Iftrue
, only certs for CDN domains with SSL enabled will be updated. Default:false
ALIYUN_CERT_RESOURCE_GROUP
- If given, only certs for domains under this resource group will be updated. Default:(empty)
CERT_DEPLOYER
-upyun
UPYUN_USERNAME
- Upyun login usernameUPYUN_PASSWORD
- Upyun login password. 2FA is not supported now.
CERT_DEPLOYER
-tencentcloud
TENCENTCLOUD_SECRET_ID
- Secret ID for tencent cloud.TENCENTCLOUD_SECRET_KEY
- Secret Key for tencent cloud.TENCENTCLOUD_CERT_UPDATE_ONLY
- Iftrue
, only certs for CDN domains with SSL enabled will be updated. Default:false
CERT_DEPLOYER
-udomain
UDOMAIN_API_KEY
- API Key created from udomain CDN dashboard
Required ACL policy
{
"Statement": [{
"Effect": "Allow",
"Action": [
"dcdn:ListCertBind",
"dcdn:CreateCertBind",
"CDN:AddCdnCertificate",
"CDN:DescribeCertConfig",
"CDN:BatchDeployCert"
],
"Resource": ["*"]
}]
}
CERT_DEPLOYER
-volc
VOLC_ACCESS_KEY_ID
- Access Key ID.VOLC_SECRET_ACCESS_KEY
- Secret Access Key.VOLC_DEPLOY_TARGETS
-cdn
,dcdn
,cdn,dcdn
(default)
CERT_DEPLOYER
-azure
AZURE_KEY_VAULT_URI
- Azure KeyVault Uri, likelyhttps://SOMETHING.vault.azure.net/
- Follow Azure authentication with the Azure SDK for Go and Assign a Key Vault access policy to configure credentials