public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
* [PVE-User] ACME Cert Order Not Working
@ 2024-09-18  6:58 duluxoz
  0 siblings, 0 replies; only message in thread
From: duluxoz @ 2024-09-18  6:58 UTC (permalink / raw)
  To: Proxmox VE user list

Hi All,

I'm trying to set up a private PKI (Step-CA: stepca.example.com) to 
provide my PVE (Proxmox v18.2.4) with certificates.

I have the Step-CA server set up and working (I can receive/renew certs 
via ACME.sh from a different server to the stepca.example.com).

I have run the command: `pvenode acme account register my_acme 
root@example.com  --directory 
https://stepca.example.com/acme/my_acme/directory` - this returned:

~~~

Attempting to fetch Terms of Service from 
'https://stepca.example.com/acme/my_acme/directory'..
No Terms of Service found, proceeding.

Attempting to register account with 
'https://stepca.example.com/acme/my_acme/directory'..
Generating ACME account key..
Registering ACME account..
Registration successful, account URL: 
'https://stepca.example.com/acme/my_acme/account/PLeTGsgGbogPgnURjpYMuieKc1Yj2cFQ'
Task OK

~~~

Running the command `pvenode acme account info my_acme` returns all the 
correct information (as above) - the most important part is `status: valid`.

However, when I then run the command `pvenode acme cert order` I 
receive: `Can't use an undefined value as a HASH reference at 
/usr/share/perl5/PVE/API2/ACME.pm line 196.`

Also, when I run the command `pvenode acme cert renew` I (as expected) 
receive: `No current (custom) certificate found, please order a new 
certificate!`

Finally, when I run the command `pvenode cert info` I receive info 
*only* about the `pve-root-ca.pem` and `pve-ssl.pem` certificates 
(again, as expected).

So, if someone could be kind enough to let me know where I've gone 
wrong, I'd appreciate it.

Cheers

Dulux-Oz

PS: Also, the (on-line) Proxmox doco says (in section 3.12.4. Trusted 
certificates via Let’s Encrypt (ACME) ) that "You can register and 
deactivate ACME accounts over the web interface Datacenter -> ACME...", 
but I can't find that in the Web Interface - has something changed in 
recent versions of ProxMox?


_______________________________________________
pve-user mailing list
pve-user@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-09-18  6:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-18  6:58 [PVE-User] ACME Cert Order Not Working duluxoz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal