I wonder if I am able to make a connection using curl like the following command,
curl --cacert some.pem https://someurl.com/resource
How do I convert this to httpclient code? I understands I need to convert the pem file and create a new keystore, etc. But all these openssl, keytool commands, keystore, truststore confuses me, I don't know which one to use and in which order.