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

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 12

Watchers: 1

Forks: 0

Open Issues: 0

Type:project

pkg:composer/idawnlight/qcloud-lets-encrypt

dev-master 2025-02-06 17:02 UTC

This package is auto-updated.

Last update: 2025-10-06 18:32:29 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