title: Jenkins SSLHandshakeException while publishing to confluence
body: <p>We recently changed all the certificates and Jenkins seems to have been affected by that. It is unable to publish to confluence and it gives the following error:</p>
  
  <p>ERROR: Publisher com.myyearbook.hudson.plugins.confluence.ConfluencePublisher aborted due to exception
  AxisFault
   faultCode: {<a href="http://schemas.xmlsoap.org/soap/envelope/" rel="nofollow">http://schemas.xmlsoap.org/soap/envelope/</a>}Server.userException
   faultSubcode: 
   faultString: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
   faultActor: 
   faultNode: 
   faultDetail: 
      {<a href="http://xml.apache.org/axis/" rel="nofollow">http://xml.apache.org/axis/</a>}stackTrace:javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target</p>
  
  <p>We use self signed certificates for our internal services. I added the new certificate into the trust store of the server running jenkins using the keytool command. The problem persist.
  I am unable to track the source of the problem now.
  Any help would be highly appreciated.</p>
  
  <p>Thanks,
  SanZig</p>