From 4e1346dd1d7680c4ab8b987570502087d40b371b Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 7 Jan 2016 18:10:05 +0800 Subject: [PATCH] update params --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f7a704f7..300c40cd 100644 --- a/README.md +++ b/README.md @@ -37,9 +37,11 @@ root@xvm:~# le Usage: issue|renew|renewAll|createAccountKey|createDomainKey|createCSR|install|uninstall root@xvm:~# le issue -Usage: /bin/le webroot a.com [www.a.com,b.com,c.com] [key-length] [cert-file-path] [key-file-path] [reloadCmd] +Usage: le issue webroot|no a.com [www.a.com,b.com,c.com]|no [key-length]|no [cert-file-path]|no [key-file-path]|no [ca-cert-file-path]|no [reloadCmd]|no ``` + +You can set "no" to the param to use default falue. # Just issue a cert: ``` @@ -61,14 +63,14 @@ The issued cert will be renewed every 50 days automatically. # Issue a cert, and install to apache/nginx ``` -le issue /home/wwwroot/aa.com aa.com www.aa.com,cp.aa.com 2048 /path/to/certfile/in/apache/nginx /path/to/keyfile/in/apache/nginx "service apache2/nginx reload" +le issue /home/wwwroot/aa.com aa.com www.aa.com,cp.aa.com 2048 /path/to/certfile/in/apache/nginx /path/to/keyfile/in/apache/nginx "/path/to/ca/certfil/apahce/nginx" "service apache2/nginx reload" ``` Which issues the cert and then links it to the production apache or nginx path. The cert will be renewed every 50 days by default (which is configurable), Once the cert is renewed, the apache/nginx will be automatically reloaded by the command: ` service apache2 reload` or `service nginx reload` # Use Standalone server: -Same usage as above, just give `no` as the webroot. +Same usage as all above, just give `no` as the webroot. The tcp `80` port must be free to listen, otherwise you will be prompted to free the `80` port and try again. ```