Configuring Mule Application Using Two Way SSL

  1. Add a Listener, set the Display Name as /server : 8082, set the Path to /server.
  2. Now, we will do the connector configuration — Click on the green plus icon and a dialog box will appear.
  3. Set the Protocol to HTTPS, and set the Port to 8082
  4. Now, head over to the TLS tab -> Under TLS Configuration, Select Edit Inline -> Enter the TrustStore and KeyStore Configuration(see images for config)
  5. Add a Transform Message and enter the following dataweave script:
  1. Add a Listener, set Display Name as /client : 8081, set Path as /client.
  2. Now, we will do the connector configuration — Click on the green plus icon and a dialog box will appear
  3. Set the Protocol to HTTP, and set the Port to 8081
  4. Add a Request Component, set its Display Name as Call Server — : 8082/server and set the path to /server
  5. Now, we will do the configuration — Click on the green plus icon and a dialog box will appear.
  6. Set the Protocol to HTTPS, set Host to localhost and set Port to 8082.
  7. Now, head over to the TLS tab -> Under TLS Configuration, Select Edit Inline -> Enter the Truststore Configuration(see image for config)
  8. Add a Transform Message, and Enter the following Dataweave Script:

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store