wildcard certificate

mrmagoo

Member
Mar 7, 2021
1
0
6
39
Hi,
I'm trying to install a Wildcard SSL certificate into pve but everytime I load the certificate i get this error :
/etc/pve/local/pveproxy-ssl.key: failed to load local private key (key_file or key) at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 1917.
and I can't access into web interface.
I've to delete key and pem file and reboot pveproxy server to restore.

How I can import this certificate correctly? It's work regular in other server and devices

thank's
Davide
 
If someone runs across the issue of installing a wildcard (or prob any cert). Please download openssl, terminal into that directory.. but the certificate you have.. into the directory. IN my case, I exported a pfx from my exchange server

Run these commands to get the 2 files you need
Key
openssl pkcs12 -in yourcert.pfx -nocerts -nodes -out yourcertpem.key
Cert
openssl pkcs12 -in yourcert.pfx -out yourcertpem.pem

Just wasted 30m on this, hopefully safe you 25m :D
 

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!