From 5d7f1442c3e6b1dcf02a58cfd1f40202b5b8c26f Mon Sep 17 00:00:00 2001 From: fourbroad Date: Thu, 30 Jul 2026 10:18:54 +0800 Subject: [PATCH] fix(install.ps1): force TLS 1.2 via ServicePointManager (eightarms.net requires TLS>=1.2) --- install.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.ps1 b/install.ps1 index 0f2928c..51e4b47 100644 --- a/install.ps1 +++ b/install.ps1 @@ -14,9 +14,11 @@ Do not add the install directory to the user PATH. .EXAMPLE + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 irm https://eightarms.net/fourbroad/octopus-release/raw/branch/main/install.ps1 | iex .EXAMPLE + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 irm https://eightarms.net/fourbroad/octopus-release/raw/branch/main/install.ps1 | iex; Install-Octopus -Version 0.1.3 #> [CmdletBinding()] @@ -27,6 +29,7 @@ param( Set-StrictMode -Version Latest $ErrorActionPreference = "Stop" +[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 $APP = "octopus" $REPO = "fourbroad/octopus-release"