Can anybody help me with this?
I am working on a HTTP Get call and get the following error in the system error log:
Wrapped 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
Example of the code:
var url = 'ultra.fobocloud.com/.../vehicle
var result = rbv_api.sendHttpGet(url);
rbv_api.print(result);
I already checked this post but i cant get any further with this
https://community.progress.com/community_groups/rollbase/f/25/p/21935/77004#77004
Can anybody tell me what to do?
Thanks in advance.
Regards Jorrit
Hi Srinivas,
Its working...:)
Many thanks for all the people that help me with this question!!!!
Best Regards,
Jorrit
Please download the cerificate file from the below location
progresssoftware-my.sharepoint.com/.../EmEWPZVc9CFFgfO8UhLITrcBmu7-Lcp6LlhRmfTdglzlyw
Thanks
Srinivas
Hi,
Is there anybody who can help me with this?
Regards Jorrit
Hi Jorrit, what certificates did you already import into the truststore?
Hi Ruben,
None, is there any documentation how to do that in Rollbase PAS instance?
Regards Jorrit
What is the Rollbase version and Java version you are using ?
That URL is HTTPs and as per Chrome seems to have a valid SSL certificate issued by Godaddy G2 CA server
It appears the most recent JRE/JDK for Java 8 (update >= 31) and JRE/JDK for Java 7 now include the Godaddy G2 CA server in the default trust store. If possible, it's urged you upgrade your JRE/JDK to the latest Java 8 update to resolve this issue.
stackoverflow.com/.../godaddy-ssl-cert-not-working-with-java
Hi Jorrit,
Please follow the below steps to import the certificate file .
keytool -import -trustcacerts -keystore "C:\Program Files\Java\jdk1.8.0_201\jre\lib\security\cacerts" -storepass changeit -noprompt -alias mycert -file "C:\Program Files\Java\jdk1.8.0_201\jre\lib\security\fobocloud.cer"
Now execute the below code in object script trigger.
var url = "ultra.fobocloud.com/.../vehicle
var result = rbv_api.sendHttpGet(url);
rbv_api.print(result);
Please let me know if you face any issue.
Thanks
Srinivas
Please download the cerificate file from the below location
progresssoftware-my.sharepoint.com/.../EmEWPZVc9CFFgfO8UhLITrcBmu7-Lcp6LlhRmfTdglzlyw
Thanks
Srinivas
Hi Srinivas,
Its working...:)
Many thanks for all the people that help me with this question!!!!
Best Regards,
Jorrit
Hi Srinivas,
Its working....:)
Many thanks for all the people who helped me with this!!!
Best regards,
Jorrit