From 9a8930fc02e285e918e94d2d67f6d526f8c84b64 Mon Sep 17 00:00:00 2001 From: Roman Lumetsberger Date: Sun, 9 Sep 2018 21:20:59 +0200 Subject: [PATCH] added plesk info to readme --- dnsapi/README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/dnsapi/README.md b/dnsapi/README.md index 891417f3..87a37bf6 100644 --- a/dnsapi/README.md +++ b/dnsapi/README.md @@ -990,6 +990,25 @@ Now you can issue a certificate. acme.sh --issue --dns dns_gdnsdk -d example.com -d *.example.com ``` +## 53. Use plesk domain API to automatically issue cert + +The plesk plugin uses the xml api to add and remvoe the dns records. Therefore the url, username +and password have to be configured. + +``` +export PLESK_Host="host.com" +export PLESK_User="plesk username" +export PLESK_Password="plesk password" +``` + +Ok, let's issue a cert now: +``` +acme.sh --issue --dns dns_plesk -d example.com -d www.example.com +``` + +The `PLESK_Host`, `PLESK_User` and `PLESK_Password` will be saved in `~/.acme.sh/account.conf` and will be reused when needed. + + # Use custom API If your API is not supported yet, you can write your own DNS API.