You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+75-67Lines changed: 75 additions & 67 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,8 @@
6
6
7
7
golang x-ca client, which can simple Sign Self Root/Second-Level CA, and sign for Domains and IPs.
8
8
9
-
shell implement at [x-ca/x-ca](https://github.com/x-ca/x-ca)
9
+
- shell implement at [x-ca/x-ca](https://github.com/x-ca/x-ca)
10
+
-[import Self Sign CA To System](https://www.xiexianbin.cn/http/ssl/2017-02-15-openssl-self-sign-ca/#导出导入自签名证书)`x-ca/ca/root-ca.crt` and `x-ca/ca/tls-ca.crt` to trust Your CA.
tls key password, only work for load github.com/x-ca/x-ca.
61
-
-version
62
-
show version info.
63
-
64
-
Source Code:
65
-
https://github.com/x-ca/go-ca
23
+
xca --help
24
+
xca create-ca --help
25
+
xca sign --help
66
26
```
67
27
68
-
## Usage Demo
69
-
70
-
- create ca
71
-
72
-
```
73
-
xca -create-ca true \
74
-
-root-cert x-ca/ca/root-ca.crt \
75
-
-root-key x-ca/ca/root-ca/private/root-ca.key \
76
-
-tls-cert x-ca/ca/tls-ca.crt \
77
-
-tls-key x-ca/ca/tls-ca/private/tls-ca.key
78
28
```
29
+
$ xca --help
30
+
XCA is a command-line tool for creating and managing Root/Second-Level Certificate Authorities (CAs)
31
+
and signing certificates for domains and IP addresses.
79
32
80
-
[install](https://www.xiexianbin.cn/http/ssl/2017-02-15-openssl-self-sign-ca/#导出导入自签名证书)`x-ca/ca/root-ca.crt` and `x-ca/ca/tls-ca.crt` to trust Your CA.
33
+
Available Commands:
34
+
create-ca Create root and TLS CA certificates
35
+
info Display information about Certificates
36
+
sign Sign a certificate for domains and/or IPs
37
+
version Show version information
81
38
82
-
- or use x-ca
39
+
Environment:
40
+
XCA_ROOT_PATH Which path to store Root/Second-Level/TLS cert, default is "$(pwd)/x-ca"
0 commit comments