sy-records / cert-manager
Cert Manager
Fund package maintenance!
donate.qq52o.me
sy-records
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- tencentcloud/ssl: ^3.0
This package is auto-updated.
Last update: 2025-03-04 02:42:28 UTC
README
将本地通过acme.sh
生成的证书上传到对应云服务的证书服务中,以便于在云服务中使用证书。
安装
composer create-project sy-records/cert-manager
配置
从config.example.php
复制一份到config.php
,并根据实际情况修改配置。
环境变量
将对应的云服务的配置写入到系统环境变量中,以便于在脚本中使用。
环境变量 | 说明 |
---|---|
TX_SECRET_ID | 腾讯云的 SecretId |
TX_SECRET_KEY | 腾讯云的 SecretKey |
使用
chmod +x tx-cert-manger # 更新所有配置文件中的证书 ./tx-cert-manger # 更新指定域名的证书 ./tx-cert-manger example.com