First step is to import the certificate in Windows.
Double click the certificate you get below screen->next->next->give the right certificate Password ->click till get the completing the certificate Wizard ->finish
Note: This is a one time job.
Than just use the below method to get the client. getHttpClientOnlyWindowsApp()
Below line create the right keystore for you. If we are going to use only WINDOWS than we don't need to create keystore as we did in other blog example. Below method create the
KeyStore keyStore = KeyStore.getInstance("WINDOWS-MY");
Note: This works only for windows machine. If you are using Linux server follow other example.