Closed ghstahl closed 6 months ago
You're likely missing root certificates for your container https://stackoverflow.com/questions/65297751/docker-container-with-golang-http-get-error-certificate-signed-by-unknown-autho
Go actually provides a package explicitly for this if you want to compile the certs into your binary rather than installing them in the image https://pkg.go.dev/golang.org/x/crypto/x509roots/fallback
Closing since this isn't a bug with go-oidc
Thank you!
That worked. added the following to my Dockerfile.
COPY ./certs /etc/ssl/certs/
My certs folder contains.
local-cert
local-key.pem
The error I get from
The setup is traefik in docker and I can get to that endpoint just fine outside of docker. This error is happens when a call is made from inside one of the containers.
I have setup docker-compse this way so that internal calls can resolve the url.
Is there a way to configure the provider to ignore tls?