This commit is contained in:
Neil 2015-12-28 16:00:28 +08:00
parent d337abcab1
commit 617ec4e3f7

View File

@ -45,11 +45,11 @@ Usage: /bin/le webroot a.com [www.a.com,b.com,c.com] [key-length] [cert-file-pa
```
le issue /home/wwwroot/aa.com aa.com www.aa.com,cp.aa.com
```
First argument " /home/wwwroot/aa.com" is the web root folder
First argument `/home/wwwroot/aa.com` is the web root folder, You must have `write` access to this folder.
Second argument "aa.com" is the main domain you want to issue cert for.
Third argument is the additional domain list you want to use. Comma separated list, It's Optional.
Third argument is the additional domain list you want to use. Comma separated list, which is Optional.
You must point and bind all the domains to the same webroot dir:`/home/wwwroot/aa.com`
@ -63,8 +63,8 @@ The issued cert will be renewed every 50 days automatically.
```
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"
```
This can link the issued cert to the production apache or nginx path.
Once the cert is renewed, the apache/nginx will be automatically reloaded by the command: ` service apache2 reload` or `service 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`