Ordering LE certificate on command line

Jul 26, 2021
58
14
13
55
Hi folks,

we are using bash scripts for the basic setup of our PBS servers. I would like to order an LE certificate during the setup, so I searched for the CLI commands. I've figured out that I have to use the "proxmox-backup-manager acme" command. First I have to create an ACME account and accept the TOS with this command:

echo 'Y' | output=$(proxmox-backup-manager acme account register [account name} [email address] --directory [dir name final or stage2])

That works fine, but I'm not be able to order the certificate.

On PVE by example we are using this script:

pvenode config set --acme domains=[server hostname]
pvenode acme cert order

Can someone provide me the correct syntax for PBS?

Best regards
Martin
 
Last edited:
anything specific that does not work?

e.g. does using
Code:
proxmox-backup-manager node update --acme <..> --acmedomain0 <..> 
proxmox-backup-manager acme cert order

throw any errors?
 

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!