[SOLVED] Issue while adding acme account with custom acme directory

nico400

Member
Aug 10, 2020
7
3
23
26
Hey,

I want to add an ACME account with a custom directory (-> self hosted step-ca)
Because you cannot add an acme account with a non-letsencrypt directory via the GUI, I used the command line

on proxmox-back-server, I will get the following error:

Code:
root@pbs:~# proxmox-backup-manager acme account register default info@example.com --directory https://step-ca.host:9090/acme/acme/directory
Attempting to fetch Terms of Service from "https://step-ca.host:9090/acme/acme/directory"
Error: missing field `meta` at line 1 column 306
root@pbs:~#

So the error is, that proxmox-backup-server fails, if no Terms-Of-Service (=TOS) data is provided by the directory, because step-ca does not seem to have this feature with TOS.

But on proxmox VE 6 it is working (if TOS verification fails, but the account will be added anyway, which is what I also need on proxmox-backup-server):

Code:
root@hostname:~# pvenode acme account register default info@example.com --directory https://step-ca.host:9090/acme/acme/directory

Attempting to fetch Terms of Service from 'https://step-ca.host:9090/acme/acme/directory'..
No Terms of Service found, proceeding.

Attempting to register account with 'https://step-ca.host:9090/acme/acme/directory'..
Generating ACME account key..
Registering ACME account..
Registration successful, account URL: 'https://step-ca.host:9090/acme/acme/account/2uV*****ePN3sSt'
Task OK
root@hostname:~#

Question: How can I add an acme account on proxmox-backup-server with no TOS, so I will not get any errors?
Or is there an undocumented flag which skips the TOS check?
(because I did not find anything to skip this TOS check)




Information:
Proxmox-Backup-Server package versions:
Code:
proxmox-backup: 2.0-1 (running kernel: 5.11.22-5-pve)
proxmox-backup-server: 2.0.12-1 (running version: 2.0.12)
pve-kernel-helper: 7.1-2
pve-kernel-5.11: 7.0-8
pve-kernel-5.4: 6.4-4
pve-kernel-5.11.22-5-pve: 5.11.22-10
pve-kernel-5.11.22-4-pve: 5.11.22-9
pve-kernel-5.4.124-1-pve: 5.4.124-1
pve-kernel-5.4.65-1-pve: 5.4.65-1
ifupdown2: 3.1.0-1+pmx3
libjs-extjs: 7.0.0-1
proxmox-backup-docs: 2.0.12-1
proxmox-backup-client: 2.0.11-1
proxmox-mini-journalreader: 1.2-1
proxmox-widget-toolkit: 3.3-6
pve-xtermjs: 4.12.0-1
smartmontools: 7.2-pve2
zfsutils-linux: 2.0.5-pve1
 
Hi,
thanks for the answer, but I have a question:

is the fix from the git commands already available, so is a new version available? I have updated my packages, but it is still not working

But I noticed, the error message is different from the last time:

Code:
root@pbs:~# proxmox-backup-manager acme account register default info@example.com --directory https://step-ca.host:9090/acme/acme/directory
Attempting to fetch Terms of Service from "https://step-ca.host:9090/acme/acme/directory"
Error: missing field `meta` at line 1 column 261
root@pbs:~#

The difference is the location of the error
if went from line 1 column 306 to line 1 column 261

So I wonder if the fix did not fix the error or the fix is not available as an update yet, I which case I would like to know approximately when there will be an update?



Package Versions:
Code:
proxmox-backup: 2.0-1 (running kernel: 5.11.22-7-pve)
proxmox-backup-server: 2.0.13-1 (running version: 2.0.13)
pve-kernel-helper: 7.1-4
pve-kernel-5.11: 7.0-10
pve-kernel-5.4: 6.4-4
pve-kernel-5.11.22-7-pve: 5.11.22-12
pve-kernel-5.11.22-5-pve: 5.11.22-10
pve-kernel-5.11.22-4-pve: 5.11.22-9
pve-kernel-5.4.124-1-pve: 5.4.124-1
pve-kernel-5.4.65-1-pve: 5.4.65-1
ifupdown2: 3.1.0-1+pmx3
libjs-extjs: 7.0.0-1
proxmox-backup-docs: 2.0.13-1
proxmox-backup-client: 2.0.13-1
proxmox-mini-journalreader: 1.2-1
proxmox-widget-toolkit: 3.3-6
pve-xtermjs: 4.12.0-1
smartmontools: 7.2-pve2
zfsutils-linux: 2.1.1-pve3

FIXED NOW with versions:

Code:
proxmox-backup: 2.0-1 (running kernel: 5.11.22-7-pve)
proxmox-backup-server: 2.0.14-1 (running version: 2.0.14)
pve-kernel-helper: 7.1-4
pve-kernel-5.11: 7.0-10
pve-kernel-5.4: 6.4-4
pve-kernel-5.11.22-7-pve: 5.11.22-12
pve-kernel-5.11.22-5-pve: 5.11.22-10
pve-kernel-5.11.22-4-pve: 5.11.22-9
pve-kernel-5.4.124-1-pve: 5.4.124-1
pve-kernel-5.4.65-1-pve: 5.4.65-1
ifupdown2: 3.1.0-1+pmx3
libjs-extjs: 7.0.0-1
proxmox-backup-docs: 2.0.14-1
proxmox-backup-client: 2.0.14-1
proxmox-mini-journalreader: 1.2-1
proxmox-widget-toolkit: 3.4-1
pve-xtermjs: 4.12.0-1
smartmontools: 7.2-pve2
zfsutils-linux: 2.1.1-pve3
 
Last edited:
  • Like
Reactions: Machine Manager