le installcert aa.com /path/to/certfile/in/apache/nginx /path/to/keyfile/in/apache/nginx /path/to/ca/certfile/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`
Install the issued cert/key to the production apache or nginx path.
The cert will be renewed every 80 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:
# Use Standalone server to issue cert( requires you be root/sudoer, or you have permission to listen tcp 80 port):
Same usage as all 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.
The tcp `80` port must be free to listen, otherwise you will be prompted to free the `80` port and try again.
@ -90,14 +120,14 @@ The tcp `80` port must be free to listen, otherwise you will be prompted to free
le issue no aa.com www.aa.com,cp.aa.com
le issue no aa.com www.aa.com,cp.aa.com
```
```
# Use Apache mode:
# Use Apache mode(requires you be root/sudoer, since it is required to interact with apache server):
If you are running a web server, apache or nginx, it is recommended to use the Webroot mode.
If you are running a web server, apache or nginx, it is recommended to use the Webroot mode.
Particularly, if you are running an apache server, you can use apache mode instead. Which doesn't write any file to your web root folder.
Particularly, if you are running an apache server, you can use apache mode instead. Which doesn't write any file to your web root folder.
Just set string "apache" to the first argument, it will use apache plugin automatically.
Just set string "apache" to the first argument, it will use apache plugin automatically.
```
```
le issue apache aa.com www.aa.com
le issue apache aa.com www.aa.com,user.aa.com
```
```
All the other arguments are the same with previous.
All the other arguments are the same with previous.
@ -106,7 +136,7 @@ All the other arguments are the same with previous.
Support the latest dns-01 challenge.
Support the latest dns-01 challenge.
```
```
le issue dns aa.com www.aa.com
le issue dns aa.com www.aa.com,user.aa.com
```
```
Use domain api to automatically add dns record is not finished yet.
Use domain api to automatically add dns record is not finished yet.