From 4f62f8adb8efb389ac85a261df44ef4181795d76 Mon Sep 17 00:00:00 2001 From: stilez Date: Thu, 7 Nov 2019 09:04:43 +0000 Subject: [PATCH] Add Plesk XML API --- dnsapi.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/dnsapi.md b/dnsapi.md index d05eae4..47ebca9 100644 --- a/dnsapi.md +++ b/dnsapi.md @@ -1852,6 +1852,32 @@ The `VARIOMEDIA_API_TOKEN` will be saved in `~/.acme.sh/account.conf` and will b If you find any bugs, please report here: https://github.com/Neilpang/acme.sh/issues/2564 +## 92. Use Plesk XML API to automatically issue cert + +Before using the module, you must set your Plesk user name and password, and the address of your Plesk XML API (sometimes called a URI, URL or web link). The URI usually looks similar to this: + +``` +https://address-of-my-plesk-server.net:8443/enterprise/control/agent.php +``` + +All commands are CASE SENSITIVE: + +``` +export pleskxml_uri="address of my Plesk server's API" +export pleskxml_user="my plesk username" +export pleskxml_pass="my plesk password" +``` + +Ok, let's issue a cert now: +``` +acme.sh --issue --dns dns_pleskxml -d example.com -d www.example.com +``` + +The `pleskxml_uri`, `pleskxml_user` and `pleskxml_pass` will be saved in `~/.acme.sh/account.conf` and reused when needed. + +If you find any bugs, please report here: https://github.com/Neilpang/acme.sh/issues/2577 + + # Use custom API If your API is not supported yet, you can write your own DNS API.