Hi,

In continuation to my previous mail, plz refer my below debug steps to
resolve this HTTPI::SSL Error,

As per Mislav's ssl doctor script avail in
http://mislav.uniqpath.com/2013/07/ruby-openssl/ my console output as
follows, :

export SSL_CERT_FILE=/usr/lib/ssl/cert.pem &  export
SSL_CERT_DIR=/usr/lib/ssl

ruby doctor.rb localhost
/usr/local/bin/ruby (1.8.7-p330)
OpenSSL 0.9.8k 25 Mar 2009: /usr/lib/ssl
SSL_CERT_DIR="/usr/lib/ssl"
SSL_CERT_FILE="/usr/lib/ssl/cert.pem"

HEAD https://localhost:443
Error: connection refused

plz give me your view for this fix



On Mon, May 26, 2014 at 5:31 PM, Usha Murali <[email protected]> wrote:

> Dear All,
>
> Openssl & ca cert seems to be correct in my system but still i get
> HTTPI::SSL Error, Plz help me , my environment as follows:
>
> $ whereis openssl
> openssl: /usr/bin/openssl /usr/include/openssl
> /usr/share/man/man1/openssl.1ssl.gz
>
> $ env | grep -i "ssl"
> SSL_CERT_FILE=/usr/lib/ssl/cert.pem
>
> $ rvm osx-ssl-certs status all
> Certificates for /usr/lib/ssl/cert.pem: Up to date.
>
> rvm osx-ssl-certs status all
> Certificates for /usr/lib/ssl/cert.pem: Up to date.
>
> $ rvm reload
> RVM reloaded
>
>
> Still it throws the following error, plz suggest how to resolve this, I
> have spent nearly one day still cant figure out the issue, plz help me ,
> the error as follws:
>
> HTTPI::SSLError in searchesController
>
> SSL_connect returned=1 errno=0 state=SSLv3 read server hello A: sslv3 alert 
> handshake failure
> SSL_connect returned=1 errno=0 state=SSLv3 read server hello A: sslv3 alert 
> handshake failureRAILS_ROOT: /usha/myapp
>
> 2.1.0/lib/httpi/adapter/httpclient.rb:28:in `request'
> /ruby-1.8.7-p330/gems/httpi-2.1.0/lib/httpi.rb:140:in `request'
> .rvm/gems/ruby-1.8.7-p330/gems/httpi-2.1.0/lib/httpi.rb:112:in `post'
> /.rvm/gems/ruby-1.8.7-p330/gems/savon-2.3.2/lib/savon/operation.rb:86:in
> `call_with_logging'
> .rvm/gems/ruby-1.8.7-p330/gems/savon-2.3.2/lib/savon/request_logger.rb:12:in
> `call'
> rvm/gems/ruby-1.8.7-p330/gems/savon-2.3.2/lib/savon/request_logger.rb:12:in
> `/.rvm/gems/ruby-1.8.7-p330/gems/savon-2.3.2/lib/savon/client.rb:36:in
> `call'
>
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to