netbirdio / netbird

Connect your devices into a secure WireGuard®-based overlay network with SSO, MFA and granular access controls.
https://netbird.io
BSD 3-Clause "New" or "Revised" License
10.93k stars 494 forks source link

KeyCloak integration issue #1390

Open AlfioSaitta opened 10 months ago

AlfioSaitta commented 10 months ago

Describe the problem Followed to the letter the guide to integrate Netbird with keycloak. But netbird can't download the OIDC configuration file from Keycloack when the file is more than available from the browser

docker-compose logs management: management_1 | Error: failed reading provided config file: /etc/netbird/management.json: failed fetching OIDC configuration from endpoint https://[OBFUSCATED_DOMAIN]/realms/netbird/.well-known/openid-configuration Get "https://[OBFUSCATED_DOMAIN]/realms/netbird/.well-known/openid-configuration": tls: failed to verify certificate: x509: certificate signed by unknown authority

Screenshots image

mlsmaycon commented 10 months ago

Hello @AlfioSaitta the issues seem to be related to a self-signed certificate on the keycloack side:

tls: failed to verify certificate: x509: certificate signed by unknown authority