aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBansal, Nitin (nb121v) <nitin.bansal@amdocs.com>2019-01-25 15:07:51 -0500
committerBansal, Nitin (nb121v) <nitin.bansal@amdocs.com>2019-01-25 15:09:14 -0500
commit10c04810902a100fbeba93dda5b13329ada39117 (patch)
tree0cd7974f932e9ac8149576c7e3209015e6d47ed6 /src
parent5e0074ffbdfa2d8c864f677dff33eefd567af241 (diff)
align router code with 1.2.1 version of rest
align router code with 1.2.1 version of rest client Change-Id: Id5ad1f925aa9b12b960b5186d724cfa1413161d4 Issue-ID: AAI-2120 Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/onap/aai/datarouter/util/SearchServiceAgent.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/org/onap/aai/datarouter/util/SearchServiceAgent.java b/src/main/java/org/onap/aai/datarouter/util/SearchServiceAgent.java
index 612a40e..4baa81a 100644
--- a/src/main/java/org/onap/aai/datarouter/util/SearchServiceAgent.java
+++ b/src/main/java/org/onap/aai/datarouter/util/SearchServiceAgent.java
@@ -101,10 +101,9 @@ public class SearchServiceAgent {
searchClient = new RestClient()
.authenticationMode(RestAuthenticationMode.SSL_CERT)
.validateServerHostname(false)
- .validateServerCertChain(true)
+ .validateServerCertChain(false)
.clientCertFile(DataRouterConstants.DR_HOME_AUTH + certName)
- .clientCertPassword(deobfuscatedCertPassword)
- .trustStore(DataRouterConstants.DR_HOME_AUTH + keystore);
+ .clientCertPassword(deobfuscatedCertPassword);
this.searchUrl = searchUrl;
this.documentEndpoint = documentEndpoint;