I found solution with this topic: Vault & JWT authentication method - #4 by maciejkonigsman
Thanks to @maciejkonigsman !
Remove line
"jwks_ca_pem": "/etc/ssl/hashistack/hashistack-ca.pem",
from vault-auth-method-jwt-nomad.json
and
vault write auth/jwt-nomad/config '@vault-auth-method-jwt-nomad.json' jwks_ca_pem=@/etc/ssl/hashistack/hashistack-ca.pem
Success! Data written to: auth/jwt-nomad/config
But if someone have an idea to put in .json
file. I find it cleaner.
Thanks