-
Notifications
You must be signed in to change notification settings - Fork 344
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
Add check to make sure traefik can access https.tls.cert and https.tls.key #462
Comments
@deeduda you did not enable https: |
Sorry I disable it again to get jupyterhub to work but it was enabled when I got these errors. Besides traefik won't attempt to use the certificate if https is disabled. eladmin@AZLAPNSGEA01:~$ sudo tljh-config show
users:
admin:
- eladmin
https:
tls:
cert: /root/ssl/jupyter_platform_manulife_io_cert.cer
key: /root/ssl/jupyter.platform.manulife.io.key
enabled: true
auth:
FirstUseAuthenticator:
create_users: true |
@deeduda |
|
I tried to move it to /tmp and other directory and the same thing happened. The odd thing is I can trace the go lang to this particular function and it seems to be looking for a default certificate in the store. look for ""failed to load X509 key pair" |
Hey @deeduda! Sorry for the late reply. |
I ran into this as well. Putting the cert & key into |
Update by Erik 2021-10-25
I think the resolution to this issue was addressed by #462 (comment) suggesting a location where traefik could access the cert/key configured under
https.tls.cert
andhttps.tls.key
.Perhaps we could run a check to verify our traefik user will have access to the configured location, and if not, emit a error suggesting putting them in the /opt/tljh/state location?
Original issue
I have not been able to run TLJH in https mode due to traefik spilling out these errors.
The config is very simple and I am able to use it in http mode:
Both the cert and key are signed by a commercial provider and checked by openssl verify
I believed tljh is running 1.17 traefik.
The text was updated successfully, but these errors were encountered: