title: Jmeter: Response code: Non HTTP response code: javax.net.ssl.SSLHandshakeException
body: <p>I have an application URL. I need to run login test using Jmeter. I recorded the login steps using blazemeter extension of chrome. But when I run it I get below error. I know there have been questions like this, I have tried few and it seems my case is different.</p>
  
  <p><strong>I have tried:</strong></p>
  
  <ol>
  <li><p>Added these two lines in jmeter.bat</p>
  
  <p>set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_65
  set PATH=%JAVA_HOME%\bin;%PATH%</p></li>
  <li><p>Run Jmeter using "Run as Administrator"</p></li>
  <li><p>Download the certificate from here <a href="https://gist.github.com/borisguery/9ef114c53b83e553b635" rel="nofollow noreferrer">https://gist.github.com/borisguery/9ef114c53b83e553b635</a> and install it this way
  <a href="https://www.youtube.com/watch?v=2k581jcWk9M" rel="nofollow noreferrer">https://www.youtube.com/watch?v=2k581jcWk9M</a>
  Restart the Jmeter but and try again but no luck.</p></li>
  </ol>
  
  <p>When I expand the error in Jmeter View tree listener I get error on this particular css file: <code>https://abcurl.xyzsample.com/assets/loginpage/css/okta-sign-in.min.7c7cfd15fa939095d61912dd8000a2a8.css</code></p>
  
  <p><strong>Error:</strong></p>
  
  <pre><code>Thread Name: Thread Group 1-1
  Load time: 268
  Connect Time: 0
  Latency: 0
  Size in bytes: 2256
  Headers size in bytes: 0
  Body size in bytes: 2256
  Sample Count: 1
  Error Count: 1
  Response code: Non HTTP response code: javax.net.ssl.SSLHandshakeException
  Response message: Non HTTP response message: Received fatal alert: handshake_failure
  
  Response headers:
  
  
  HTTPSampleResult fields:
  ContentType: 
  DataEncoding: null
  </code></pre>