From: Brian Candler Date: 2010-09-01T17:44:20+09:00 Subject: Re: certificate verify failed Charles Rajesh wrote: > I get the following error while i verified through command-line using > OpenSSL: >>openssl verify sdk-cert.pem > "error 20 at 0 depth lookup:unable to get local issuer certificate" Ah, you did step 1 already. Retry using: openssl s_client -CApath /path/to/cacert.pem -connect foo.bar:443 where cacert.pem is the issuer certificate (i.e. the certificate of the CA which signed your server's certificate) If the certificate is self-signed, you could try using a copy of the server's certificate here. -- Posted via http://www.ruby-forum.com/.