Providing new certificates for Virtual Console support
Follow these steps to replace the certificates necessary to secure communication between the noVNCProxy services and PowerVM® NovaLink VNC console. You should replace the certificates if you believe that a certificate was compromised or if you need to change a property, such as the expiration date.
Note: For details about the parameters to use when you generate these certificates, see
/etc/pki/novnc/ca/openssl.conf.
For the VNC console access to work seamlessly from PowerVC GUI, make sure that the
cacert.pem
file is present in /etc/pki/novnc/ca/ on the NovaLink host. Otherwise, access might fail with
FileNotFoundError: [Errno 2] No such file or directory
in certain cases.
To resolve this issue, complete these steps.
- After adding the NovaLink host if
cacert.pem
file is missing from /etc/pki/novnc/ca/, then manually copy the file from PowerVC management server to the NovaLink host. - Check if the/etc/pki/novnc/ca directory in PowerVC management server has PowerVC services as a group. If not, then manually include PowerVC services as a group to the /etc/pki/novnc/ca directory by using the chgrp pvcservices /etc/pki/novnc/ca command.
- Check if the /etc/pki/novnc/ca/cacert.pem file in PowerVC management server has PowerVC services as a group. If not, then manually include PowerVC services as a group to the /etc/pki/novnc/ca/cacert.pem file by using the chgrp pvcservices /etc/pki/novnc/ca/cacert.pem command.
- Check if the /etc/pki/novnc/client/clientcert.pem file in PowerVC management server has PowerVC services as a group. If not, then manually include PowerVC services as a group to the /etc/pki/novnc/client/clientcert.pem file by using the chgrp pvcservices /etc/pki/novnc/client/clientcert.pem command.
- Check if the /etc/pki/novnc/client/private/clientkey.pem file in PowerVC management server has PowerVC services as a group. If not, then manually include PowerVC services as a group to the /etc/pki/novnc/client/private/clientkey.pem file by using the chgrp pvcservices /etc/pki/novnc/client/private/clientkey.pem command.