Skip to content

Commit

Permalink
Add Windows Specific Instructions for Disabling TLS on Self-Hosted Ru…
Browse files Browse the repository at this point in the history
…nners (#43059)

Co-authored-by: Siara <[email protected]>
  • Loading branch information
vmjoseph and SiaraMist authored Sep 22, 2023
1 parent 21d480a commit 74189a9
Showing 1 changed file with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,34 @@ By default, the self-hosted runner application verifies the TLS certificate for

To disable TLS certification verification in the self-hosted runner application, set the `GITHUB_ACTIONS_RUNNER_TLS_NO_VERIFY` environment variable to `1` before configuring and running the self-hosted runner application.

{% linux %}

```shell
export GITHUB_ACTIONS_RUNNER_TLS_NO_VERIFY=1
./config.sh --url https://github.com/YOUR-ORG/YOUR-REPO --token
./run.sh
```

{% endlinux %}
{% mac %}

```shell
export GITHUB_ACTIONS_RUNNER_TLS_NO_VERIFY=1
./config.sh --url https://github.com/YOUR-ORG/YOUR-REPO --token
./run.sh
```

{% endmac %}
{% windows %}

```powershell
[Environment]::SetEnvironmentVariable('GITHUB_ACTIONS_RUNNER_TLS_NO_VERIFY', '1')
./config.cmd --url https://github.com/YOUR-ORG/YOUR-REPO --token
./run.sh
```

{% endwindows %}

{% warning %}

**Warning**: Disabling TLS verification is not recommended since TLS provides privacy and data integrity between the self-hosted runner application and {% data variables.product.product_name %}. We recommend that you install the {% data variables.product.product_name %} certificate in the operating system certificate store for your self-hosted runner. For guidance on how to install the {% data variables.product.product_name %} certificate, check with your operating system vendor.
Expand Down

0 comments on commit 74189a9

Please sign in to comment.