green-toothbrush-48824
06/09/2023, 2:21 AMoathkeeper credentials generate --alg RS256
). Specifically, Keycloak provided the following fields publicly which don’t appear in the public Oathkeeper jwks: x5c
, x5t
, x5t#S256
From what I can tell in the Hasura docs, the cert is what’s missing from the Oathkeeper jwks. Is there a way to configure Oathkeeper to provide those values? From what I gather it shouldn’t be too complicated to generate them? I’m not at all familiar with Go, but I really want to use Oathkeeper with Hasura, so if it’s not possible at the moment I could be down to learn a bit to try and contribute something.green-toothbrush-48824
06/09/2023, 2:23 AMicy-manchester-83109
06/09/2023, 6:56 AMcredentials generate
command. If it would, the certificate would be self signed, which you could use for trying things out, but never in production.
So, the only option you have is to generate a key pair by yourself, acquire a certificate from a CA of your choice and create a jwks out of all that to let oathkeeper use it.
If you would like to have it just running for your scenario, generate a key pair, as well as a self-signed certificate with openssl and convert both into the jwks format.
However, oathkeeper will just use the key material, it will not check the certificate, whether it is still valid and use it, even it is already expired.green-toothbrush-48824
06/09/2023, 3:03 PM