How get NoVNC working in IOS

KKomara

New Member
Dec 20, 2017
16
0
1
63
When I have a guest setup using Default display type - cannot view NoVNC console on iPhone. When I connect into Proxmox via HTTPS from Safari on my iPhone initial web page is fine. When I drill down to a guest - initial screen ok there too. But when I try to open up the console for that guest it opens a new page, but noVNC has "X Failed to connect to server". Is there any way get this to work ?
 

Attachments

  • IMG_8842.PNG
    IMG_8842.PNG
    75.1 KB · Views: 17
this is a problem with safari and certificates, you have to use a certificate which is always trusted in safari, then you can use novnc there
 
OK - probably a dumb question - but how do I have Proxmox use a certificate which is always trusted in safari ?
 
for ios, i do not know, on mac os you can select: trust always when you go to the webinterface
 
I'd recommend to create RootCA and sign a certificate for PVE. This RootCA can be mailed to your iPhone and then imported as a trusted certificate. I've never tried with a self-signed host certificate, yet I was able to import my RootCA.

Just google for importing a root ca into your trusted certificate store. This changes slightly from iOS version to version.
 
So I would create a RootCA and sign a certificate for PVE - if I knew what that actually meant and how to do it. Sorry to sound so dumb - but I don't usually have to deal with this stuff on a daily basis. I know that there is a file /etc/pve/pve-root-ca.pem on my PVE server. I was under the impression that this was the file I need to install on my Windows 10 PC so Edge/IE are happen, and install on my iPhone to make IOS happy. Is this correct ?
 
Hi, there. I have the same problem. Can I export the Root certificate that Proxmox already create and then import to IOS or I have to create a new Root certificate outside Proxmox machine have it signed and then imported to proxmox?

P.S. I’ve import both ROOT CA and SSL certificate that proxmox automatically created on my ipad Pro 12.9 but NoVNC still not working
 
Hi, there. I have the same problem. Can I export the Root certificate that Proxmox already create and then import to IOS or I have to create a new Root certificate outside Proxmox machine have it signed and then imported to proxmox?

P.S. I’ve import both ROOT CA and SSL certificate that proxmox automatically created on my ipad Pro 12.9 but NoVNC still not working
I have the same issue even if Root CA and SSL certificate are installed. Can someone comment on this? It would be nice to have a concrete answer even if it is not possible to view noVNC on iPad. Thanks.
 
Has anyone found a resolution to this? I installed the certificate (/etc/pve/pve-root-ca.pem) and enabled full access (Settings > General > About > Cert Trust Settings).

After clearing website data I no longer get the warning about the certificate (it shows the locked icon now in the address bar). Still, when I try and pull up the console it shows “Failed to connect”. Tried Safari, Chrome and Edge with no luck.
 
Has anyone found a resolution to this? I installed the certificate (/etc/pve/pve-root-ca.pem) and enabled full access (Settings > General > About > Cert Trust Settings).

After clearing website data I no longer get the warning about the certificate (it shows the locked icon now in the address bar). Still, when I try and pull up the console it shows “Failed to connect”. Tried Safari, Chrome and Edge with no luck.
Hi aeros88.

I managed to display NoVNC on my iPad running iPadOS 13.4 ( 13.4.1 came out, haven't try that yet). First, enable full access and trust the certificate just like you did. Then, one or more of the following things I did worked, I am not sure which ones:
  • Turn on all nodes in a cluster
  • Reboot iPad
  • Try the cert file from a different node
 
Has anyone found a resolution to this? I installed the certificate (/etc/pve/pve-root-ca.pem) and enabled full access (Settings > General > About > Cert Trust Settings).

After clearing website data I no longer get the warning about the certificate (it shows the locked icon now in the address bar). Still, when I try and pull up the console it shows “Failed to connect”. Tried Safari, Chrome and Edge with no luck.

At first it didn't work for me, because i've accessed the Web UI using an ip address (https://10.0.0.4:8006). After adding a dns entry for the Proxmox host, the console does work in Safari on my iPad Pro 12.9 (https://pve.fritz.box:8006).