title: Handshake failure while trying to send mail using openssl
body: <p>I am trying to send mail from terminal using openssl by connecting to gmail's server using ssl on the port 465. Things are fine until i enter from address and authenticate. But when i enter RCPT TO, i get the following error.</p>
  
  <pre><code>RCPT TO: &lt;abc@gmail.com&gt;
  RENEGOTIATING
  139815845389984:error:1409E0E5:SSL routines:SSL3_WRITE_BYTES:ssl handshakefailure:s3_pkt.c:59
  </code></pre>
  
  <p>I can guess out that the problem might be due to missing security certificates. Can someone please help me solve the problem?</p>