[SOLVED] ACME Renewals with Zilore DNS Error

ilya_buryy

Member
Jul 11, 2021
23
4
8
37
Hi! PMG 8.0.7 (all updates). API key Zilore correct 100%.

I try order certificate, but error:

Loading ACME account details
Placing ACME order
Order URL: https://acme-staging-v02.api.letsencrypt.org/acme/order/******484/******52484

Getting authorization details from 'https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/*****88184'
The validation for pmg.*****.kz is pending!
/usr/share/proxmox-acme/proxmox-acme: line 792: export: `********-b5ab-****-83d7-00006b0b7ae0=': not a valid identifier
[Fri Dec 1 14:24:58 +06 2023] Using Zilore
[Fri Dec 1 14:24:58 +06 2023] Please define Zilore API key
[Fri Dec 1 14:24:58 +06 2023] Error add txt for domain:_acme-challenge.pmg.*****.kz
TASK ERROR: command 'setpriv --reuid nobody --regid nogroup --clear-groups --reset-env -- /bin/bash /usr/share/proxmox-acme/proxmox-acme setup zilore pmg.*****.kz' failed: exit code 1

Please help!
 
HI,
is the appended = as shown in the error output part of your key?
 
Chris, PVE?

data = api key Zilore?

View attachment 59099
Ah yes, sorry the path should of course be for pmg in your case, I was quickly testing on PVE as the code is shared in between products here.
The value stored as data should be the base64url encoded representation of your api key. Most importantly, the value given to data should not end with any =. Is that the case?
 
Ah yes, sorry the path should of course be for pmg in your case, I was quickly testing on PVE as the code is shared in between products here.
The value stored as data should be the base64url encoded representation of your api key. Most importantly, the value given to data should not end with any =. Is that the case?
That's right. I double-checked the value with Base64URL Decode. Values are consistent with and without =
 
I've been certified before. The reissue didn't work for me. I'm trying to get it again and there's an error.
So this is a new issue then? The missing KEY=VALUE solved the problem?

What error do you get?
 
For the test. If I delete a value from the API Data field, I see an error:


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


Getting authorization details from 'https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/********'
The validation for pmg.*****.kz is pending!
[Fri Dec  1 18:45:39 +06 2023] Using Zilore
[Fri Dec  1 18:45:39 +06 2023] Please define Zilore API key
[Fri Dec  1 18:45:39 +06 2023] Error add txt for domain:_acme-challenge.pmg.******.kz
TASK ERROR: command 'setpriv --reuid nobody --regid nogroup --clear-groups --reset-env -- /bin/bash /usr/share/proxmox-acme/proxmox-acme setup zilore pmg.*******.kz' failed: exit code 1
That's normal.

I'm returning a value API Data. Error. There's an extra = sign from somewhere
 
Last edited:
For the test. If I delete a value from the API Data field, I see an error:
You will have to provide some form of API authentication, otherwise it will of course not work.

I'm returning a value API Data. Error. There's an extra = sign from somewhere
I suspect that the extra = is given because your data is not correctly given in the form KEY=VALUE and the _load_plugin_config [0], which expects this splits on = and then exports it as such.

[0] https://git.proxmox.com/?p=proxmox-...725d6be4261f14a746cc7e94a1fbfc61;hb=HEAD#l784
 
A similar problem was evident in PVE 8.1.3. I thought there was a problem with the API and wrote to support Zilore.
RE:
It looks like you're using an external plugin, which we unfortunately don't support.
 
Does your API key work when using e.g. acme.sh [0]?
You did not reply to the question if you have filled the API data text-field in the expected KEY=VALUE manner, is that the case?

[0] https://github.com/acmesh-official/acme.sh
 
Hi, Chris!
It's working! Thanks for your help!
For Zilore:
API Data: Zilore_Key=************Снимок экрана 2023-12-13 191709.png
 
Last edited:
  • Like
Reactions: Chris
Glad it works, please mark this thread as solved, thx!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!