Fix ‘ssl_error_weak_server_ephemeral_dh_key’ error

Sean Jeffries avatar. By: Sean Jeffries
3 minute read
could not be saved because the source file

Home » Fix ‘ssl_error_weak_server_ephemeral_dh_key’ error

ssl_error_weak_server_ephemeral_dh_key is one of those errors on Firefox browser that can tantalise you. The Error message doesn’t come with a specific solution and it’s mostly a combination of troubleshooting steps that can cure this error. As with all the other Firefox errors, we need to spare some time and understand why the error message is displayed in the first place.

firefox-independent-1200.5bd827ccf1ed

The ssl_error_weak_server_ephemeral_dh_key error message may be displayed due to the following reasons,

  • The website you are trying to access may be vulnerable to certain attacks.
  • Certain websites secure their servers and in order to access these websites, you need to have secured server certificates.
  • If you are using Tomcat server it is most likely that you have no secure server certificate and thus the error message.

Basic Checks

As per some of the users on the Firefox forums, the error message is also displayed due to old driver in your browser and updating the same will get rid of the issue. In order to update the driver

  • Access “Open menu” and then click on “Add-ons”
  • Update the drivers if found necessary

Some of the Firefox users have claimed that Refreshing the browser will resolve the issue. In order to refresh Firefox follow the steps below

  • Select “Open menu” from your Mozilla Firefox browser and then click on “Help menu.”
  • Now select “Troubleshooting Information” from the Menu
  • Click on “Refresh Firefox”

Solution-1- Set Firefox to Ignore the SSL Error

Well, this might not exactly be the safest thing to do but most of the folks back in the forum have reported that this methodology works. For this, to work you need to toggle two security codes in the Mozilla Firefox browser to false.

  • After opening the Mozilla Firefox browser click on the Firefox icon
  • In the search bar type “about:config”
  • The browser will show a warning message that says, “This might void your warranty” ignore it and click on “I’ll be careful, I promise!”
  • A new page will open and now you need to type “security.ssl3.dhe_rsa_aes_128_sha”
  • Check the Value tab, if it’s True, toggle it to False.
  • In the next step enter the following value in the search bar “security.ssl3.dhe_rsa_aes_256_sha”

Problems with Firefox Server Not Found Error? Check this out: How to fix ‘Server not Found’ error in Firefox browser

Resolving the ssl_error_weak_server_ephemeral_dh_key by Disabling SSL 2.0 in Tomcat Server

Its quiet possible that the Tomcat server might be enabled by default especially if you are using SSL 2.0. In this case just disable the SSL 2.0. Tomcat has weak ciphers enabled by default and these need to be disabled. Now open the server.xml file and enter add the code given below,

<connector port=”443″ maxhttpheadersize=”8192″ address=”127.0.0.1″

enablelookups=”false” disableuploadtimeout=”true” acceptCount=”100″ scheme=”https” secure=”true” clientAuth=”false” SSLEnabled=”true” sslEnabledProtocols=”TLSv1,TLSv1.1,TLSv1.2″ ciphers=”TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_RC4_128_SHA, TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA,SSL_RSA_WITH_RC4_128_SHA” keystoreFile=”mydomain.key” keystorePass=”password” truststoreFile=”mytruststore.truststore” truststorePass=“password”/>;

Considering that you have promptly followed the steps described above the Firefox should stop throwing the ephemeral message. Also your webppages should load faster than before.

Discussions

Next up

Windows 10 build 18298 revamps File Explorer’s light theme

Giles Ensor avatar. By: Giles Ensor
3 minute read

Microsoft recently rolled out the Windows 10 Build 18298. Let’s see what we can look forward to seeing in the near future. Before we start, […]

Continue Reading

Windows File Protection: Here is all you want to know

Sovan Mandal avatar. By: Sovan Mandal
3 minute read

Windows File Protection happens to be a built-in Windows feature designed to protect critical system files from getting replaced or overwritten, be it inadvertently or […]

Continue Reading

Top 10 USB gadgets for computer to get for this Christmas

Milan Stanojevic avatar. By: Milan Stanojevic
Less than a 1 minute read

Christmas is almost here, and if you’re planning to do so shopping, we suggest that you have a look at these great USB gadgets for […]

Continue Reading