Hi. Thanks for you help.
So what did I have to add that the “VNC_WSS” and this value “on” in the oneadmin OpenNebula user settings in the web interface. Would it be this?
My sunstone:
################################################################################
# UI Settings
################################################################################
# :vnc_proxy_
# port: port where the vnc proxy will listen
# support_wss: no | yes | only. For yes and only, provide path to
# cert and key. “yes” means both ws and wss connections will be
# supported.
# vnc_proxy_cert: Certificate to encrypt wss connections.
# vnc_proxy_key: Key for wss connections. Only necessary if not included in cert.
# vnc_proxy_ipv6: Enable ipv6 support for novnc-server
:vnc_proxy_port: 29876
#:vnc_proxy_support_wss: no #era default
:vnc_proxy_support_wss: only
#:vnc_proxy_cert: #era default
#:vnc_proxy_key: #era default
:vnc_proxy_cert: /home/cesar/certificados/ic.ufmt.br.crt
:vnc_proxy_key: /home/cesar/certificados/www.ic.ufmt.br.key
:vnc_proxy_ipv6: false
My nginx file:
upstream opennebula.ic.ufmt.br {
ip_hash;
server 10.5.0.1:9869;
}
Parte HTTP
server {
listen 80;
server_name opennebula.ic.ufmt.br;
return 301 https://$host$request_uri;
}
HTTPS virtual host
server {
listen 443;
server_name opennebula.ic.ufmt.br;
### SSL Parameters
ssl on;
ssl_certificate /etc/nginx/certificados/ic.ufmt.br.crt;
ssl_certificate_key /etc/nginx/certificados/www.ic.ufmt.br.key;
Proxy request to upstream
location / {
proxy_pass http://opennebula.ic.ufmt.br;
}
}