In MuleSoft, any REST services can be secured through SSL/TLS and we can opt for one-way SSL or two-way (Mutual) SSL/TLS for our web services. In this MuleSoft SSL/TLS video tutorial, I have explained step by step how to implement Mule REST Service with One-Way and Two-Way SSL/TLS and configure SSL on Server as well as on client side.
MuleSoft Video Tutorial: How to Secure Mule Application with One Way and Two Way SSL/TLS
In this video tutorial, I will explain with examples:
- How to Configure a Mule REST Service with One-Way SSL.
- I will generate self signed certificates for this purpose using Java Key Tool.
- How to Configure a Mule REST Service with Two-Way SSL (Mutual SSL).
- We will configure KeyStore and TrustStore fro HTTP Listener.
- We will configure certificates in browser as client.
If you want to further polish your knowledge about one way and two-way SSL, refer to the post explaining how one way and two way SSL work.
Watch video tutorial below on TutorialsPedia YouTube channel about using SSL/TLS in MuleSoft AnyPoint Studio for both one way and mutual SSL scenarios:
If you have any question, feel free to comment below in comment section.
Hi Admin,
I need one clarification,
I have created a REST API which uses one way SSL authentication, the same service has to consume a SOAP API which is secured by two way SSL.
So my question is, the keystore I’ve created for hosting the webservice, which I am using in HTTP Listener, can I use the same keystore and export it’s public certificate to provide it to Server to add in their truststore for the SOAP service which I have to consume?
Or do I have to create a new keystore that I can use it with the HTTP Request connector and authenticate against the SOAP service?
Thank You.
Dear Craig,
You can use the same but ideally you should have separate keystore for this case.