SSL certificate from Windows CA

karnalta

New Member
Jan 25, 2024
9
1
3
Hello,

I am trying to put a custom SSL certificate for the WebUI generated from a Windows Server CA but I keep getting an error :

Code:
/etc/pve/local/pveproxy-ssl.pem: failed to use local certificate chain (cert_file or cert) at /usr/share/perl5/PVE/APISe....

What I have done :

- Generated a RSA 2048 private key and a CSR using openssl from Proxmox host.
- Signed that CSR using the windows CA (using certreq.exe).
- Downloaded both *.cer files (CA and newly signed cert).
- Combined them into the same file to get the full chain cert (also tried without this step).
- Upload private key and cer file using the Proxmox webui.

I always end up with a bricked web ui and have to remove /etc/pve/local/pveproxy-ssl.pem and restart services.

Can I get more detailled info on the error ? I don't know what is causing this 'failed to use ...' ? The certificate look good to me.

Thank for your help.