From d042a3e7d532e1fd46c6d6248ab824aab9376a0f Mon Sep 17 00:00:00 2001 From: Dan Timoney Date: Mon, 25 Oct 2021 08:42:33 -0400 Subject: Support disabling host verification in naming service As a workaround for an issue found in processing SAN certificates, allow for hostname verification to be diabled by setting the environment variable DISABLE_HOST_VERIFICATION=true. By default, host name verification remains enabled ... it must be explicitly disabled for this environment variable setting. Issue-ID: CCSDK-3501 Signed-off-by: Dan Timoney Change-Id: I0e3260cc5b8640814dd2f092aee20bca183dc34b --- ms/neng/opt/etc/config/application-dbless.properties | 1 + ms/neng/opt/etc/config/application-live.properties | 1 + ms/neng/opt/etc/config/application-standalone.properties | 2 ++ 3 files changed, 4 insertions(+) (limited to 'ms/neng/opt') diff --git a/ms/neng/opt/etc/config/application-dbless.properties b/ms/neng/opt/etc/config/application-dbless.properties index 3ac94d18..cafb33ac 100644 --- a/ms/neng/opt/etc/config/application-dbless.properties +++ b/ms/neng/opt/etc/config/application-dbless.properties @@ -35,6 +35,7 @@ policymgr.basicAuth=Basic TBD policymgr.url=https://TBD/pdp/api/getConfig policymgr.environment=TEST policymgr.ecompRequestId=xx +policymgr.disableHostVerification=${DISABLE_HOST_VERIFICATION} aai.certPassword=TBD aai.cert=opt/aai/keystore/TBD diff --git a/ms/neng/opt/etc/config/application-live.properties b/ms/neng/opt/etc/config/application-live.properties index 7b919afb..16bfd868 100644 --- a/ms/neng/opt/etc/config/application-live.properties +++ b/ms/neng/opt/etc/config/application-live.properties @@ -35,6 +35,7 @@ policymgr.basicAuth=Basic ${pol_basic_auth} policymgr.url=${pol_url} policymgr.environment=${pol_env} policymgr.ecompRequestId=${pol_req_id} +policymgr.disableHostVerification=${DISABLE_HOST_VERIFICATION} #Interface with A&AI aai.certPassword=${aai_cert_pass} diff --git a/ms/neng/opt/etc/config/application-standalone.properties b/ms/neng/opt/etc/config/application-standalone.properties index 07ad0ee2..cef8b317 100644 --- a/ms/neng/opt/etc/config/application-standalone.properties +++ b/ms/neng/opt/etc/config/application-standalone.properties @@ -36,6 +36,8 @@ policymgr.basicAuth=Basic TBD policymgr.url=${policymgr_url} policymgr.environment=TEST policymgr.ecompRequestId=xx +policymgr.disableHostVerification=${DISABLE_HOST_VERIFICATION} + aai.certPassword=${aai_cert_pass} aai.cert=opt/aai/keystore/TBD -- cgit 1.2.3-korg