From 70329c3d12ab2d89bbe1ef4fa8043ba9652d3494 Mon Sep 17 00:00:00 2001 From: George Jahad Date: Fri, 18 Oct 2024 11:26:49 -0700 Subject: [PATCH] Because the "VAULT_SSL_CERT" env var is set, added ssl parameters to the oidc vault client creation. --- app/lib/utils/oidc_provider.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/lib/utils/oidc_provider.rb b/app/lib/utils/oidc_provider.rb index bdc5e28..83a74f4 100644 --- a/app/lib/utils/oidc_provider.rb +++ b/app/lib/utils/oidc_provider.rb @@ -35,7 +35,10 @@ def vault_client @vault_client ||= ::Vault::Client.new( address: Config[:oidc_provider_addr], - token: Config[:vault_token] + token: Config[:vault_token], + ssl_ca_cert: Config[:vault_ssl_cert], + ssl_pem_file: Config[:vault_ssl_client_cert], + ssl_key_file: Config[:vault_ssl_client_key] ) end