Error: rbv_api.sendHttpGet request (unable to find valid certification path to requested target) - Forum - Rollbase - Progress Community

Error: rbv_api.sendHttpGet request (unable to find valid certification path to requested target)

 Forum

Error: rbv_api.sendHttpGet request (unable to find valid certification path to requested target)

This question is not answered

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

All Replies
  • 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