Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-58259

Option to ignore SSL certificate errors

XMLWordPrintable

      When we try to send logs to logstash (through http plugin), and if the http plugin is running on 443 (through a reverse proxy) with non-trusted certificate.

      No logs are pushed. 

       

      The request for url https://logstash-http-server/jenkins-queue/ has failed. sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141) at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126) at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280) at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:392) Caused: sun.security.validator.ValidatorException: PKIX path building failed at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:397) at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:302) at sun.security.validator.Validator.validate(Validator.java:262) at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:281) at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:136) at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1620) Caused: javax.net.ssl.SSLHandshakeException: General SSLEngine problem

            lucamilanesio Luca Domenico Milanesio
            jaydipdave Jaydeep Dave
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: