Can no longer access proxmox web console correctly

David Fisher

Member
Nov 3, 2016
14
0
21
52
I was fiddling with the certificates and keys on my proxmox server, and gotten myself into an awful mess.

I can no longer access the console of any vm's nor can I easily access the web console.

I wanted to use my own certificates, so I replaced the following files with my own copies that I had created myself.

/etc/pve/pve-root-ca.pem
/etc/pve/pve-www.key

/etc/pve/nodes/proxmox/pve-ssl.key
/etc/pve/nodes/proxmox/pve-ssl.pem

Then did systemctl restart pveproxy

This seemed to worked ok but after a while I could no longer log in as root.

After some googling, I tried this command after deleting the certificates and keys

pvecm updatecerts --force

After this I am at least able to login as root

But for machines that are stopped when I click on them I see this message (domain changed)

The web page at https://proxmox.example.com:8006/?console=kvm&novnc=1&node=proxmox&resize=scale&vmid=120 might be temporarily down or it may have moved permanently to a new web address.

For machines that are turned on (some are set to turn on at boot), I can't access the console. I get Server Disconnected (1006)

Can someone help me sort this mess out? I can still drop to command line to start machines and the machines themselves seem to be fine.
 
Yes I saw that link, but right now I'm not bothered about getting my certificates to work. I just want to get back to the default configuration and I can worry about my certificates some other time.
 
Yes I saw that link, but right now I'm not bothered about getting my certificates to work. I just want to get back to the default configuration and I can worry about my certificates some other time.

see the first part of the how to about reverting to the default configuration.
 
Update: Although I did try out the instructions in the section you are referring to, it did not appear to work.

Now I see, this is just a browser problem. Doesn't work in Chrome, does work in IE and Firefox.