Hello, I try to use wget to fetch SSL-protected files. The use of a proxy is mandantory in my case, so I use the following commands on my linux box:
export http_proxy=http://user:[EMAIL PROTECTED]:3128 export https_proxy=http://user:[EMAIL PROTECTED]:3128 (10.2.4.33 is the IP of the proxy system) Here is a dump # wget -dq https://160.83.4.123 DEBUG output created by Wget 1.9.1 on linux-gnu. Created socket 3. Releasing 0x808ad68 (new refcount 0). Deleting unused 0x808ad68. ---request begin--- GET https://160.83.4.123/ HTTP/1.0 User-Agent: Wget/1.9.1 Host: 160.83.4.123 Accept: */* Proxy-Authorization: Basic ejA4MTAwOmJtdWV1aWU= ---request end--- HTTP/1.0 500 Server Error Date: Thu, 02 Dec 2004 15:18:43 GMT Content-Length: 284 Content-Type: text/html Server: NetCache appliance (NetApp/5.5R4) Closing fd 3 As you can see in the request, wget uses GET to fetch the url. This is OK for http but for https it should use a CONNECT request instead. Normal web browsers work that way. When I omit the https_proxy environment variable, wget tries to directly connect to the server. Regards, Mit freundlichen Grüßen, Volker Westphal SO NSD Design,Build,Implement&Run Security Services Financial Customers IBM Business Services GmbH ... an IBM Global Services Company -------------------------------------- Wilhelm-Fay-Straße 30 - 34, 65936 Frankfurt Tel.: +49 (0) 69/6645-5056 E-Mail: [EMAIL PROTECTED]
smime.p7s
Description: S/MIME Cryptographic Signature