fix tls doc
This commit is contained in:
parent
d50b995cac
commit
4e7d3d0319
14
README.md
14
README.md
@ -170,6 +170,20 @@ acme.sh --issue --standalone -d aa.com -d www.aa.com -d cp.aa.com
|
||||
|
||||
More examples: https://github.com/Neilpang/acme.sh/wiki/How-to-issue-a-cert
|
||||
|
||||
# Use Standalone tls server to issue cert
|
||||
|
||||
**(requires you be root/sudoer, or you have permission to listen tcp 443 port)**
|
||||
|
||||
acme.sh supports `tls-sni-01` validation.
|
||||
|
||||
The tcp `443` port **MUST** be free to listen, otherwise you will be prompted to free the `443` port and try again.
|
||||
|
||||
```bash
|
||||
acme.sh --issue --tls -d aa.com -d www.aa.com -d cp.aa.com
|
||||
```
|
||||
|
||||
More examples: https://github.com/Neilpang/acme.sh/wiki/How-to-issue-a-cert
|
||||
|
||||
# Use Apache mode
|
||||
|
||||
**(requires you be root/sudoer, since it is required to interact with apache server)**
|
||||
|
||||
7
acme.sh
7
acme.sh
@ -1176,6 +1176,12 @@ _clearup() {
|
||||
_stopserver $serverproc
|
||||
serverproc=""
|
||||
_restoreApache
|
||||
if [ -z "$DEBUG" ] ; then
|
||||
rm -f "$TLS_CONF"
|
||||
rm -f "$TLS_CERT"
|
||||
rm -f "$TLS_KEY"
|
||||
rm -f "$TLS_CSR"
|
||||
fi
|
||||
}
|
||||
|
||||
# webroot removelevel tokenfile
|
||||
@ -2359,6 +2365,7 @@ Parameters:
|
||||
|
||||
--webroot, -w /path/to/webroot Specifies the web root folder for web root mode.
|
||||
--standalone Use standalone mode.
|
||||
--tls Use standalone tls mode.
|
||||
--apache Use apache mode.
|
||||
--dns [dns_cf|dns_dp|dns_cx|/path/to/api/file] Use dns mode or dns api.
|
||||
--dnssleep [60] The time in seconds to wait for all the txt records to take effect in dns api mode. Default 60 seconds.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user