Using http-access2 to get peer_cert

Is there a way to use http-access2 to obtain the peer's SSL
certificate?

I can do this with net/http:

https = Net::HTTP.new(host, port)
https.use_ssl = true
https.verify_mode = OpenSSL::SSL::VERIFY_NONE
cert = nil
https.start { |h| cert = OpenSSL::X509::Certificate.new(h.peer_cert) }
# cert now contains the peer's SSL certificate

Does http-access2 have something similar?

Thanks,
Dennis

Hi,

sutch wrote:

Is there a way to use http-access2 to obtain the peer's SSL
certificate?

No choice but to use (awful) verify_callback. It must be doable. I'll
add it.

Regards,
// NaHi