Reputation: 180
I want to consume a rest api with HTTPS protocol, a certificate with .p12 is shared with me , I am stuck I don't know how to consume them can any one help me with this please, If i try to call the end point url's an error is throw stating no valid certificate is found.
Upvotes: 0
Views: 1286
Reputation: 11
use spring security provider connector in mule and configure it.Please follow the following sample code.
and configure http inbound listener with jks file.
Upvotes: 1
Reputation: 341
I believe the below code would help!! note the "insecure" attribute being set to "true", which would resolve the certificate trust issue. Hope it helps!!
<tls:trust-store **insecure="true"** path="keystore.jks" type="jks" password="testing"/>
Upvotes: 0