2016 Mar 03 1:16 PM
Dear all,
Has anyone had similar problem?
I downloaded new Eclipse Mars version - i did this stuff many times.
I went to Install new software menu and inserted this link: SAP Development Tools for Eclipse - Mars Software Repository
However it doesn't work properly and returns something like:
Unable to read repository at https://tools.hana.ondemand.com/luna/content.xml.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Any ideas? I did this from the corporate network. Can it be connected with some firewall security settings?
Thanks!
Dear all,
Has anyone had similar problem?
I downloaded new Eclipse Mars version - i did this stuff many times.
I went to Install new software menu and inserted this link: SAP Development Tools for Eclipse - Mars Software Repository
However it doesn't work properly and returns something like:
Unable to read repository at https://tools.hana.ondemand.com/luna/content.xml.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Any ideas? I did this from the corporate network. Can it be connected with some firewall security settings?
Thanks!
2016 Mar 03 1:19 PM
I'm using Luna and i did not face this issue.
but i see the link got "luna" (https://tools.hana.ondemand.com/luna/content.xml) in it. Did you try to replace with mars?
2016 Mar 03 2:11 PM
2016 Mar 03 1:27 PM
sun.security.validator.ValidatorException is normally related to a not trusted site from your java environment.
Can you open https://tools.hana.ondemand.com from your webbrowser?
(Depending on your system configuration opening once with the webbrowser and confirming the rising security message should enable you to open it through eclipse.
Give it a try, hope it helps.
Andreas
2016 Mar 03 2:12 PM
Please check the URL in the browser address bar to make sure it was entered correctly.
2016 Mar 03 2:13 PM
2016 Mar 03 2:18 PM
Failed to load resource: the server responded with a status of 404 (Not Found)send @ sap-ui-core.js:71
https://tools.hana.ondemand.com/mars/content.xml Failed to load resource: the server responded with a status of 404 (Not Found)
This is what I have in the browser console.
2016 Mar 03 2:21 PM
I have the same error message with that link, including the /context.xml in the end.
But the url without content.xml, ie https://tools.hana.ondemand.com/mars/, is working fine in the browser, and also in eclipse.
2016 Mar 03 2:31 PM
I think the problem is connected with HTTPS request beacuse I don't have troubles with other HTTP repositories.
2016 Mar 03 2:32 PM
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
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(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.connectSocket(SSLSocketFactory.java:436)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
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:54)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
at sun.security.validator.Validator.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
... 18 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source)
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
at java.security.cert.CertPathBuilder.build(Unknown Source)
... 24 more
2016 Mar 03 2:32 PM
2016 Mar 03 2:53 PM
Hard to say whats the problem.
I had a similar error while working with SOAP-UI. The solution was to use keygen tool to import the certification manually to the cacerts repository of the JRE: See for example on:
http://stackoverflow.com/questions/684081/importing-ssl-certificate-into-eclipse
When I installed it some time ago I had no issues with this area. So a strange error, maybe a modification on the java-Version or parameters helps.
Regards, Andreas
2025 Jun 03 7:00 PM
Here are two steps to solve that problem:
Make sure that eclipse.ini already has the following two options after-vmargs:
-Djavax.net.ssl.trustStore=NONE -Djavax.net.ssl.trustStoreType=Windows-ROOT
The second step is to import the certificate from the website https://tools.eu1.hana.ondemand.com/ into your Windows.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |