Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Fail to contact HTTPS/SSL p2 repositories(Added an user HTTPS repo and product installation is failing)
icon4.gif  Fail to contact HTTPS/SSL p2 repositories [message #1700102] Tue, 30 June 2015 07:18 Go to next message
Peter Kirschner is currently offline Peter KirschnerFriend
Messages: 28
Registered: July 2009
Junior Member

I'm trying to add a custom HTTPS/SSL url repository to install from it an get. The repo is fine and can be installed otherwise. [You can only use links to eclipse.org sites while you have fewer than 5 messages. Therefore the link lacks the protocol https://]

ERROR: org.eclipse.equinox.p2.transport.ecf code=1002 Unable to read repository at bndtools.ci.cloudbees.com/job/bndtools.master/lastSuccessfulBuild/artifact/build/generated/p2/content.xml.
javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
  at sun.security.ssl.Alerts.getSSLException(Unknown Source)
  at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
  at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
  at sun.security.ssl.SSLSocketImpl.handleException(Unknown Source)
  at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
  at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
  at org.apache.http.conn.ssl.SSLSocketFactory.createLayeredSocket(SSLSocketFactory.java:554)
  at org.apache.http.conn.ssl.SSLSocketFactory.createLayeredSocket(SSLSocketFactory.java:435)
  at org.apache.http.impl.conn.DefaultClientConnectionOperator.updateSecureConnection(DefaultClientConnectionOperator.java:216)
  at org.apache.http.impl.conn.ManagedClientConnectionImpl.layerProtocol(ManagedClientConnectionImpl.java:394)
  at org.apache.http.impl.client.DefaultRequestDirector.establishRoute(DefaultRequestDirector.java:814)
  at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:615)
  at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)
  at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
  at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
  at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:259)
  at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
  at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Re: Fail to contact HTTPS/SSL p2 repositories [message #1700173 is a reply to message #1700102] Tue, 30 June 2015 13:24 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6692
Registered: July 2009
Senior Member
Am 30.06.2015 um 15:11 schrieb Peter Kirschner:
> I'm trying to add a custom HTTPS/SSL url repository to install from it an get. The repo is fine and can be installed
> otherwise. [You can only use links to eclipse.org sites while you have fewer than 5 messages. Therefore the link lacks
> the protocol https://]
And you've double-checked that that repository can be correctly loaded/used through p2's normal UI?


Re: Fail to contact HTTPS/SSL p2 repositories [message #1700927 is a reply to message #1700173] Wed, 08 July 2015 08:42 Go to previous message
Peter Kirschner is currently offline Peter KirschnerFriend
Messages: 28
Registered: July 2009
Junior Member

The problem was a tampered cacerts file. After using the original one it worked well.
Previous Topic:setup:VariableTask
Next Topic:launching mwe2 during the setup
Goto Forum:
  


Current Time: Sun Dec 08 00:23:33 GMT 2024

Powered by FUDForum. Page generated in 0.03695 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top