Parallels UWP 应用 SSL 握手失败证书验证失败,例如 CRL、CA 或签名检查失败

问题描述

我正在尝试运行一个使用 mbedtls 连接到服务器(SSL/TLS 连接)的应用。

UWP 应用从 Visual Studio 2019 运行,后者在 MacOS 内的 Parallels VM 内运行。

The connection fails with the following error:
x509_verify_cert() returned -9984 (-0x2700)

SockPP: mbedtls error -0x2700 from mbedtls_ssl_handshake: X509 - Certificate verification Failed,e.g. CRL,CA or signature check Failed

SockPP: ---closing mbedtls_socket with error (mbed status -0x2700,last_error -9984) ---

Tcpsocket TLS handshake Failed; cert verify status 0x08
WebSocket Failed to connect! (reason=Network error 11)

我尝试手动提供证书,我可以确认正在从操作系统读取证书。

UWP 沙箱与 Parallels VM 交互的方式是否存在问题? 知道为什么它不起作用吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)