[JIRA] [vmware-vrealize-automation-plugin] (JENKINS-34016) SSL exception logging

1 view
Skip to first unread message

kris.thieler@gmail.com (JIRA)

unread,
Apr 4, 2016, 9:17:01 PM4/4/16
to jenkinsc...@googlegroups.com
Kris Thieler created an issue
 
Jenkins / New Feature JENKINS-34016
SSL exception logging
Issue Type: New Feature New Feature
Assignee: Kris Thieler
Components: vmware-vrealize-automation-plugin
Created: 2016/Apr/05 1:16 AM
Priority: Minor Minor
Reporter: Kris Thieler

If a CA does not exist in Java's key store an exception will be logged to the Jenkins.log. Additional exceptions may also be logged in the console due to the SSL handshake error. However, the downstream exceptions may cause confusion. Additional exception handling is required to log an exception to the console and clearly show the problem lies with the SSL handshake.

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provide
r.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1509)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages