From: Justin Meyer Date: 2006-03-29T03:41:45+09:00 Subject: Re: Verifying SSL with http-access2 on Windows Hi listrecv! On Wed, 29 Mar 2006, listrecv@gmail.com wrote: > Am I the only one whose ever tried to use http-access2 SSL on Windows? > > Surely, someone, somewhere could give me a pointer in how to verify > remote certs (Google didn't help). > I can't see why it would be different on Windows vs. Unix, but who knows? At any rate, this is what I do on my Unix box (no Windows here, sorry): @ca_file = "/path/to/remote/server's/pub/key" @proxy = ENV['HTTP_PROXY'] || ENV['http_proxy'] || nil @client = HTTPClient.new(proxy) @client.ssl_config.set_trust_ca(@ca_file) You might also find useful the example code at http://dev.ctor.org/http-access2/browser/tags/RELEASE_2_0_6/sample/ssl -- Justin