Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/appatalks/gh_shr_cert_update
Getting around "Disabling TLS certificate verification" for GitHub Self-Hosted Runners
https://github.com/appatalks/gh_shr_cert_update
actions certificate ghes runner self-hosted ssl
Last synced: 28 days ago
JSON representation
Getting around "Disabling TLS certificate verification" for GitHub Self-Hosted Runners
- Host: GitHub
- URL: https://github.com/appatalks/gh_shr_cert_update
- Owner: appatalks
- License: gpl-3.0
- Created: 2024-05-20T15:08:42.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-22T20:41:27.000Z (8 months ago)
- Last Synced: 2024-12-24T00:18:11.728Z (about 1 month ago)
- Topics: actions, certificate, ghes, runner, self-hosted, ssl
- Language: Shell
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## GitHub Self-Hosted Runner Certificate Update (gh_shr_cert_update)
Getting around "[Disabling TLS certificate verification](https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/monitoring-and-troubleshooting-self-hosted-runners#disabling-tls-certificate-verification)" for GitHub Self-Hosted Runners.
This script adds your GitHub Enterprise Server's SSL to your Runner's certificate store.### Usage
To use this script, download it your your Runner's Path and execute it with the following command:
```bash
curl -s https://raw.githubusercontent.com/appatalks/gh_shr_cert_update/main/add_certificate.sh -O add_certificate.sh; chmod +x add_certificate.sh; sudo bash add_certificate.sh
```
Follow the instructions.
When it completes it will add the needed SSL to the correct path and add additional variables to the Runner's ```.env``` file.----