Hi, I apologise in advance if this is a really simple query, but I have been trying all day to get a perl script to fetch content from an https page. I cannot get the lwp-ssl-test script that comes with the Crypt-SSLeay-0.29 distribution to work with a proxy; i.e. -proxy . When I go: ./lwp-ssl-test -p http://edpd05:3128 https://ir-file.ird.govt.nz/ I get: (Bad hostname \'ir-file.ird.govt.nz\') and a return code of: 500. I can ping the proxy with from the machine I am running my perl script. But, when the proxy administer snoops the network he cannot see requests coming my machine to anywhere. It looks like the 'package' is trying to resolve the https site on my machine, rather than let the proxy do it. When I use an IP address: ./lwp-ssl-test -p http://edpd05:3128 https://210.54.247.202 I get a html page from the proxy (SQUID) saying that 210.54.247.202 is not on the list of allowed SSL sites. (We block all traffic to/from SSL sites; and explicitly allow traffic to a smal list of SSL sites). ( Clifton Chan | Information Technology | IRD ) ( ph. +64 4 801 4752 | 1st Floor | Information Technology ) ( fax +64 4 801 4636 | 15 Dixon Street | PO BOX 2198 ) ( [EMAIL PROTECTED] | Wellington, NZ | Wellington, NZ ) ( ) ( Disclaimer: This message represents the views and opinions of the author ) ( and not those of the Inland Revenue Department. ) ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]