gimberg
gimberg

Reputation: 3

I am trying to consume a SOAP service with an HTTPS url in Mule with AnypointStudio

enter image description hereI am trying to consume a SOAP service with an HTTPS url in Mule with AnypointStudio, but it sends me an error

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

how can I solve that? emphasized text

Upvotes: 0

Views: 1252

Answers (1)

satish chennupati
satish chennupati

Reputation: 2650

i would assume that the web-service you are trying to consume required a SSL certificate. so when you are configuring your web service consumer component you need to specify/configure the TLS context. click the security Tab and select WS-Security Signature. Click om the green plus sign to open the TLS context dialog enter image description here

and in the TLS options panel specify the TrustStore and Keystore path

enter image description here

so when a request goes to the web-service consumer mule with send along the certificate specified here which tells the web-service host that the request is coming from a valid source and its all OK to send a reply back

Upvotes: 1

Related Questions