Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #2759

Re: ssl httpclient savon httpi

From Roland Schmit <roland.schmitt@web.de>
Newsgroups comp.lang.ruby
Subject Re: ssl httpclient savon httpi
Date 2011-04-13 08:52 -0500
Organization Service de news de lacave.net
Message-ID <6f7a1389c0f1c3a7a85c1153bd773002@ruby-forum.com> (permalink)
References <5a404f69f3921898b0a500f3b11c2746@ruby-forum.com>

Show all headers | View raw


Hi,
internally httpi uses httpclient for the request as you can see in the
httpclient.rb file in the adapter directory.
If httpclient works with your CA file, then httpi should work also.
The call in your httpclient program
  client.ssl_config.set_trust_ca('certfile')
is the same that will be performed from httpi if you have changed the
file in the adapter folder of httpi. So if httpclient is working httpi
should work also.
And because httpi/httpclient uses the openssl bindings the error 
messages are nearly identical.
"unable to get local issuer certificate" means that your program can not 
verify the servers certificate. Then two possibilities: your CA file is 
wrong or your client does not use it for verification of the server 
cert.

Regards
Rolle

-- 
Posted via http://www.ruby-forum.com/.

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

ssl httpclient savon httpi Matt Davies <mjdavies@glam.ac.uk> - 2011-04-13 07:23 -0500
  Re: ssl httpclient savon httpi Roland Schmit <roland.schmitt@web.de> - 2011-04-13 07:47 -0500
  Re: ssl httpclient savon httpi Matt Davies <mjdavies@glam.ac.uk> - 2011-04-13 07:58 -0500
  Re: ssl httpclient savon httpi Roland Schmit <roland.schmitt@web.de> - 2011-04-13 08:14 -0500
  Re: ssl httpclient savon httpi Matt Davies <mjdavies@glam.ac.uk> - 2011-04-13 08:29 -0500
  Re: ssl httpclient savon httpi Roland Schmit <roland.schmitt@web.de> - 2011-04-13 08:52 -0500
  Re: ssl httpclient savon httpi Matt Davies <mjdavies@glam.ac.uk> - 2011-04-13 09:36 -0500

csiph-web