From c2c5de45affdc3fd0b38fe905a16b2e497990a82 Mon Sep 17 00:00:00 2001 From: neil Date: Fri, 1 Apr 2022 21:44:09 +0800 Subject: [PATCH] Updated Validity (markdown) --- Validity.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Validity.md b/Validity.md index ce23316..16cb99f 100644 --- a/Validity.md +++ b/Validity.md @@ -23,6 +23,23 @@ Please be careful about the date time format, it Must be exact format used abov +You can also use a relative date time format: + +``` +# This cert will only be valid for `10` days. + +acme.sh --issue -d example.com --dns dns_cf --valid-to "+10d" + + +# This cert will be valid for `30` hours. + +acme.sh --issue -d example.com --dns dns_cf --valid-to "+30h" + +``` + +Please be careful about the format, there are only `+*d` (for days) and `+*h` (for hours) supported for now. Any other format will result errors. + +