@certd/plugin-lib 1.39.9 → 1.39.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/cert/cert-reader.d.ts +3 -0
- package/dist/cert/cert-reader.js +7 -1
- package/dist/common/util.d.ts +4 -0
- package/dist/common/util.js +1 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.39.11](https://github.com/certd/certd/compare/v1.39.10...v1.39.11) (2026-04-26)
|
|
7
|
+
|
|
8
|
+
### Performance Improvements
|
|
9
|
+
|
|
10
|
+
* 支持部署到nginx-proxy-manager ([2e6e9ed](https://github.com/certd/certd/commit/2e6e9ed9255bcf178edb0eb00d93a7f13c214430))
|
|
11
|
+
|
|
12
|
+
## [1.39.10](https://github.com/certd/certd/compare/v1.39.9...v1.39.10) (2026-04-11)
|
|
13
|
+
|
|
14
|
+
### Performance Improvements
|
|
15
|
+
|
|
16
|
+
* 1panel支持先上传证书再选择证书 ([7a9eec8](https://github.com/certd/certd/commit/7a9eec88e8eddf40dba055c072b5b2b0f67c1407))
|
|
17
|
+
|
|
6
18
|
## [1.39.9](https://github.com/certd/certd/compare/v1.39.8...v1.39.9) (2026-04-05)
|
|
7
19
|
|
|
8
20
|
**Note:** Version bump only for package @certd/plugin-lib
|
package/dist/cert/cert-reader.js
CHANGED
|
@@ -84,7 +84,13 @@ export class CertReader {
|
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
86
|
static readCertDetail(crt) {
|
|
87
|
-
|
|
87
|
+
let detail;
|
|
88
|
+
try {
|
|
89
|
+
detail = crypto.readCertificateInfo(crt.toString());
|
|
90
|
+
}
|
|
91
|
+
catch (e) {
|
|
92
|
+
throw new Error("证书解析失败:" + e.message + "(请确定证书格式,是否与私钥搞反?)");
|
|
93
|
+
}
|
|
88
94
|
const effective = detail.notBefore;
|
|
89
95
|
const expires = detail.notAfter;
|
|
90
96
|
const fingerprints = CertReader.getFingerprintX509(crt);
|
package/dist/common/util.d.ts
CHANGED
package/dist/common/util.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@certd/plugin-lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.39.
|
|
4
|
+
"version": "1.39.11",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"@alicloud/pop-core": "^1.7.10",
|
|
23
23
|
"@alicloud/tea-util": "^1.4.11",
|
|
24
24
|
"@aws-sdk/client-s3": "^3.964.0",
|
|
25
|
-
"@certd/acme-client": "^1.39.
|
|
26
|
-
"@certd/basic": "^1.39.
|
|
27
|
-
"@certd/pipeline": "^1.39.
|
|
28
|
-
"@certd/plus-core": "^1.39.
|
|
25
|
+
"@certd/acme-client": "^1.39.11",
|
|
26
|
+
"@certd/basic": "^1.39.11",
|
|
27
|
+
"@certd/pipeline": "^1.39.11",
|
|
28
|
+
"@certd/plus-core": "^1.39.11",
|
|
29
29
|
"@kubernetes/client-node": "0.21.0",
|
|
30
30
|
"ali-oss": "^6.22.0",
|
|
31
31
|
"basic-ftp": "^5.0.5",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"tslib": "^2.8.1",
|
|
58
58
|
"typescript": "^5.4.2"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "ec466dc818eace59825d8ae2ebbc9fc75a94a6b0"
|
|
61
61
|
}
|