hub: Unknown CA Authority for github.com
On my MacBook Pro, running High Sierra, using hub installed via homebrew:
$ GITHUB_TOKEN=[REMOVED] hub pr list
Error fetching pull requests: Get https://api.github.com/repos/username/project-foo/pulls?per_page=100&: x509: certificate signed by unknown authority
Note this is different than #852 as this project using ordinary github.com, which uses a normal TLS certificate signed by a well-known root CA.
About this issue
- Original URL
- State: open
- Created 6 years ago
- Reactions: 3
- Comments: 17 (3 by maintainers)
Actually, I get the same error on many others sites (if I change the code in http.go):
However, these work:
I can open all these with curl/wget/chrome with no errors.