Can ssl be made to ignore certificates in HTTP Client?

asked 2018-03-22 14:52:07 -0500

mstang gravatar image

Hitting an error with an http origin:

× Closecom.streamsets.pipeline.api.StageException: HTTP_32 - Error executing request: 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

With curl I get a similar error unless I use the -k (insecure) option. Is there a way to do the same with sdc?

edit retag flag offensive close merge delete

Comments

In python it can be done with these options: session = requests.Session() session.trust_env = False response = session.get(url, headers=headers, verify=False)

mstang gravatar imagemstang ( 2018-04-06 22:01:19 -0500 )edit