Updated Validity (markdown)
parent
b16d9bc9ca
commit
ec230e0a8b
21
Validity.md
21
Validity.md
|
@ -60,18 +60,18 @@ acme.sh --issue -d example.com --dns dns_cf --valid-from "2022-04-01T08:10:
|
|||
|
||||
```
|
||||
|
||||
The cert time will be valid start from `"2022-04-01T08:10:33Z"`.
|
||||
The cert time will be valid starting from `"2022-04-01T08:10:33Z"`.
|
||||
|
||||
You can also use the relative time format:
|
||||
|
||||
```
|
||||
|
||||
#The cert will be valid after 2 hours:
|
||||
#The cert will be valid in 2 hours:
|
||||
|
||||
acme.sh --issue -d example.com --dns dns_cf --valid-from "+2h"
|
||||
|
||||
|
||||
#The cert will be valid after 1 day:
|
||||
#The cert will be valid in 1 day:
|
||||
|
||||
acme.sh --issue -d example.com --dns dns_cf --valid-from "+1d"
|
||||
|
||||
|
@ -81,6 +81,21 @@ acme.sh --issue -d example.com --dns dns_cf --valid-from "+1d"
|
|||
|
||||
|
||||
|
||||
### 3. You can use them both at the same time:
|
||||
|
||||
```
|
||||
# The cert will be valid from `"2022-04-01T08:10:33Z"`, and then live for 40 days to expire:
|
||||
|
||||
acme.sh --issue -d example.com --dns dns_cf --valid-from "2022-04-01T08:10:33Z" --valid-to "+40d"
|
||||
|
||||
|
||||
# The cert will be valid in 2 hours, and then live for 50 days to expire:
|
||||
|
||||
acme.sh --issue -d example.com --dns dns_cf --valid-from "+2h" --valid-to "+50d"
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue