Skip to content

Instantly share code, notes, and snippets.

@trinvh
Created April 30, 2016 06:10
Show Gist options
  • Save trinvh/78867613ac9973cb9b4d2baf96dea2db to your computer and use it in GitHub Desktop.
Save trinvh/78867613ac9973cb9b4d2baf96dea2db to your computer and use it in GitHub Desktop.
When download a github content, it thows following error:
"ERROR: certificate ....To connect to raw.github.com insecurely, use `--no-check-certificate'"
Problem:
+ Unset valid time/timezone.
+ CA Certificate invalid.
Resolve:
+ Set valid datetime.
+ Reinstall CA Certificate.
+ Set global parameter --no-check-certificate for every requests:
`echo "check_certificate = off" >> ~/.wgetrc`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment