[
https://issues.jenkins-ci.org/browse/JENKINS-13018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159973#comment-159973
]
Tristan Waddington commented on JENKINS-13018:
----------------------------------------------
Hah, you're right of course. Unfortunately, it can be hard to come by the
correct cert for some servers, especially ones you don't maintain your self.
This also seems to be a standard option for most IRC clients these days. Thanks!
> The IRC bot cannot connect over SSL to a server with a self-signed cert.
> ------------------------------------------------------------------------
>
> Key: JENKINS-13018
> URL: https://issues.jenkins-ci.org/browse/JENKINS-13018
> Project: Jenkins
> Issue Type: Improvement
> Components: ircbot
> Affects Versions: current
> Reporter: Tristan Waddington
> Assignee: kutzi
>
> The IRC Bot should have a checkbox that allows Jenkins to connect to servers
> using self-signed SSL certs. This is the error I'm seeing in the logs:
> INFO: Jenkins is fully up and running
> hudson.plugins.rake.Rvm@809791
> Mar 7, 2012 8:33:30 PM
> hudson.plugins.im.IMConnectionProvider$ConnectorRunnable run
> INFO: Trying to reconnect
> Mar 7, 2012 8:33:30 PM hudson.plugins.ircbot.v2.IRCConnection connect
> INFO: Connecting to irc.geoloqi.com:1337 as jenkins-bot using charset UTF-8
> Mar 7, 2012 8:33:31 PM hudson.plugins.ircbot.v2.IRCConnection connect
> WARNING: Error connecting to irc: javax.net.ssl.SSLException: Connection has
> been shutdown: 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
> Mar 7, 2012 8:33:31 PM
> hudson.plugins.im.IMConnectionProvider$ConnectorRunnable run
> INFO: Reconnect failed. Next connection attempt in 1 minutes
> This would avoid having to do a hacky workaround like this:
> http://www.erikzaadi.com/2011/09/09/connecting-jenkins-to-self-signed-certificated-servers/
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira