githubtraining / githubtraining/training-manual

Certificate Error for new HTTPie in GHES

Open
#318 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.