Error: unable to find valid certification on AWS Connection

Hello,

I’m using Amazon Authenticator + S3 Connector to connect to my S3, but I’m getting an error about the certificate
image

ERROR Amazon S3 Connector Execute failed: Unable to execute HTTP request: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I’ve tried to change knime.ini, adding these two lines:

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

But when I do this, my Redshift connector throws another error:
image

ERROR Amazon Redshift Connector Execute failed: Error loading the keystore NONE.

Could anyone help me with this?
I’m using version 5.4.0
Thank you!

@diogo_bsantos Are you using a proxy, or is your workplace network managed by IT and have proxy implemented?

Yes, my workplace network is managed by IT and have proxy

@diogo_bsantos Make sure you can connect the S3 bucket and AWS-related URL.

We had the same issue, PKIX, but it was not because of SSL. It was because of the proxy. We had to get an access to the URLs.

Switch your workbench to classic mode (easiest way) and console output to Debug, run the workflows, get the URLs, and ensure these URLs are open. If possible, work with your IT team; use wireshark to capture the traffic when you run the workflow and send it to your IT team.

1 Like