[pca] Possible Bug with https and --no-check-certificate?

Felix.Schattschneider at dw-world.de Felix.Schattschneider at dw-world.de
Mon Jun 30 16:41:30 CEST 2008



Hi,

I had some trouble getting pca to run in proxy mode, and I think i finally
found the culprit:

line 661:
if (($o{ssprot} eq 'https') && ($wgetv >= 11000)) { $auth .=
'--no-check-certificate' }
I changed it to:
if (($o{ssprot} eq 'https') && ($wgetv >= 11000)) { $auth .= '
--no-check-certificate' }
(notice the blank just before "--no-check" !)
and everything worked dandy!

The resulting wget call now looks like
 /opt/csw/bin/wget  --execute http_proxy=http://192.168.x.x:8080/
"https://sunsolve.sun.com/pdownload.do?target=121004-04&method=h" -O
/export/patches/121004-04.tmp --http-user='***' --http-passwd='***'
--user-agent=Wget/1.10.2 --header="Authorization: Basic ***o"
--no-check-certificate
instead of
 /opt/csw/bin/wget  --execute http_proxy=http://192.168.x.x:8080/
"https://sunsolve.sun.com/pdownload.do?target=121004-04&method=h" -O
/export/patches/121004-04.tmp --http-user='***' --http-passwd='***'
--user-agent=Wget/1.10.2 --header="Authorization: Basic
***o"--no-check-certificate

Confuses wget somehow!

--
Mit freundlichen Grüßen / with kind regards
Felix Schattschneider
Deutsche Welle/IT-Betrieb
+49 228 429 3729 || felix.schattschneider at dw-world.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.univie.ac.at/mailman/private/pca/attachments/20080630/f056f6c9/attachment.html 


More information about the pca mailing list