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

Discover 50 of the latest mobile performance statistics with the Ultimate Guide to Digital Experience Monitoring, brought to you in partnership with Catchpoint.

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!

Is your APM strategy broken? This ebook explores the latest in Gartner research to help you learn how to close the end-user experience gap in APM, brought to you in partnership with Catchpoint.

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.

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 }}