From a1c87fd7dbdc6d6ade720bccb23333c47aea94c0 Mon Sep 17 00:00:00 2001 From: neil Date: Sat, 27 Aug 2016 13:49:11 +0800 Subject: [PATCH] Created Issue a cert from existing CSR (markdown) --- Issue-a-cert-from-existing-CSR.md | 39 +++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Issue-a-cert-from-existing-CSR.md diff --git a/Issue-a-cert-from-existing-CSR.md b/Issue-a-cert-from-existing-CSR.md new file mode 100644 index 0000000..b01c918 --- /dev/null +++ b/Issue-a-cert-from-existing-CSR.md @@ -0,0 +1,39 @@ +From v2.4.4, acme.sh support to issue a cert from an existing csr. + +There are 2 commands related: + +1. Display the content of the csr: + +``` +acme.sh --showcsr --csr /path/to/mycsr.csr +``` + +It shows the subject and domain names in the csr. + +2. Issue a cert from the csr. + +``` +acme.sh --signcsr --csr /path/to/mycsr.csr -w /path/to/webroot/ +``` + +The first parameter is the csr file, all the other parameters are same as `--issue` command. + +For exmaple, you can specify the sepearate webroot folders for each domain in the csr. + +``` +acme.sh --signcsr --csr /path/to/mycsr/csr -w /wwwroot/aa.com -w /wwwroot/www.aa.com -w /wwwroot/bb.com +``` + +Another example, use dns mode: + +``` +acme.sh --signcsr --csr /path/to/mycsr/csr --dns dns_cf +``` + + +The parameters are same as `--issue` command. + +See : https://github.com/Neilpang/acme.sh/wiki/How-to-issue-a-cert + + +