[[ cc openssl-users for mailing list archival ]]

Plamen Ratchev wrote:
> 
> Hi Josh!
> 
> I was able to isolate the problem down to the proxy. Last night I tried the
> same script at my office, which doesn't have a proxy and everything worked
> fine. The proxy on my client's site is MS Proxy Server 2.0. I can access any
> HTTP page but when I switch to HTTPS the response is just a blank page
> <HTML></HTML>. I tried testing with lwp_ssl_test and net_ssl_test with no
> luck: lwp_ssl_test completes normal with no errors; net_ssl_test result is
> an unknown error in module SSL.pm line 44.

If lwp_ssl_test works, then you got it!  You just need to script
like what's in lwp_ssl_test.

> LWP::UserAgent functions (I already tested all possible proxy options with
> it)? Or maybe another module that provides this capability.

Yes, look at lwp_ssl_test for the right %ENV settings, 
or perldoc Crypt::SSLeay, and check out the PROXY section.
The trick is setting:

  $ENV{HTTPS_PROXY} = 'http://proxy_hostname_or_ip:port';

but not using any LWP proxy settings explicitly.

--Josh
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to