Reputation: 55022
Does HttpClient uses cacerts that is available in every JRE? do i need to configure the HttpClient with SSL to invoke a HTTPS endpoint.
The endpoint uses GeoTrust which is a trusted authority by cacerts withing JRE. Does HttpClient handle the security?
Upvotes: 0
Views: 723
Reputation: 16736
There is nothing in the Commons HttpClient API that allows a developer custom control over SSL parameters. You don't need to configure Commons HttpClient specifically; HttpClient will delegate SSL verification and so forth to whatever Java-standard SSL sockets use. That, in turn, will end up in your JRE's cacerts
file being inquired for CA validation.
Upvotes: 1