title: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
body: <p>I'm currently trying to test the implemented changes for achieving security with Encrypted Shuffle in Cloudera Hadoop Environment.</p>
  
  <p>I've created the certificates and keystores  and kept them in appropriate locations.</p>
  
  <p>I'm testing TaskTracker's HTTPS port of 50060.</p>
  
  <p>When I do a curl on that port, I get below error response.</p>
  
  <pre><code>ubuntu@node2:~$ curl -v -k "https://10.0.10.90:50060"
  * About to connect() to 10.0.10.90 port 50060 (#0)
  *   Trying 10.0.10.90... connected
  * successfully set certificate verify locations:
  *   CAfile: none
    CApath: /etc/ssl/certs
  * SSLv3, TLS handshake, Client hello (1):
  * error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
  * Closing connection #0
  curl: (35) error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
  </code></pre>
  
  <p>When I did check with open ssl client, i got below response</p>
  
  <pre><code> ubuntu@node2:~$ openssl s_client -connect 10.0.10.90:50060
  CONNECTED(00000003)
  139749924464288:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:749:
  ---
  no peer certificate available
  ---
  No client certificate CA names sent
  ---
  SSL handshake has read 7 bytes and written 225 bytes
  ---
  New, (NONE), Cipher is (NONE)
  Secure Renegotiation IS NOT supported
  Compression: NONE
  Expansion: NONE
  ---
  </code></pre>
  
  <p>I'm not able to figure out what might be causing this issue ?</p>
  
  <p>Is there something that I'm missing ?</p>
  
  <p>PS : I've updated the <code>ca-certificates.crt</code> file and also kept the server <code>.crt</code> file under <code>/usr/share/ca-certificates/mozilla</code></p>