윈도우10에서 TLS 1.2 이상 요구 오류

This commit is contained in:
Jerry Chae committed 2026-05-13 18:57:40 +09:00
1 parent e0726a2f9d
commit d2eb316853
6 files changed
+24 -18

No files matched your search

+5 -2
View File
@@ -17,8 +17,8 @@
.EXAMPLE
.\install-tmux.ps1
# One-liner install from remote:
powershell -ExecutionPolicy Bypass -c "$t=\"$env:TEMP\install-tmux.ps1\"; iwr -useb 'https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-tmux.ps1' -OutFile $t; & $t"
# One-liner install from remote (works on Windows 10+):
powershell -ExecutionPolicy Bypass -c "[Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolType]::Tls12; $t=\"$env:TEMP\install-tmux.ps1\"; iwr -useb 'https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-tmux.ps1' -OutFile $t; & $t"
.NOTES
If execution policy error occurs:
@@ -31,6 +31,9 @@ param()
Set-StrictMode -Version Latest
$ErrorActionPreference = 'Stop'
# Force TLS 1.2+ for HTTPS downloads (required on Windows 10 / PowerShell 5.1)
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
# ────────────────────────────────────────────
# Utility functions
# ────────────────────────────────────────────