proxmox challenge dns api plugin pleskxml

bonkersdeluxe

Renowned Member
Jan 20, 2014
28
3
68
Good day, what are syntax / paramters for the pleskxml api data.

Code:
pleskxml_uri="https://address-of-my-plesk-server.net:8443/enterprise/control/agent.php"
pleskxml_user="admin"
pleskxml_pass="my plesk password"

But ive got auth errror.
What make i wrong?


Code:
Loading ACME account details
Placing ACME order
Order URL: https://acme-v02.api.letsencrypt.org/acme/order/919354197/159145581287

Getting authorization details from 'https://acme-v02.api.letsencrypt.org/acme/authz-v3/195640968057'
The validation for pve01.meinedomain.com is pending!
[Tue Jan 17 11:16:32 CET 2023] Entering dns_pleskxml_add() to add TXT record 'rrJfKkrnO29_ogEG1QyMIVaHT0gurWLknoIEFMSZRWU' to domain '_acme-challenge.pve01.meinedomain.com'...
[Tue Jan 17 11:16:40 CET 2023] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 3
[Tue Jan 17 11:16:41 CET 2023] The return code for the POST request was 3 (non-zero = failure in submitting request to server).
[Tue Jan 17 11:16:41 CET 2023] No additional error messages were received back from the Plesk server
[Tue Jan 17 11:16:41 CET 2023] The Plesk XML API call failed.
[Tue Jan 17 11:16:41 CET 2023] Failed to access Plesk XML API.
[Tue Jan 17 11:16:41 CET 2023] Please check your login credentials and Plesk URI, and that the URI is reachable, and try again.
[Tue Jan 17 11:16:41 CET 2023] Error add txt for domain:_acme-challenge.pve01.hacker-net.de
TASK ERROR: command 'setpriv --reuid nobody --regid nogroup --clear-groups --reset-env -- /bin/bash /usr/share/proxmox-acme/proxmox-acme setup pleskxml pve01.meinedomain.com' failed: exit code 1

Plesk Obsidian
Version 18.0.48, last updated on Nov 30, 2022 11:19 AM

Thank you!
Best regards Bonkersdeluxe
 
Last edited:
I have excaltly same error. I get the code malformed url.
Did you managed to fix the issue ?
 
hi,

i can across this thread, and a few others, i was getting the same error, but in a few other posts related to ACME DNS
they mentioned removing all the quotes,
i did this and then i plugin work, and the certificate was issued using DNS pleskxml

API Data
pleskxml_uri=https://www.abc.xtz:8443/enterprise/control/agent.php
pleskxml_user=auth_plesk_user
pleskxml_pass=auth_plesk_user_pass