Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants