update readme
This commit is contained in:
26
README.md
26
README.md
@@ -5,7 +5,7 @@ ACME Client in Rust
|
|||||||
Acme client help:
|
Acme client help:
|
||||||
```shell
|
```shell
|
||||||
$ acme-client --help
|
$ acme-client --help
|
||||||
acme-client 1.0.1
|
acme-client 1.1.0
|
||||||
Hatter Jiang <jht5945@gmail.com>
|
Hatter Jiang <jht5945@gmail.com>
|
||||||
Acme auto challenge client, acme-client can issue certificates from Let's encrypt
|
Acme auto challenge client, acme-client can issue certificates from Let's encrypt
|
||||||
|
|
||||||
@@ -13,13 +13,14 @@ USAGE:
|
|||||||
acme-client [FLAGS] [OPTIONS]
|
acme-client [FLAGS] [OPTIONS]
|
||||||
|
|
||||||
FLAGS:
|
FLAGS:
|
||||||
--check Check cert config
|
--allow-interact Allow interact
|
||||||
-h, --help Prints help information
|
--check Check cert config
|
||||||
--hide-logo Hide logo
|
-h, --help Prints help information
|
||||||
-K, --skip-verify-certificate Skip verify certificate
|
--hide-logo Hide logo
|
||||||
-k, --skip-verify-ip Skip verify public ip
|
-K, --skip-verify-certificate Skip verify certificate
|
||||||
-v, --verbose Verbose
|
-k, --skip-verify-ip Skip verify public ip
|
||||||
-V, --version Print version
|
-v, --verbose Verbose
|
||||||
|
-V, --version Print version
|
||||||
|
|
||||||
OPTIONS:
|
OPTIONS:
|
||||||
-a, --algo <algo> Pki algo [default: ec384]
|
-a, --algo <algo> Pki algo [default: ec384]
|
||||||
@@ -29,6 +30,7 @@ OPTIONS:
|
|||||||
-d, --domain <domain>... Domains
|
-d, --domain <domain>... Domains
|
||||||
--email <email> Contract email
|
--email <email> Contract email
|
||||||
-m, --mode <mode> Mode [default: prod]
|
-m, --mode <mode> Mode [default: prod]
|
||||||
|
-o, --outputs <outputs> Outputs file
|
||||||
-p, --port <port> Http port [default: 80]
|
-p, --port <port> Http port [default: 80]
|
||||||
--timeout <timeout> Timeout (ms) [default: 5000]
|
--timeout <timeout> Timeout (ms) [default: 5000]
|
||||||
-t, --type <type> Type http or dns [default: http]
|
-t, --type <type> Type http or dns [default: http]
|
||||||
@@ -42,11 +44,19 @@ OPTIONS:
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"port": 18342,
|
"port": 18342,
|
||||||
|
"credentialSuppliers": {
|
||||||
|
"alibabacloud": "account://***:****@alibabacloud?id=dns"
|
||||||
|
},
|
||||||
"triggerAfterUpdate": ["/usr/local/nginx/nginx", "-s", "reload"],
|
"triggerAfterUpdate": ["/usr/local/nginx/nginx", "-s", "reload"],
|
||||||
"notifyToken": "dingtalk:access_token?sec_token",
|
"notifyToken": "dingtalk:access_token?sec_token",
|
||||||
"certItems": [{
|
"certItems": [{
|
||||||
"path": "dir_cryptofan_org",
|
"path": "dir_cryptofan_org",
|
||||||
"dnsNames": ["cryptofan.org", "www.cryptofan.org"]
|
"dnsNames": ["cryptofan.org", "www.cryptofan.org"]
|
||||||
|
}, {
|
||||||
|
"path": "dir_webauthn_host",
|
||||||
|
"dnsNames": ["webauthn.host", "*.webauthn.host"],
|
||||||
|
"type": "dns",
|
||||||
|
"supplier": "alibabacloud"
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user