我需要在连接到远程安全的Jupyter笔记本服务器时,让我在PyCharm (2019.1,macOS High Sierra)中接受自签名的SSL证书。 (来源:https://jupyter-notebook.readthedocs.io/en/latest/public_server.html)
我已经尝试过:
我已经尝试过:
将证书文件添加到首选项/工具/服务器证书。
keytool -import -alias cacerts -file jupytercert.pem
(我认为这可能会允许PyCharm依赖的JRE接受证书)
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target.
附注:证书是通过以下方式生成的:openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout jupyterkey.key -out jupytercert.pem