title: OpenSSL - error 18 at 0 depth lookup:self signed certificate
body: <p>I was trying to create a SSL certificate to use with MySQL as like mentioned here : <a href="http://dev.mysql.com/doc/refman/5.5/en/creating-ssl-certs.html" rel="noreferrer">http://dev.mysql.com/doc/refman/5.5/en/creating-ssl-certs.html</a></p>
  
  <p>While verifying the certificates I got the  following error</p>
  
  <pre><code>  # openssl verify -CAfile ca-cert.pem server-cert.pem client-cert.pem
      server-cert.pem: C = IN, ST = KERALA, L = COCHIN, O = ABCD, OU = OPERATIONAL, CN = SATHISH, emailAddress = sathish@abcd.com
      error 18 at 0 depth lookup:self signed certificate
      OK
      client-cert.pem: C = IN, ST = KERALA, L = COCHIN, O = ABCD, OU = OPERATIONAL, CN = sathish, emailAddress = sathish@abcd.com
      error 18 at 0 depth lookup:self signed certificate
      OK
  </code></pre>
  
  <p>Could someone help me on generating keys without any errors based on the document in the above link.</p>