Netflix / conductor

Conductor is a microservices orchestration engine.
Apache License 2.0
12.84k stars 2.33k forks source link

HTTS task support conductor #3835

Open Akash47 opened 10 months ago

Akash47 commented 10 months ago

Hi Everyone,

Need help to call URL's which are HTTPS , currently getting below ERROR :

Failed to invoke HTTP task due to: java.lang.Exception: I/O error on POST request for "https://localhost:8080/uri": PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; nested exception is javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target where to configure cert in conductor server

Robban1980 commented 10 months ago

@Akash47 you need to add the public certificate to the trusted certificate store. For example, take a look at this from oracle as the certificate part is Java specific and not conductor specific https://docs.oracle.com/javase%2Ftutorial%2F/security/toolfilex/rstep1.html

Or on stackoverflow here https://stackoverflow.com/questions/9619030/resolving-javax-net-ssl-sslhandshakeexception-sun-security-validator-validatore