Skip to content

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

Merged
Romanitho merged 2 commits into
Romanitho:developfrom
larsct:main
Mar 20, 2026
Merged

Fix TLS 1.2 negotiation in Test-ListPath.ps1#1134
Romanitho merged 2 commits into
Romanitho:developfrom
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.

Romanitho and others added 2 commits February 28, 2026 00:47
Fix TLS 1.2 negotiation in Test-ListPath for corporate proxy environments
@KnifMelti

Copy link
Copy Markdown
Collaborator

mirroring the existing pattern already used in Test-ModsPath.ps1

👌

@Romanitho
Romanitho merged commit 37756d5 into Romanitho:develop Mar 20, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants