-
Notifications
You must be signed in to change notification settings - Fork 59
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
Discovery url handshake failed #20
Comments
Hi, Unfortunately I don't have a solution, just wanted to let you know that I'm running into a very similar problem. I'm getting The logs said that this problem first appeared on 30th Sep, which I think is most likely related to this issue: Any ideas how that could get fixed @gregnr ? |
@nt7 I'm not the primary maintainer of this project, but I'm happy to give my two cents as I have had to deal with lots of Docker issues relating to the DST Root CA expiring. First I would say that I agree that your issue is most likely caused by the old Let's Encrypt CA expiring September 30 and that this is different than the issue @JeremyMahieu had which was back in 2020 (I don't have a fix for that one). Essentially the root cause is that the $ docker run --rm -it --entrypoint="" evry/oidc-proxy curl -I https://letsencrypt.org/
curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above. (We're testing against https://letsencrypt.org/ because they use a LE certificate for their own website - replace this with your discovery URL and you should get the same result). Looking at the Dockerfile: - FROM openresty/openresty:1.13.6.2-alpine
+ FROM openresty/openresty:1.19.9.1-2-alpine
... $ docker build -t evry/oidc-proxy . $ docker run --rm -it --entrypoint="" evry/oidc-proxy curl -I https://letsencrypt.org/
HTTP/2 200
... This project appears mostly unmaintained by the original author but I've created a PR/branch you can use for now: |
First of all, Thank you @gregnr, I completely misread that you are the maintainer. Seriously. Thank you so much. I had docker throw an execution error of the .sh script. Fixed it by chmod -x the .sh script and changing |
When browsing to
http://<ip>:<port>/
I getThere was an error while logging in: accessing discovery url (https://example.net/auth/realms/master/.well-known/openid-configuration) failed: handshake failed
When attaching to the docker console, if I do
curl https://example.net
I getcurl: (35) error:1400442E:SSL routines:CONNECT_CR_SRVR_HELLO:tlsv1 alert protocol version
I use nginx as a reverse proxy. This is my nginx config. Other docker containers or browsers have no problems with retrieving this url.
The text was updated successfully, but these errors were encountered: