title: SSL FATAL ERROR - Handshake Failure (40)
body: <p>I am trying to access the web application hosted in our radius server and the Firefox browser throws this error code <code>ssl_error_no_cypher_overlap</code>. The following is the message displayed in the browser.</p>
  
  <blockquote>
    <p>An error occurred during a connection to X.X.X.X. Cannot communicate
    securely with peer: no common encryption algorithm(s). (Error code:
    ssl_error_no_cypher_overlap)</p>
  </blockquote>
  
  <p>After surfing the internet, I thought the cipher suites which are exchanged between the client and server caused the problem and tried capturing the packet. Surprisingly there is a common cipher between the client and server and the Server Hello is sent from the server as well. </p>
  
  <blockquote>
    <p>Client Hello Packet:</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/JprIn.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/JprIn.jpg" alt="enter image description here"></a></p>
  
  <blockquote>
    <p>Server Hello Packet:</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/9yMyS.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/9yMyS.jpg" alt="enter image description here"></a></p>
  
  <p>With in a few seconds, the server sends a fatal error says handshake failure (40).</p>
  
  <p><a href="https://i.stack.imgur.com/RVpAY.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/RVpAY.jpg" alt="enter image description here"></a></p>
  
  <p>Does anyone has faced this issue before and any idea what would have caused the problem?</p>
  
  <p>My server is Java 6 based, it uses the encryption algorithm DSA with SHA1 and I am using the latest Firefox 40.0.</p>