Hi everyone,
I try to connect a Vault server to my internal Gitlab server (using self-signed SSL certificate authentication).
I use the JWT method.
When I run this command:
vault write auth/jwt/config \
jwks_url="https://gitlab.example.com/-/jwks" \
bound_issuer="gitlab.example.com"
I have the following error:
Error writing data to auth/jwt/config: Error making API request.
URL: PUT http://127.0.0.1:8200/v1/auth/jwt/config
Code: 400. Errors:
* error checking jwks URL: fetching keys oidc: get keys failed Get "https://gitlab.XXXX.XXX/-/jwks": x509: certificate signed by unknown authority
If I add the following option -tls-skip-verify
vault write -tls-skip-verify auth/jwt/config \
jwks_url="https://gitlab.example.com/-/jwks" \
bound_issuer="gitlab.example.com"
I have the same error
Thanks for the help.