idawnlight/qcloud-lets-encrypt

There is no license information available for the latest version (dev-master) of this package.

a tool to use Let's Encrypt on Tencent Cloud

dev-master 2022-11-09 14:58 UTC

This package is auto-updated.

Last update: 2024-05-09 18:07:07 UTC


README

腾讯云并不支持自动签发 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