certctl-cli 1.0.1 → 1.0.3
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/README.md +15 -8
- package/bin/certctl-darwin-amd64 +0 -0
- package/bin/certctl-darwin-arm64 +0 -0
- package/bin/certctl-linux-amd64 +0 -0
- package/bin/certctl-linux-arm64 +0 -0
- package/bin/certctl-windows-amd64.exe +0 -0
- package/package.json +11 -5
- package/scripts/install.js +0 -3
package/README.md
CHANGED
|
@@ -1,31 +1,38 @@
|
|
|
1
|
-
#
|
|
1
|
+
# certctl-cli
|
|
2
2
|
|
|
3
|
-
轻量级 SSL
|
|
3
|
+
轻量级 SSL 证书申请工具 / Lightweight SSL Certificate CLI Tool
|
|
4
|
+
|
|
5
|
+
支持通配符证书申请 & 阿里云 DNS 自动验证。
|
|
4
6
|
|
|
5
7
|
## 安装
|
|
6
8
|
|
|
7
9
|
```bash
|
|
8
|
-
npm install -g
|
|
9
|
-
# 或
|
|
10
|
-
npx @z_ai/certctl apply -d example.com
|
|
10
|
+
npm install -g certctl-cli
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## 使用
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
+
# 交互式菜单
|
|
17
|
+
certctl
|
|
18
|
+
|
|
16
19
|
# 手动 DNS 验证
|
|
17
|
-
certctl apply -d example.com
|
|
20
|
+
certctl apply -d example.com -e admin@example.com
|
|
18
21
|
|
|
19
22
|
# 阿里云 DNS 自动验证
|
|
20
|
-
certctl apply -d example.com --dns aliyun
|
|
23
|
+
certctl apply -d example.com --dns aliyun --ali-key YOUR_KEY --ali-secret YOUR_SECRET
|
|
21
24
|
|
|
22
25
|
# 查看证书
|
|
23
26
|
certctl list
|
|
24
27
|
|
|
25
28
|
# 续期证书
|
|
26
|
-
certctl renew
|
|
29
|
+
certctl renew
|
|
27
30
|
```
|
|
28
31
|
|
|
32
|
+
## 文档
|
|
33
|
+
|
|
34
|
+
完整文档: https://github.com/Heartbeatc/certctl
|
|
35
|
+
|
|
29
36
|
## License
|
|
30
37
|
|
|
31
38
|
MIT
|
package/bin/certctl-darwin-amd64
CHANGED
|
Binary file
|
package/bin/certctl-darwin-arm64
CHANGED
|
Binary file
|
package/bin/certctl-linux-amd64
CHANGED
|
Binary file
|
package/bin/certctl-linux-arm64
CHANGED
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "certctl-cli",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.0.3",
|
|
4
|
+
"description": "Lightweight SSL Certificate CLI Tool",
|
|
5
5
|
"bin": {
|
|
6
|
-
"certctl": "
|
|
6
|
+
"certctl": "bin/run.js"
|
|
7
7
|
},
|
|
8
|
+
"files": [
|
|
9
|
+
"bin/"
|
|
10
|
+
],
|
|
8
11
|
"keywords": [
|
|
9
12
|
"ssl",
|
|
10
13
|
"certificate",
|
|
@@ -17,7 +20,7 @@
|
|
|
17
20
|
"license": "MIT",
|
|
18
21
|
"repository": {
|
|
19
22
|
"type": "git",
|
|
20
|
-
"url": "https://github.com/
|
|
23
|
+
"url": "git+https://github.com/Heartbeatc/certctl.git"
|
|
21
24
|
},
|
|
22
25
|
"os": [
|
|
23
26
|
"darwin",
|
|
@@ -27,5 +30,8 @@
|
|
|
27
30
|
"cpu": [
|
|
28
31
|
"x64",
|
|
29
32
|
"arm64"
|
|
30
|
-
]
|
|
33
|
+
],
|
|
34
|
+
"engines": {
|
|
35
|
+
"node": ">=14"
|
|
36
|
+
}
|
|
31
37
|
}
|
package/scripts/install.js
DELETED