I was hoping if I could get some help regarding an issue I have been facing today:
I am trying to authenticate my client with server of one of our clients, I am able to do so by issuing the following command:
curl -v -k -H "Content-Type:application/json" --key privkey.pem --cert pub.cer --data @search.json https://....
As you can tell from the command above I have the following:
- public certificate
- private key
- keystore - Now, I am trying to do the same thing in java, but I have no clue how to get it done. All the guides that I have read tell me that I should use the keystore I have. But I hit roadblocks when following those guides. - I anybody could help or point me to a certain direction, I would greatly appreciate it. - Thanks in advance, Peter 
 
     
    