MuleSoft SSL/TLS Tutorial | How to Configure One-Way & Two-Way (Mutual) SSL for Mule Application

By | May 22, 2020

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.

Ajmal Abbasi

Ajmal Hussain Abbasi is Integration Consultant By Profession with 13+ years experience in Integration domain mainly with TIBCO products. He has extensive practical knowledge of TIBCO Business Works, TIBCO Cloud, TIBCO Flogo, TIBCO Mashery, TIBCO Spotfire, EMS and TIBCO ActiveSpaces. He has worked on a number of highly critical integration projects in various sectors by using his skills in TIBCO Flogo, TIBCO API Management (Mashery), TCI, Tibco Designer, TIBCO Business Studio, Adapters, TIBCO EMS, RV, Administrator, TIBCO BE, TIBCO ActiveSpaces etc. Ajmal Abbasi has experience with MuleSoft ESB as well. Ajmal Abbasi is also experienced in the area of API Management particularly with WSO2 API management platforms. Ajmal Abbasi is also experienced in developing solutions using Core Java and J2EE Technologies. You can contact Ajmal Abbasi for Consultancy, Technical Assistance and Technical Discussions.

More Posts - Website - Facebook - LinkedIn - YouTube

2 thoughts on “MuleSoft SSL/TLS Tutorial | How to Configure One-Way & Two-Way (Mutual) SSL for Mule Application

  1. Craig

    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.


Leave a Reply

Your email address will not be published. Required fields are marked *