Self-signed certificates for Jupyter URI (Support Jupyter Hub)
See original GitHub issueEnvironment data
- VS Code version: 1.32.1
- Extension version (available under the Extensions sidebar): 2019.2.5558
- OS and version: OS X 10.13.6
- Python version: 3.7
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): pipenv, virtualenv
- Relevant/affected Python packages and their versions: Jupyter
Jupyter
Connecting to a Jupyter server via https
with a self-signed certificate fails:
Failed to connect to remote Jupyter notebook. Check that the Jupyter Server URI setting has a valid running server specified.
TypeError: request to https://blah.blah.blah.com:8000/api/contents/?xxxxxxx failed
reason: self signed certificate
Setting:
{
"http.proxyStrictSSL": false
}
has no impact.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:12 (5 by maintainers)
Top Results From Across the Web
Self-signed certificates for Jupyter URI (Support Jupyter Hub)
Jupyter. Connecting to a Jupyter server via https with a self-signed certificate fails: Failed to connect to remote Jupyter notebook.
Read more >Note: Self-Signed SSL Certificate for (local) JupyterHub
In this note I'll go through creating self-signed SSL certificates and adding them to a JupyterHub configuration running on a LAN or VPN....
Read more >Getting self-signed certificates to work for Jupyter notebook ...
Yes, it is possible! Please, follow this step-by-step guide to access Jupyter Notebook server on iOS via SSL using a self-signed cert.
Read more >Jupyter Notebook — adding certificates for security & ease of ...
Jupyter Notebook — adding certificates for security & ease of use. This howto covers adding ssh certs to the jupyter notebook. We will...
Read more >Running a notebook server
The Jupyter notebook web application is based on a server-client structure. ... A self-signed certificate can be generated with openssl .
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Since I promised an update. The workaround is looking good. As long as you trust me that this is the same server name blacked out here is the interactive window hitting a self cert server and connecting and running code. I need to so some more verification that my workaround isn’t exposing any new issues, so I don’t see the fix getting in today. But provided that I don’t fine any blocking issues with the workaround should be early next week. My current plan is to expose some type of allow self signed certs setting that defaults to no as default but can be flipped to true.
Hey Everyone. Sorry about the radio silence here for a while. Currently the @jupyterlab/services that we use to connect to Jupyter servers really only support token authentication and don’t support self signed certificates by default. Recently I’ve worked on a bit of a workaround to get passwords working for with @jupyterlab/services, and I think that I can apply the same workaround to self signed certs. Looking into that as we speak. I should know by tomorrow EOD if this fix will work as well to enable self-certs.