Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Enabling and Disabling TLS Settings in MuleSoft’s Anypoint Studio

DZone's Guide to

Enabling and Disabling TLS Settings in MuleSoft’s Anypoint Studio

In order for some applications to work locally while developing your application, you might have to enable TLSV1.0 in Anypoint Studio.

Free Resource

Discover how Microservices are a type of software architecture where large applications are made up of small, self-contained units working together through APIs that are not dependent on a specific language. Brought to you in partnership with AppDynamics.

Mule ESB 3.8 by default supports only TLSV1.1 and TLSV1.2. Some applications need to post to endpoints that are based on TLSV1.0. In order for them to work locally while developing your application, you might have to enable TLSV1.0 in Anypoint Studio.

Follow the steps to enable TLSV1.0 so that your applications running through Anypoint Studio will not complain any errors:

  1. Go to the AnyPoint Installation folder.
  2. Navigate to Plugins directory if you are using Windows.
  3. If you are using Mac, then navigate to Applications > Anypoint Studio > Contents > Eclipse > Plugins.
  4. Now search for folder “org.mule.tooling.server.3.8.x.ee_6.1.x.yyy.mm.dd.” Navigate to directory “mule” and then to “conf” folder.
  5. Now you should find files with the names “tls-default.conf” and “tls-fips140-2.conf.”
  6. Edit each of the files by opening them and search for “enabledProtocols.”
  7. You should see “enabledProtocols=TLSv1.1,TLSv1.2.”
  8. Now add TLSv1 to the enabledProtocols.
  9. It should look like “enabledProtocols=TLSv1,TLSv1.1,TLSv1.2.”

Now, restart your Anypoint Studio just to make sure that it picks up the new settings. Your apps should be supporting TLS1.0.

Similarly, if you need to disable TLSv1.0 (as it is not accepted by PCi compliance), remove it from the enabledProtocols.

Note: This feature of editing the TLS values is available since Studio 5.4.3 as per the MuleSoft website. I hope this helps!

Discover the six challenges and best practices in managing microservice performance, brought to you in partnership with AppDynamics.

Topics:
mulesoft ,anypoint studio ,integration

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}