If you see errors like SSL certificate problem: unable to get local issuer certificate or The request was aborted: Could not create SSL/TLS secure channel , do this:
, a 401 Unauthorized error may occur due to local NuGet configurations; try adding the --ignore-failed-sources Octopus Deploy YAML snippet for your CI/CD platform to automate this installation? Octopus CLI Global Tool | Documentation and Support 1 Jan 2023 — unable to locate and download the latest octopus cli tool
- task: PowerShell@2 inputs: targetType: 'inline' script: | [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 iex "& $(irm https://raw.githubusercontent.com/OctopusDeploy/cli/master/scripts/install.ps1) " If you see errors like SSL certificate problem:
You can use a curl command to pull the latest version directly into your bin folder: curl -sSfL https://octopus.com | sh 🔍 Why Can't I Find the Latest Version? unable to locate and download the latest octopus cli tool
The download script might be trying to fetch a Windows .exe for a Linux agent, or an amd64 binary for an arm64 system.