Hi community, I'm using IBM rad (essentially Eclipse) nd have cloned my team repo. I can't perform any fetch/push operations as I keep getting the below exceptions: SSL problems. I've tried setting the following:
Key = http.sslVerify
Value = false
but all to no avail. Any help would be much appreciated!
org.eclipse.jgit.api.errors.TransportException: https://xxx@bitbucket.org/myprojects/mygitproject.git: Secure connection to https://xxx@bitbucket.org/myprojects/mygitproject.git could not be stablished because of SSL problems
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:252)
at org.eclipse.egit.core.op.FetchOperation.run(FetchOperation.java:132)
at org.eclipse.egit.ui.internal.fetch.FetchOperationUI.execute(FetchOperationUI.java:108)
at org.eclipse.egit.ui.internal.fetch.FetchOperationUI$1.performJob(FetchOperationUI.java:134)
at org.eclipse.egit.ui.internal.jobs.RepositoryJob.run(RepositoryJob.java:57)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.eclipse.jgit.errors.TransportException: <blanked out>: Secure connection to <blanked out> could not be stablished because of SSL problems
at org.eclipse.jgit.transport.TransportHttp.handleSslFailure(TransportHttp.java:617)
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:567)
at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:345)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:137)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:123)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1269)
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:241)
... 5 more
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
at com.ibm.jsse2.k.a(k.java:15)
at com.ibm.jsse2.k.a(k.java:23)
at com.ibm.jsse2.av.b(av.java:343)
at com.ibm.jsse2.av.a(av.java:981)
at com.ibm.jsse2.av.i(av.java:869)
at com.ibm.jsse2.av.a(av.java:19)
at com.ibm.jsse2.av.startHandshake(av.java:672)
at com.ibm.net.ssl.www2.protocol.https.c.afterConnect(c.java:46)
at com.ibm.net.ssl.www2.protocol.https.d.connect(d.java:35)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1576)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1504)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:491)
at com.ibm.net.ssl.www2.protocol.https.b.getResponseCode(b.java:14)
at org.eclipse.jgit.transport.http.JDKHttpConnection.getResponseCode(JDKHttpConnection.java:108)
at org.eclipse.jgit.util.HttpSupport.response(HttpSupport.java:205)
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:498)
... 10 more
In digging deeper, I found an IBM note which pretty much describes the problems I was facing: https://www-01.ibm.com/support/docview.wss?uid=swg21688884
I switched the connectivity protocol to Bitbucket from https to ssh for which I needed to generate an rsa private/public key pair and I seem to be able to fetch/push/pull now.
The instructions for ssh key generation can be found here for those interested:
https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.