Unable to connect to My KNIME Hub

Hi, does anyone know why I’m unable to connect?


Hi @rong626,
Can you go to View → Open KNIME Log… and see what error message it shows?
Kind regards,
Alexander

Hi Alex,

It shows as

logs.txt (92.1 KB)

Hi @rong626,
Here we have the culprit:

PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

This says that KNIME cannot verify the SSL certificate of KNIME Hub. If you open hub.knime.com in the browser, you see that it has a valid certificate, though.

I assume that the proxy you have set up in your OS, which is also used by KNIME, does some packet inspection and acts as a man-in-the-middle. You can try adding the following line to your knime.ini:

-Djavax.net.ssl.trustStoreType=WINDOWS-ROOT

This tells KNIME to use the Windows trust store for certificates. If that is configured correctly and contains the certificate chain for your proxy, then it should fix the issue.
Kind regards,
Alexander

5 Likes

Adding the line has made the connection successful. Thank you

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.