githubtraining / githubtraining/training-manual
Certificate Error for new HTTPie in GHES
- Dominant language
- Shell
- Stars
- 340
- Forks
- 375
- PR merge metrics
- No merged PRs in 30d
Description
I disabled certificate checking for now in my local version of shared_functions by adding `--verify=no` to all the `http` commands so I can successfully teach my class tomorrow, but this should be investigated and fixed the proper way later.
Error message for option 2 in teach-class (URL for my test instance redacted and replaced with *************):
```
http: error: SSLError: HTTPSConnectionPool(host='*************', port=443): Max retries exceeded with url: /api/v3/repos/AmyTest/TestScripts/collaborators?affiliation=direct&per_page=100 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)'))) while doing a GET request to URL: https://*************/api/v3/repos/AmyTest/TestScripts/collaborators?affiliation=direct&per_page=100
http: error: SSLError: HTTPSConnectionPool(host='*************', port=443): Max retries exceeded with url: /api/v3/repos/AmyTest/TestScripts/invitations (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)'))) while doing a GET request to URL: https://*************/api/v3/repos/AmyTest/TestScripts/invitations
```
Contributor guide
Assessment
This issue has not been assessed yet.