Skip to content
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

Self signed certificates #120

Open
goldfingyr opened this issue Nov 11, 2021 · 1 comment
Open

Self signed certificates #120

goldfingyr opened this issue Nov 11, 2021 · 1 comment

Comments

@goldfingyr
Copy link

For development purposes I am running KeyCloak as a container. I use vagrant to create the world so the Identity Provider (KeyCloak) is known to me as keycloak.l2.ucnit.eu (192.168.11.2).
I have provided it with self signed certificates and that part works fine verifying with Postman.
However during the LoginAsync I get the error AuthenticationException: The remote certificate does not meet the validation (translated - guessing you are not that fluent in danish)
How can I tell OidcClient to accept a self signed certificate? I am surely not going to get a real certificate for a private network IP.

@leastprivilege
Copy link
Contributor

There is a backchanel handler or client property on the options. There you can configure the client used for backchannel requests..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants