Forum: Ruby warning: peer certificate won't be verified in this SSL sess

Posted by Peter Aszkenasy (systemshq)
on 2007-10-09 12:40
Just wondering how to make the above warning message disappear from the
soap call?

irb(main):002:0> bf =
"https://api.betfair.com/global/v3/BFGlobalService.wsdl"
=> "https://api.betfair.com/global/v3/BFGlobalService.wsdl"
irb(main):003:0> soap =
SOAP::WSDLDriverFactory.new(bf).create_rpc_driver
warning: peer certificate won't be verified in this SSL session
ignored attr: {}abstract
ignored attr: {}nillable
ignored attr: {}mixed
=>
#<SOAP::RPC::Driver:#<SOAP::RPC::Proxy:https://api.betfair.com/global/v3/BFGlobalService>>
irb(main):004:0>

Thanks in advance
Posted by NAKAMURA, Hiroshi (Guest)
on 2007-10-09 16:36
(Received via mailing list)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Peter Aszkenasy wrote:
> Just wondering how to make the above warning message disappear from the
> soap call?

Install httpclient/2.1.2 from 
http://dev.ctor.org/http-access2/wiki#Download

Regards,
// NaHi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)

iQEVAwUBRwuRTB9L2jg5EEGlAQK2jgf/TsJtoZBDynFBGT4fg8LEeGfosuU1EZ7Z
frb1BZo0CLPb6pacO3/bYmVR9APOwGzdfLBq5Fhw2BJ2WHSav7yHKZ+T0hRe9G/L
iIwAJgt9KZ6uQdp2y1bofIKbC7uG3yUMWMcP500ySq/5ObXYznoM6ygM7dCLJMJW
Z+PCsGAfsjfdIgVT9QN/zE4lXZpDsA/C3/lDszrTeMsnWjTwE6bSbMIC7M0cx0Yv
9Dj5SfopYiwOST1C6QF0Bh+aruLlsfLwrK2d3aSWvP4lHO/lGS0AeClDOwlt3dvw
X5ELgbf2AaBGiWQTl3mVufJJgrERusDksE+m6gA/fiR904aSrDS2RA==
=D5Um
-----END PGP SIGNATURE-----
Posted by Peter Aszkenasy (mrpete)
on 2007-10-09 16:54
Thanks that works great!
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.