TLS握手失败错误,带有OpenSSL 1.1.x

问题描述 投票:0回答:1

我正在尝试通过VncViewer(TigerVnc)连接x11vnc服务器。我给以下命令以-ssl选项启动vnc服务器

$ x11vnc -ssl -rfbauth /home/root/.vnc/passwd 

当我尝试连接vnc服务器时,出现TLS握手失败错误。

以下是vncserver日志

07/05/2020 13:25:58 SSL: accept_openssl(OPENSSL_VNC)
07/05/2020 13:25:58 SSL: spawning helper process to handle: 172.21.33.47:64181
07/05/2020 13:25:58 SSL: helper for peerport 64181 is pid 629: 
07/05/2020 13:25:58 connect_tcp: trying:   127.0.0.1 20000
07/05/2020 13:25:59 check_vnc_tls_mode: waited: 1.422183 / 1.40 input: (future) RFB Handshake
07/05/2020 13:26:00 check_vnc_tls_mode: version: 3.8
07/05/2020 13:26:00 check_vnc_tls_mode: reply: 19 (VeNCrypt)
07/05/2020 13:26:00 vencrypt: received 0.2 client version.
07/05/2020 13:26:00 vencrypt: client selected sub-type: 257 (rfbVencryptTlsNone)
07/05/2020 13:26:00 Using Anonymous Diffie-Hellman mode.
07/05/2020 13:26:00 WARNING: Anonymous Diffie-Hellman uses encryption but is
07/05/2020 13:26:00 WARNING: susceptible to a Man-In-The-Middle attack.
07/05/2020 13:26:00 loaded Diffie Hellman 1024 bits, 0.001s
07/05/2020 13:26:00 SSL: ssl_init[629]: 6/6 initialization timeout: 20 secs.
07/05/2020 13:26:01 SSL: ssl_helper[629]: SSL_accept() *FATAL: -1 SSL FAILED
07/05/2020 13:26:01 SSL: error:1417A0C1:SSL routines:tls_post_process_client_hello:no shared cipher
07/05/2020 13:26:01 SSL: ssl_helper[629]: Proto: unknown
07/05/2020 13:26:01 SSL: accept_openssl: cookie from ssl_helper[629] FAILED. 0

这正常工作,没有错误。唯一的更改是openssl版本,它已从OpenSSL 1.0.2p(2018年8月14日)更改为OpenSSL 1.1.1d(2019年9月10日)。

我检查了OpenSSL 1.1.1d是否支持TLSv1.3和TigerVNC支持TLSv1.2,是否由于SSL版本中的版本不匹配而导致错误?

openssl vnc vnc-server vnc-viewer tightvnc
1个回答
0
投票
07/05/2020 13:26:01 SSL:错误:1417A0C1:SSL例程:tls_post_process_client_hello:无共享密码
© www.soinside.com 2019 - 2024. All rights reserved.