title: Where does Java look in Windows for SSL certificates?
body: <p>I am running Java 8 on Windows 10.   I have a security subfolder under my JAVA_HOME and can see the <code>cacerts</code> file there.   However, I am trying to call a remote service which requires a client certificate.  I have the required client certificate as a .jks file but do not know how to put it in place so that Java will pick it up when making the service call.</p>
  
  <p>I have tried copying the .jks file into the same directory as the cacerts but it did not work (restarting the Java VM, of course).  I also tried using the keytool to export from the .jks file into a .cer file and then importing the .cer file into cacerts but I hit a permissions issue there.</p>
  
  <p>I have turned on javax debugging (<code>-Djavax.net.debug=ssl,handshake</code>) so I can see what certificates are found.</p>
  
  <p>So, how do I get Java to find my certificates?</p>