Personal Edition 8.7 Connect Rest Caught unhandled exception: java.lang.RuntimeException: javax.net.ssl.SSLHandshakeException:

Hello,

Trying to setup, integrate and make a connect rest call to ChatGPT with Personal Edition 8.7. During the response post test getting the below exception. Tried with multiple API keys no luck. Browsed through many articles couldn’t get relevant solution.

I tried the same setup in community edition the integration worked!!! After importing the APP Package(JAR) into the personal edition the issue is still the same as below.

In case if the issue is regarding SSL Certification Installation, How can we install SSL certifications in Personal Edition? Can anyone please guide me through this as community edition is for limited period I want to explore in personal edition. Attaching few screenshots and log file for you reference.

Thanks

Caught unhandled exception: java.lang.RuntimeException: 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

H0G3U2J2L9JQV1MWUI8E5XPSXGGBPN1GQA.zip (123 KB)

HG2EQN96FP3NLS2TOR5Q1QKN37DOPYN8WA.zip (22.1 KB)

Hi @MithunR40 ,

you can try the following steps:

  1. Check if the SSL certificate is valid and trusted. You can use an online SSL checker tool to validate the SSL certificate.

  2. If the SSL certificate is valid, you can add it to the truststore. To do this, you need to download the SSL certificate and import it into the truststore.

  3. Alternatively, you can disable SSL certificate validation altogether. This is not recommended for security reasons, but it may be a temporary workaround to test connectivity.

Regards,

Bhargav

Hi @BHARGAVPRAKASHG,

Thanks for the response.

I see the SSL certificate is valid and trusted, attaching SS for your reference. Can I please know how to download an SSL Certification and import it into the truststore? or disable SSL certificate validation in Personal Edition 8.7? in my case it is ChatGPT (https://api.openai.com/v1/completions) which I’m trying to establish a connection.

Any article on how to do this? Please do the needful.

Regards,
Mithun R

Hi @MithunR40,

Check the above link for navigation.

Thanks,

Bhargav

@MithunR40 I think they are blocked by VPN. It works fine with PE in Personal Laptop.