Skip to content

Instantly share code, notes, and snippets.

@pudquick
Created November 17, 2013 03:26
Show Gist options
  • Select an option

  • Save pudquick/7508671 to your computer and use it in GitHub Desktop.

Select an option

Save pudquick/7508671 to your computer and use it in GitHub Desktop.
# Before importing cert into keychain as trusted #
mbp:curl_is_bad mike$ python replace_curl.py https://tidia.ita.br/
Error: Valid cert chain, untrusted root
# After importing cert into keychain as trusted #
mbp:curl_is_bad mike$ python replace_curl.py https://tidia.ita.br/
expected bytes: 528
progress: https://tidia.ita.br/ 0.0 (Total byte %: 0.0)
progress: https://tidia.ita.br/ 528.0 (Total byte %: 100.0)
received: 528 bytes total
mbp:curl_is_bad mike$
@gregneagle

Copy link
Copy Markdown

Seems right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment