update instructions for 5a

This commit is contained in:
Dan 2018-02-28 15:33:39 -06:00 committed by GitHub
parent cc97c84013
commit cf67eb8301
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,21 +94,13 @@ The `PDNS_Url`, `PDNS_ServerId`, `PDNS_Token` and `PDNS_Ttl` will be saved in `~
## 5a. Use PowerDNS mysql backend to automatically issue cert ## 5a. Use PowerDNS mysql backend to automatically issue cert
First you need to login to your PowerDNS account to enable the API and set your API-Token in the configuration. First you need to set your user:pass:database in the configuration.
https://doc.powerdns.com/md/httpapi/README/
```
export PDNS_Url="http://ns.example.com:8081"
export PDNS_ServerId="localhost"
export PDNS_Token="0123456789ABCDEF"
export PDNS_Ttl=60
```
Ok, let's issue a cert now: Ok, let's issue a cert now:
``` ```
acme.sh --issue --dns dns_pdns-mysql -d example.com -d www.example.com acme.sh --issue --dns dns_pdns-mysql -d example.com -d www.example.com
## 6. Use OVH/kimsufi/soyoustart/runabove API to automatically issue cert ## 6. Use OVH/kimsufi/soyoustart/runabove API to automatically issue cert
https://github.com/Neilpang/acme.sh/wiki/How-to-use-OVH-domain-api https://github.com/Neilpang/acme.sh/wiki/How-to-use-OVH-domain-api