Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add --no-check-certificate in download #8

Open
H4lo opened this issue Sep 30, 2021 · 2 comments
Open

add --no-check-certificate in download #8

H4lo opened this issue Sep 30, 2021 · 2 comments

Comments

@H4lo
Copy link

H4lo commented Sep 30, 2021

To avoid certificate problems, need to add '--no-check-certificate' in the download script:

  wget --no-check-certificate "$url"  -O debs/$deb_name || die "Failed to download package from $url"
  echo "  -> Extracting libc binary package"

  mkdir libs/$id
  ./extract debs/$deb_name libs/$id
  echo "  -> Package saved to libs/$id"

  # download debug info package
  local url="$SOURCE/$dbg_name"
  echo "  -> Location: $url"
  echo "  -> Downloading libc debug package"
  wget --no-check-certificate "$url" 2>/dev/null -O debs/$dbg_name || die "Failed to download package from $url"

@Non1187
Copy link

Non1187 commented Mar 9, 2022

I have also met this problem. However, this looks more like the target website's fault. Maybe --no-check-certificate could cause some security problems, and we should add it by ourselves ?

@Non1187
Copy link

Non1187 commented Mar 9, 2022

Anyway, it would be better if the details of certificate problems could be informed, rather than getting a download error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants