How to set a trust Store for CA ? #3203
leonardostumpf
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I'm trying to setup Authelia to use Stirling with OAUTH, but I'm finding trouble to make it trust the CA. Both are running in docker containers behind a reverse proxy with certificate issued by a private CA. Generally in other apps using an env var like
NODE_EXTRA_CA_CERTS=/etc/ssl/certs/ca-certificates.crt
or bind mount/etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt:ro
usually does the job to make them trust the SSL certificate, but in Stirling I keep receiving this error:Caused by: org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://auth.server.lan/.well-known/openid-configuration": PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
In couple posts I saw people suggesting to add the settings below in the
settings.yml
orcustom_settings.yml
, but comment the settings and just use the truststore doesn't work, and I don't need Stirling to directly work with SSL, since the reverse proxy is doing this job.Suggestions?
Beta Was this translation helpful? Give feedback.
All reactions