变更详情摘要:

- 功能增强 :
  - AliSslProvider.cs :实现了从阿里云获取证书列表及删除过期证书的逻辑。
  - TencentSslProvider.cs :增加了腾讯云过期证书的清理功能。
  - ISslDownloadProvider.cs :扩展了接口协议,并丰富了 SslCertificate 模型属性。
- 任务调度 :
  - Program.cs :集成了 SslDownloadJob 到 Quartz 框架中,支持自动化运行。
- 文档与规范 :
  - 对项目关键入口和 Provider 进行了全面的代码注释补全。
This commit is contained in:
ShaoHua
2026-04-08 19:28:02 +08:00
parent 054ca35e71
commit 10f156e9e2
28 changed files with 715 additions and 121 deletions
@@ -0,0 +1,66 @@
{
"ConnectionStrings": {
"pgConnection": "Host=127.0.0.1;Port=5432;Database=Worker;Username=Worker;Password=123456;"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"App": {
"GetIpv4Url": "http://47.108.74.59:8001/api/NetWork/GetIp",
"AppJob": {
"Corn": "0/5 * * * * ?" //https://cron.qqe2.com/
}
},
"DDNS": {
"Platform": 2, //1 Ali 2 Tencent 3 Namesilo
// 主域名
"Domain": "we965.cn",
// 子域名前缀
"SubDomainArray": [ "mp", "git", "webutil", "dev", "sftp" ],
// 记录类型
"type": "A",
//间隔时间 秒
"time": "30"
},
"SslDownload": {
"Enabled": true,
"Corn": "0/5 * * * * ?", //https://cron.qqe2.com/
"Platform": 2,
"SavePath": "D:\\Paths\\ssl",
"ExpireDays": 5,
"DownloadItems": [
{
"Domain": "git.we965.cn",
"FileName": "git.we965.cn.pem"
},
{
"Domain": "webutil.we965.cn",
"FileName": "webutil.we965.cn.pem"
},
{
"Domain": "dev.we965.cn",
"FileName": "dev.we965.cn.pem"
}
]
},
"TencentCloud": {
"SecretId": "AKIDy35008NYm6T1v3R3gGtU1UIHOe0NizON",
"SecretKey": "1sXQmASfmmlwAXuDh8fVYUOLI7mJagbQ",
"Region": "ap-guangzhou",
"Dnspod": {
"Endpoint": "dnspod.tencentcloudapi.com"
}
},
"AliCloud": {
"AccessKeyId": "1111",
"AccessKeySecret": "1111",
"RegionId": "cn-hangzhou",
"Endpoint": "1111"
},
"Namesilo": {
"ApiKey": "1111"
}
}