Ask Your Question
1

Disable SSL Key verification

asked 2018-05-29 04:21:29 -0500

Kumar gravatar image

updated 2018-05-29 09:38:05 -0500

metadaddy gravatar image

I am trying to access a rest client which is secured by oAuth2 authentication. From postman I am accessing by disabling the SSL verify. How to do the same thing in streamsets. I am getting below error when TLS is enabled.

HTTP Client
TLS_23 - Error attempting to initialize key store with key manager: Cannot recover key : conf.tlsConfig.keyStoreFilePath
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-05-29 04:39:24 -0500

Mufy gravatar image

The ability to override cert verification (overriding SSL key verification) in the HTTP Client origin has been disabled/discouraged for obvious security reasons. The path forward for you will be to configure a custom truststore that includes your custom cert and have that defined in the TLS config section.

edit flag offensive delete link more

Comments

I defined all TSL configurations like keyStore file path and keyStore password, then It is giving below exception TLS_23 - Error attempting to initialize key store with key manager: Cannot recover key

Kumar gravatar imageKumar ( 2018-05-29 06:41:06 -0500 )edit

Configure the truststore with the certificate, not the keystore.

metadaddy gravatar imagemetadaddy ( 2018-05-29 09:39:20 -0500 )edit

As per documentation keystore or truststore any one is sufficient right? correct me if i am wrong.

Kumar gravatar imageKumar ( 2018-05-30 02:18:23 -0500 )edit

As per your suggestion I configured truststore as well, but I am getting below exception Stage 'HTTPClient_03' initialization error: javax.ws.rs.ProcessingException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found

Kumar gravatar imageKumar ( 2018-05-30 04:23:26 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-05-29 04:21:29 -0500

Seen: 50 times

Last updated: May 29