Prefer TLS 1.3 with TLS 1.2 fallback for improved security

This commit is contained in:
Patrick Asmus
2026-07-06 10:38:35 +02:00
parent 0fe6d8ad7b
commit 2c177fad25
2 changed files with 4 additions and 4 deletions

View File

@@ -10,7 +10,7 @@
### Lösungen
**Online-Installation schlägt fehl:**
1. Prüfen ob TLS 1.2 verfügbar ist:
1. Das Script setzt TLS 1.3 (bevorzugt) mit TLS 1.2 als Fallback. Auf älteren Systemen (z.B. Windows 10 ohne aktuelles .NET) wird TLS 1.3 ignoriert und TLS 1.2 genutzt. Aktiven Protokollstatus prüfen:
```powershell
[Net.ServicePointManager]::SecurityProtocol
```

View File

@@ -9,9 +9,9 @@ Author: Patrick Asmus
Web: https://www.cleveradmin.de
Repository: https://git.techniverse.net/scriptos/windows-updater.git
License: MIT
Version: 2.6.0
Version: 2.7.0
Date: 06.07.2026
Modifications: Reviews and improvements, part 4
Modifications: Prefer TLS 1.3 with TLS 1.2 fallback for improved security
#####################################################
#>
@@ -24,7 +24,7 @@ if (-not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdenti
exit 1
}
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls13 -bor [Net.SecurityProtocolType]::Tls12
#endregion