From 030fb8521319c209a9fbf9efaf325217379a1519 Mon Sep 17 00:00:00 2001 From: Tommaso De Marchi Date: Tue, 23 Jun 2020 09:27:49 +0200 Subject: [PATCH] Add Shellrent API --- dnsapi.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/dnsapi.md b/dnsapi.md index bdfa6c7..f7cc44e 100644 --- a/dnsapi.md +++ b/dnsapi.md @@ -2293,6 +2293,31 @@ acme.sh --issue --dns dns_wedos -d xxx.xx -d www.xxx.xx WEDOS_User and WEDOS_Hash will be stored in `~/.acme.sh/account.conf` and will be reused when needed. +## 113. Use Shellrent API + +Shellrent API offers one method to automatically issue certs. + +First you need to login to your Shellrent account to get your API key. +In order to use the token, you need to authorize your IP to have access to it. +More Info on https://api.shellrent.com and https://guide.shellrent.com +``` +export SH_Username="usrXXXX" +export SH_Token="sdfsdfsdfljlbjkljlkjsdfoiwje" +``` + +Alternatively, if the certificate only covers a single zone, you can speed up the process by specify the SH_Domain_ID directly: + +``` +export SH_Username="usrXXXX" +export SH_Token="sdfsdfsdfljlbjkljlkjsdfoiwje" +export SH_Domain_ID="xxxxxxxxxxxxx" +``` +Let's issue a cert now: + +``` +acme.sh --issue --dns dns_shellrent -d example.com -d www.example.com +``` +The SH_Username and SH_Token and SH_Domain_ID will be saved in ~/.acme.sh/account.conf and will be reused when needed. # Use custom API