Bob Niederman wrote:
> 
> etcetera., where $srvr is 'http://servername.domain/file' or
> 'https://servername.domain/file'
> 
> Same general code works fileto the same boxes without proxy (different
> route not requiring proxy).
> 
> Works fine for http, ethereal shows nothing leaving the box for https, the
> $ua->request is failing immediately.
> 

Proxies tend to be quirky, and it may be that you do not
have access to the proxy at all!  I would recommend debugging
this with ./net_ssl_test in the Crypt::SSLeay distribution.
Just use the -d debug flag for debug output, and you may
have a hint as to what is going wrong with the proxy.

--Josh

> ./net_ssl_test -h
Usage: net_ssl_test [-d] [-b=NNN] [-h] [-p proxy_name:port] [GET|HEAD] 
[ssl_server_name] [port]

  -d  Debug mode
  -b  Benchmark NNN times, good test for memory leaks
  -h  This help message
  -p  Proxy server, via CONNECT method, localhost:80 format

  -cert  client certificate file
  -key   private key file

 method          defaults to HEAD
 ssl_server_name defaults to www.nodeworks.com
 port            defaults to 443

These are equivalent:

  ./net_ssl_test
  ./net_ssl_test HEAD www.nodeworks.com 443

This might be how you debug your proxy:

  ./net_ssl_test -d -p http://proxy_name:80 www.nodeworks.com

Note http:// on proxy hostname is stripped off, and is
meaningless to Crypt::SSLeay.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to