diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/onap/aai/datarouter/util/SearchServiceAgent.java | 5 |
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;
|