[SOLVED] The web GUI became inaccessible after uploading a self-signed certificate.

gairton_

New Member
May 5, 2023
2
1
3
After uploading a self-signed certificate through Proxmox's web GUI, I am no longer able to access the web GUI. Could someone please advise me on how to resolve this issue?


systemctl status pveproxy

Code:
May 05 19:22:56 proxmox pveproxy[18950]: worker exit
May 05 19:22:56 proxmox pveproxy[16709]: worker 18950 finished
May 05 19:22:56 proxmox pveproxy[16709]: starting 1 worker(s)
May 05 19:22:56 proxmox pveproxy[16709]: worker 18975 started
May 05 19:22:56 proxmox pveproxy[18951]: worker exit
May 05 19:22:56 proxmox pveproxy[18975]: /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 1996.
May 05 19:22:56 proxmox pveproxy[16709]: worker 18951 finished
May 05 19:22:56 proxmox pveproxy[16709]: starting 1 worker(s)
May 05 19:22:56 proxmox pveproxy[16709]: worker 18976 started
May 05 19:22:56 proxmox pveproxy[18976]: /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 1996.

ls -la /etc/pve/local
Code:
-rw-r----- 1 root www-data   83 May  5 19:25 lrm_status
drwxr-xr-x 2 root www-data    0 Mar 24 06:19 lxc
drwxr-xr-x 2 root www-data    0 Mar 24 06:19 openvz
drwx------ 2 root www-data    0 Mar 24 06:19 priv
-rw-r----- 1 root www-data 1338 May  5 17:56 pveproxy-ssl.key
-rw-r----- 1 root www-data 1338 May  5 17:56 pveproxy-ssl.pem
-rw-r----- 1 root www-data 1013 May  5 19:24 pve-ssl.csr
-rw-r----- 1 root www-data 1679 May  5 19:24 pve-ssl.key
-rw-r----- 1 root www-data 1675 May  5 19:24 pve-ssl.key.backup
-rw-r----- 1 root www-data 1237 May  5 19:24 pve-ssl.pem
-rw-r----- 1 root www-data 1716 May  5 19:24 pve-ssl.pem.backup
drwxr-xr-x 2 root www-data    0 Mar 24 06:19 qemu-server
 
Hi,
please verify that the file located at /etc/pve/local/pveproxy-ssl.key really contains the private key, from the file sizes it rather seems to contain the certificate as in /etc/pve/local/pveproxy-ssl.pem
 
Thank you very much. We were able to resolve the issue by reissuing the .key and .pem files. I sincerely appreciate your help.
 
  • Like
Reactions: leesteken
Thank you very much. We were able to resolve the issue by reissuing the .key and .pem files. I sincerely appreciate your help.
Glad it worked out, please mark the thread as solved then
 

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!