No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

eSight V300R009C00 Single-Node System Software Installation Guide (SUSE Linux) 09

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
How to Handle the Problem That the Untrusted Certificate Error Is Reported When VNC Access Is Enabled using vncmanager in SUSE 12

How to Handle the Problem That the Untrusted Certificate Error Is Reported When VNC Access Is Enabled using vncmanager in SUSE 12

Question

The untrusted certificate error is reported when VNC access is enabled using vncmanager in SUSE Linux 12.

Answer

Run the following commands as the administrator to generate a new certificate:

NOTE:

The command for restarting the VNCManager service will terminate logged in user sessions and processes. Ensure that important operations such as installation, upgrade, and restoration of the database are not performed when the command is executed.

rm /etc/vnc/tls.key /etc/vnc/tls.cert

openssl genrsa -out /etc/vnc/tls.key 2048

openssl req -new -x509 -extensions usr_cert -key /etc/vnc/tls.key -out /etc/vnc/tls.cert -days 7305 -subj "/CN=VNC service on `hostname`/"

chmod 644 /etc/vnc/tls.key

chmod 644 /etc/vnc/tls.cert

systemctl restart vncmanager.service

systemctl restart display-manager.service

Download
Updated: 2019-05-17

Document ID: EDOC1100011860

Views: 92836

Downloads: 138

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next