Skip to content

CACHE_TLS_SERVER key and cert used for JWKS endpoint? #543

Answered by sebadob
andoks asked this question in Q&A
Discussion options

You must be logged in to vote

However I discovered that another service (running within the same virtual network) refuses to connect to JWKS endpoints through plain HTTP. Therefore I needed to setup rauthy to serve the jwks endpoint over https (in addition to http) using a self-signed key and cert.

That makes sense, since the RFC suggests that clients should never fetch the public keys via plain HTTP for good reason.

From https://sebadob.github.io/rauthy/config/tls.html?highlight=certificate#config I thought I needed to set the server certificates, but this didn't seem to affect the JWKS endpoint.

The Cache TLS is independent from the TLS_KEY and TLS_CERT, which are used for the public API only. But, these values …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@andoks
Comment options

Answer selected by andoks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants