Claus F. Strasburger 2018-03-16 10:56:49 +01:00
parent 9771cebecd
commit f5d5fe4b5c
1 changed files with 9 additions and 3 deletions

@ -22,7 +22,7 @@ acme.sh --issue -d example.com --standalone --httpport 88
``` ```
#### 3) Dns api mode: #### 3) DNS API mode:
Yes, if your nameservice provider has an api, we can use the api to automatically add the txt record for you. your cert will be automatically issued and renewed. Yes, if your nameservice provider has an api, we can use the api to automatically add the txt record for you. your cert will be automatically issued and renewed.
@ -37,14 +37,20 @@ acme.sh --issue -d example.com --dns dns_cf
How to use dns api: https://github.com/Neilpang/acme.sh/tree/master/dnsapi How to use dns api: https://github.com/Neilpang/acme.sh/tree/master/dnsapi
#### 4) Dns manual mode: #### 4) DNS manual mode:
You can also issue a cert by adding a txt record to your domain. You can also issue a cert by adding a TXT record to your domain.
```sh ```sh
acme.sh --issue -d example.com --dns acme.sh --issue -d example.com --dns
``` ```
This will tell you to the DNS record to add. Once done, re-run with `--renew` to get the signed certificate:
```sh
acme.sh --renew -d example.com --dns
```
**Take care, this is dns manual mode, it can not be renewed automatically. you will have to add a new txt record to your domain by your hand when you renew your cert.** **Take care, this is dns manual mode, it can not be renewed automatically. you will have to add a new txt record to your domain by your hand when you renew your cert.**