The HttpPostSSLHandler code will install an SSL certificate prior to the HttpPost. This will install in the same location as the Java Development Kit (jdk) being used.
CURLThe corresponding curl command would be
Common Error: error setting certificate verify locations
The problem is that the system default CA bundle is missing or does not have read access.