Scoop icon indicating copy to clipboard operation
Scoop copied to clipboard

[Bug] Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression

Open plotnikovmisa135-bit opened this issue 2 months ago • 1 comments

i am trying to install scoop on windows 7 and its keep just saying

Invoke-RestMethod : The request was aborted: Could not create SSL/TLS secure channel. At line:1 char:1

  • Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
  •   + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc
     eption
      + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
    
    

PS C:\Windows\system32>

i am having 5.1 version of powershell

plotnikovmisa135-bit avatar Sep 27 '25 14:09 plotnikovmisa135-bit

Enable TLS 1.2 and retry -- it works fine for me on Windows 10 v2015.

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Image

z-Fng avatar Sep 27 '25 16:09 z-Fng