A dynamic SSL configuration has been created on IBM WebSphere that embeds a certificate in outgoing requests, you do not need to specify the paths to jks in the code. How can I configure sending a rest request so that HttpClient does not search for certificates in IBM jdk if the request comes via https?
CloseableHttpClient httpClient = null;
HttpClientBuilder builder = HttpClientBuilder
.create()
.useSystemProperties();
httpClient = builder.build();
HttpPost request = new HttpPost("https://test.org:8081/add");
// add request headers
request.addHeader("custom-key", "rev");
request.addHeader(HttpHeaders.USER_AGENT, "lebot");
CloseableHttpResponse response = httpClient.execute(request);