Added documentation on using dns api internet.bs

This commit is contained in:
Ne-Lexa 2018-10-15 18:20:26 +03:00
parent fdb9d93b12
commit a63dc75b43

View File

@ -1014,6 +1014,22 @@ Now you can issue a certificate.
acme.sh --issue --dns dns_namecheap -d example.com -d *.example.com acme.sh --issue --dns dns_namecheap -d example.com -d *.example.com
``` ```
## 54. Use Internet.bs
First you need to create/obtain API credentials on your Internet.bs (https://internetbs.net) account. Go to the "Get my API Key" section in the "My Domains" section.
```
export INTERNETBS_API_KEY="..."
export INTERNETBS_API_PASSWORD="..."
```
Ok, let's issue a cert now:
```
acme.sh --issue --dns dns_internetbs -d example.com -d www.example.com
```
The `INTERNETBS_API_KEY` and `INTERNETBS_API_PASSWORD` will be saved in `~/.acme.sh/account.conf` and will be reused when needed.
# Use custom API # Use custom API
If your API is not supported yet, you can write your own DNS API. If your API is not supported yet, you can write your own DNS API.