- This topic has 13 replies, 4 voices, and was last updated 4 years, 3 months ago by support-swapna.
-
AuthorPosts
-
clucenaParticipantHi, am unable to register CodeMix licence.
null
com.genuitec.eclipse.code
Error
Mon Jun 17 09:40:51 AEST 2019
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targetjavax.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 sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
at com.genuitec.eclipse.code.personal.PersonalAuthentication.A(Unknown Source)
at com.genuitec.eclipse.code.personal.AbstractResponse.B(Unknown Source)
at com.genuitec.eclipse.code.personal.PersonalAuthentication.<init>(Unknown Source)
at com.genuitec.eclipse.code.personal.PersonalAuthentication.from(Unknown Source)
at com.genuitec.eclipse.code.personal.PersonalAuthentication.getStatusOf(Unknown Source)
at com.genuitec.eclipse.code.controls.AbstractAuthenticateControlProvider.D(Unknown Source)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(Unknown Source)
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(Unknown Source)
at java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source)
at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
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)
… 25 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)
support-swapnaModeratorclucena,
Sorry that you are seeing this issue. It looks like a problem with trusted certificates for your JVM.
Can you please check if using a newer version of JDK to start the IDE helps?
Edit the myeclipse.ini or eclipse.ini file and point the -vm arg to a newer version of JDK (newer versions usually come with updated set of trusted certificates) and check if the issue persists?If you are behind a firewall or proxy, then it is likely that the SSL certs of the firewall are not Java-friendly. Other than making changes at the firewall level, you have to correctly set up the proxy in the IDE as well.
I’m not sure if you already have a proxy configured in Eclipse, but you could use an HTTP version of the proxy, instead of HTTPS – if one is available. This FAQ will explain how to set this up: https://www.genuitec.com/forums/topic/configuring-the-network-proxy-settings/
If you are still seeing the problem, then please share with us the IDE and its version details, OS and version, exact JDK version and the workspace log file which is located at workspace dir/.metadata/.log for further investigation.
Apologies for inconvenience caused. Please let us know how you get on with it.
–Swapna
Genuitec Support
clucenaParticipantHi Swapna,
I am behind a corporate firewall. I tried by setting the http proxy but it did not work either.
eclipse.buildId=4.11.0.I20190307-0500
java.version=1.8.0_181
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_AU
Framework arguments: -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product -data file:/C:/LocalData/eclipse.workspaces/workspace.microscheduler/ -product org.eclipse.epp.package.java.productAttachments:
You must be logged in to view attached files.
support-swapnaModeratorclucena,
Sorry that you are still seeing issues.Thank you for the details and the log file.
The fastest solution would be to check with a newer JDK. Please install a newer JDK, edit the eclipse.ini file to point to it and check if it helps.–Swapna
Genuitec Support
support-swapnaModeratorclucena,
Just checking if you got a chance to try with a newer JDK version.
Please let us know if you are still seeing the problem.–Swapna
Genuitec Support
clucenaParticipantHi Swapna,
I haven’t had a chance. I been out of the office with a strained back ?
It’s only the JRE for Eclipse’s execution? What is the minimum JRE version it requires?
Regards,
Carlos
ignaciomModeratorCarlos,
In Swapna’s absence I’m taking a look on this thread. Although, I have that the 1.8 version from Oracle you are using should be good enough. From the stacktrace you pasted. Are you running behind a firewall? Most of the time the “javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed” Exceptions are because the configuration of your firewall does not handle correctly requests done to https uris. Could you please confirm this by asking your network admin?
Best Regards
Ignacio
SDC Support
Girish PanditParticipantThis is an old thread but I got the same error, what URL it invokes to get the key added into eclipse/Spring Test Suites? I have added the certificate in JRE but I am still getting same error and I am wondering if the URL it tries to invoke is not pointing to genuitec and if that is different then I will add that certificate into the cacerts and try again.
support-swapnaModeratorGirish,
Sorry that you are seeing this issue.
Can you please clarify if you are behind a firewall or proxy? If yes, then did you configure it in the Eclipse/STS as suggested in this FAQ?
https://www.genuitec.com/forums/topic/configuring-the-network-proxy-settings/
Please also recheck with your network admin about handling https uris as suggested by Ignacio in his earlier response.If you have a key based license, then you can check the alternative method of activation i.e web activation as suggested here : https://www.genuitec.com/docs/setup/licensing-codemix/
If you are still seeing issues, then please share with us the .log file located at workspace dir/.metadata/.log (change the extension to .txt and attach it here) to help us investigate further.
Apologies for inconvenience caused.
–Swapna
Genuitec Support
Girish PanditParticipantIt is behind proxy and I have followed the instructions that was at the proxy documentation that you shared. I am trying to activate codemix and when go to my account there is no key/code that I can punch in.
Girish PanditParticipantThis is what I see in the log:
!ENTRY com.genuitec.eclipse.code 4 0 2020-07-07 08:30:15.446
!MESSAGE sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
!STACK 0
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(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)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1283)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1258)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
at com.genuitec.eclipse.code.personal.PersonalAuthentication.A(Unknown Source)
at com.genuitec.eclipse.code.personal.AbstractResponse.B(Unknown Source)
at com.genuitec.eclipse.code.personal.PersonalAuthentication.<init>(Unknown Source)
at com.genuitec.eclipse.code.personal.PersonalAuthentication.from(Unknown Source)
at com.genuitec.eclipse.code.personal.PersonalAuthentication.getStatusOf(Unknown Source)
at com.genuitec.eclipse.code.controls.AbstractAuthenticateControlProvider.D(Unknown Source)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1582)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
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(PKIXValidator.java:387)
at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
at sun.security.validator.Validator.validate(Validator.java:260)
at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1491)
… 24 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:146)
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131)
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
… 30 more
support-swapnaModeratorGirish,
It looks like you have a personal license which is not key based. We will email you a key based license soon to workaround this problem.
–Swapna
Genuitec Support
Girish PanditParticipantThank you Swapna! Appreciate your help!
support-swapnaModeratorGirish,
We have trouble reaching your hotmail account, so I sent you a PM (Private Message). Please check and let us know how it works for you.
–Swapna
Genuitec Support -
AuthorPosts