Intirgrating Jira server with Jenkins

Bunty
Contributor
March 20, 2019

Hello All,

I am trying to integrate Jenkins with the Jira. I've added Jira plugin in jenkins and Jenkins integration add-on in Jira. 

when i am trying to Jira site in the Jenkins, it showing below error in the jenkins page.

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:260)

    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:1601)

Caused: javax.net.ssl.SSLHandshakeException: General SSLEngine problem

    at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)

    at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1728)

    at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:330)

    at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:322)

    at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1614)

    at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)

    at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1052)

    at sun.security.ssl.Handshaker$1.run(Handshaker.java:992)

    at sun.security.ssl.Handshaker$1.run(Handshaker.java:989)

    at java.security.AccessController.doPrivileged(Native Method)

    at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1467)

    at org.apache.http.nio.reactor.ssl.SSLIOSession.doRunTask(SSLIOSession.java:284)

    at org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSLIOSession.java:352)

Caused: javax.net.ssl.SSLHandshakeException: General SSLEngine problem

 

any help??

Thanks in Advance,

Bunty

1 answer

0 votes
Taranjeet Singh
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 20, 2019

@Bunty Looks like an SSL Certificate configuration problem. If you are running Jenkins over HTTPS or SSL, you will need to import SSL certificates of Jenkins Server into Java/JVM keystore on JIRA Server, so that JIRA can trust Jenkins and a secure SSL connection can be established between the two.

Hope it helps !

Bunty
Contributor
March 20, 2019

Thanks @Taranjeet Singh

I will add Jenkins SSL certificate in Jira and update you. 

Bunty
Contributor
March 21, 2019

Hi @Taranjeet Singh

Jenkins server is running over HTTP not HTTPS, how do i integrate that?

Thank You,

Bunty

Suggest an answer

Log in or Sign up to answer