title: JAX-WS Soap Web service client over HTTPS/SSL/TLS
body: <p>I am new to <code>JAX-WS SOAP Web Service</code>, Can any one help me how to consume soap web service over <code>https</code>. </p>
  
  <p>Publisher has shared a <code>ssl certificate(.cer)</code> with me, imported this in a <code>TrustStore</code> using a <code>keytool</code> command.</p>
  
  <p>Now to call saop webservice over a <code>https secure layer</code> I need the <code>.jks</code> file to set it as <code>System Environment Variable</code>.</p>
  
  <p>I followed many resources <a href="https://stackoverflow.com/questions/11952274/how-can-i-create-keystore-from-an-existing-certificate-abc-crt-and-abc-key-fil">How can i create keystore from an existing certificate (abc.crt) and abc.key files?</a>
   but it is expecting <code>serverprivatekey.key</code> file. 
  I do not have private key with me, please help how to proceed.</p>
  
  <p>am I on the right way? or Something wrong in my approach?</p>