Skip to content

Fix TLS 1.2 negotiation in Test-ListPath.ps1#1133

Closed
larsct wants to merge 1 commit into
Romanitho:mainfrom
larsct:main
Closed

Fix TLS 1.2 negotiation in Test-ListPath.ps1#1133
larsct wants to merge 1 commit into
Romanitho:mainfrom
larsct:main

Conversation

@larsct

@larsct larsct commented Mar 13, 2026

Copy link
Copy Markdown
Contributor

Description

Fixes #1131

Adds explicit TLS 1.2 support to Test-ListPath.ps1, mirroring the existing pattern already used in Test-ModsPath.ps1.

Problem

When fetching the excluded apps list from a remote URL behind a corporate proxy, the function fails with a TLS negotiation error. The root cause is that SystemDefault does not reliably negotiate TLS 1.2 through corporate proxies.

Solution

Added [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 — the same fix already present in Test-ModsPath.ps1.

Testing

Verified in a corporate proxy environment where the issue was reproduced and resolved with this change.

Fix TLS 1.2 negotiation in Test-ListPath for corporate proxy environments
@github-actions github-actions Bot added the invalid-branch Invalid branch label Mar 13, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Invalid Branch Pattern for main Branch

According to our GitFlow workflow:

  • Pull requests to the main branch are only allowed from hotfix/* or release/* branches
  • Regular feature development and other changes should target the develop branch

📝 Action required: Please update your PR to target the develop branch instead.

For more details about our contribution workflow, please refer to our CONTRIBUTING.md guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

invalid-branch Invalid branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Enabling TLS 1.2 in ListPath

1 participant