diff options
-rw-r--r-- | pom.xml | 2 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/datarouter/util/SearchServiceAgent.java | 5 |
2 files changed, 3 insertions, 4 deletions
@@ -225,7 +225,7 @@ limitations under the License. <dependency> <groupId>org.onap.aai</groupId> <artifactId>rest-client</artifactId> - <version>1.1.0</version> + <version>1.2.1</version> </dependency> <dependency> 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;
|