Changeset 31826 for main

Show
Ignore:
Timestamp:
27.07.2017 22:16:11 (2 years ago)
Author:
ak19
Message:

Documenting a fallback solution to get wget to retrieve https pages without overtly requiring us to pass the --no-check-certificate flag. The fallback solution is not committed, in case there's a better way, but it has been tested to work.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/build-src/packages/wget/README

    r31825 r31826  
    120120Can turn off requiring a certificate check for https URLs in wgetrc conf file, as explained here: 
    121121https://superuser.com/questions/508696/wget-without-no-check-certificate 
    122 However, the linux system wget and windows wget binary are not setting this in their wgetrc file, so how is the certificate check off for them by default? 
     122And the location of wgetrc: https://www.gnu.org/software/wget/manual/html_node/Wgetrc-Location.html (for now setting the env var WGETRC in $GSDLHOME/setup.bash, which points to $GSDLHOME/bin/linux). Then the locally built linux wget 1.17.1 works, and so would v 1.15. 
     123 
     124However, the linux system wget and windows wget binary v 1.17.1 are not setting thisvariable in their wgetrc file, so how is the certificate check off for them by default? The windows wget binary v 1.15 does require the no-check-certificate flag, but v 1.17.1 works out of the box. So why does the 1.17.1 version I built on linux behave like the 1.15 on Windows binary (and built on Linux), which required the flag? 
    123125 
    124126