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

How to Resolve an SSL Handshake Error With Mule

DZone's Guide to

How to Resolve an SSL Handshake Error With Mule

With these tips, you should be good sending requests to your Mule application again.

Free Resource

Transform incident management with machine learning and analytics to help you maintain optimal performance and availability while keeping pace with the growing demands of digital business with this eBook, brought to you in partnership with BMC.

When you are running or deploying Mule 3.8 applications, you should note that TLSV1 is disabled by default, as it has security vulnerabilities. So, any application that you develop should be supporting only TLS1.1 and TLS1.2. If you have an HTTPS listener in your application and you want to send a request using the Fiddler, it may complain the following error:

org.mule.module.http.internal.listener.grizzly.MuleSslFilter: SSL handshake error: Client requested protocol TLSv1 not enabled or not supported

The fix for the error is:

  1. Make sure that the Fiddler version is latest (>= .NET 4.0).
  2. By default, Fiddler supports only TLSV1, so we need to add TLS1.1 and TLS1.2 so that Fiddler sends the request using the server supported TLS version (in our case, it is our Mule runtime).
  3. Go to the Tools option in the menu item and click Fiddler Options.
  4. Select HTTPS folder.
  5. If the checkbox Decrypt HTTPS traffic is not checked, then check it.
  6. You should see Protocols with a hyperlink to click.
  7. Click on the link and add this text or append to the existing text: <client>;ssl3;tls1.0;tls1.1;tls1.2.
  8. Then close and reopen the Fiddler. You should be good sending requests to your Mule application now.

Here are the screenshots:

Figure 1

Figure 1

Figure 2

Figure 2

Hope this helps!

Evolve your approach to Application Performance Monitoring by adopting five best practices that are outlined and explored in this e-book, brought to you in partnership with BMC.

Topics:
mule esb ,performance ,ssl

Published at DZone with permission of Akkiraju Ivaturi. See the original article here.

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}