Skip to content

idawnlight/qcloud-lets-encrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

在腾讯云上使用 Let's Encrypt 证书

腾讯云并不支持自动签发 Let's Encrypt 证书,而手动上传证书并在 CDN 中启用会相当麻烦,这个脚本用于自动部署已签发 / 续期的证书到腾讯云证书管理并部署到腾讯云 CDN

用法

  1. composer install
  2. config.example.php 复制为 config.php,根据提示完成相关配置
  3. acme.sh 为例,在 ~/.acme.sh/[main domain]/[main domain].conf 中配置 Le_RenewHook 字段,以下为示例
php ~/qcloud-lets-encrypt/index.php\
 --cert $CERT_FULLCHAIN_PATH\
 --key $CERT_KEY_PATH

About

Auto renew certificates on Tencent Cloud

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages