title: Warning: stream_socket_enable_crypto(): SSL operation failed with code 1
body: <p>I have a problem with CSCart, it fails sending mail via google account.
  To check if there is a problem in server config or in CSCart's scripts I installed clean library PHPMailer and tried to send test message using example script.
  Result is the same:</p>
  
  <pre><code>Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in [script path]/class.smtp.php on line 338    
  </code></pre>
  
  <p>OpenSSL connection from console works good.</p>
  
  <p>FreeBSD 10.0, Apache24, php5.6.</p>
  
  <p>I could not find any information in google and for now I even do not know in which config file to search the issue root.</p>