Set ACME account via CLI

Jul 27, 2022
3
0
6
In the UI, you can set the account to use for certificates at (Server View) {server} -> System -> Certificates -> ACME -> Using account. This adds a line in /etc/pve/nodes/{hostame}/config, "acme: account={account_name}"

How do I properly do this via the CLI?

Following the documentation here: https://pve.proxmox.com/wiki/Certificate_Management

I get this error when I order the cert:

Code:
# pvenode acme cert order
ACME account config file 'default' does not exist.
 
for me worked this

Bash:
# register account
pvenode acme account register prod someone@example.com

# set account as default
pvenode config set --acme account=prod