-
Notifications
You must be signed in to change notification settings - Fork 797
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuring SSL certificate for JupyterHub #1285
Comments
@zxcGrace hi! Is it correct that you are also using this repository's helm chart to deploy the JupyterHub on kubernetes? Then you can configure this very easily to be done for you! Check out this section of the guide that comes with the JupyterHub Helm chart regarding this: http://z2jh.jupyter.org/en/latest/security.html#https |
I followed this guide to install the JupyterHub: http://z2jh.jupyter.org/en/latest/setup-jupyterhub.html, so I think I used the helm chart to deploy the JupyterHub on kubernetes. I already obtained a domain and created an A record for that domain, but just don't know how to set up HTTPS. I read the link you sent to me but it only showed how to set up automatic/manual HTTPS. However, I don't have my own HTTPS. I am not sure how would that page help. Am I missing anything? Should I use Certbot (from Let's encrypt) to set up HTTPS? I am not sure what's the right approach. Is there a clear instruction that I can follow? Thank you! |
Ah then you are indeed using this repositoriy's helm chart.
If you don't have your own certificates prepared etc, that is fine, that is the most common situation I'd say. Then you can use the automatic option and everything will be taken care of for you, it is also the easiest one. |
The latest helm 3 upgrade seems to have broken something. Certificates are no longer being issued automatically (or at all). I'm using the following in my
Any idea what needs to happen to get this working? |
I think I found the problem:
Seems that |
It is probably lets encrypt that has deprecated things which now impacts us. Id love to solve this but im so low on time and this may require some tinkering and will be a change that will require manual interventions of many different kinds because of many different setups in the wild. |
Looks like the issue has been noted here: #1448 |
@zxcGrace this documentation is what's needed: https://zero-to-jupyterhub.readthedocs.io/en/latest/administrator/security.html#set-up-manual-https, and the automatic setup issue described has now been resolved. |
I am deploying my JupyterHub on google cloud Kubernetes, and I want to assign SSL certificate to it using Let’s Encrypt.
I used Certbot and ran the following commands:
Then, I got this error:
I am not sure is it the right approach to set SSL certificate for JupyterHub. Should I use Certbot for it?
The text was updated successfully, but these errors were encountered: