Merge branch 'dev' into feature/hosting.de-plugin

This commit is contained in:
Oliver Dick
2018-09-12 10:04:45 +02:00
committed by GitHub
4 changed files with 340 additions and 4 deletions

View File

@ -993,7 +993,28 @@ and in rare cases I have seen over 5 minutes before google DNS catches it. There
acme.sh --issue --dns dns_gdnsdk --dnssleep 300 -d example.com -d *.example.com
```
## 53. Use hosting.de API
## 53. Use Namecheap
You will need your namecheap username, API KEY (https://www.namecheap.com/support/api/intro.aspx) and your external IP address (or an URL to get it), this IP will need to be whitelisted at Namecheap.
Due to Namecheap's API limitation all the records of your domain will be read and re applied, make sure to have a backup of your records you could apply if any issue would arise.
```sh
export NAMECHEAP_USERNAME="..."
export NAMECHEAP_API_KEY="..."
export NAMECHEAP_SOURCEIP="..."
```
NAMECHEAP_SOURCEIP can either be an IP address or an URL to provide it (e.g. https://ifconfig.co/ip).
The username and password will be saved in `~/.acme.sh/account.conf` and will be reused when needed.
Now you can issue a certificate.
```sh
acme.sh --issue --dns dns_namecheap -d example.com -d *.example.com
```
## 54. Use hosting.de API
Create an API key in your hosting.de account here: https://secure.hosting.de