Closed anedward01 closed 7 hours ago
Describe the bug
In the Install-Remotely.ps1 script, there is a hardcode to only support tls1.2 located at line 20:
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12
My environment only supports tls1.3 connections which was causing the script to error out. To remedy this, I replaced line 20 with the following:
[Net.ServicePointManager]::SecurityProtocol = "tls13, tls12"
This allowed me to successfully download and install the application. It's not the best code, but it works well enough for what it serves.
To Reproduce Steps to reproduce the behavior:
Remotely Version Server (can be found on about page): 2024.02.23.1927 Agent (can be found in device card): 2024.02.23.1927
Expected Behavior A clear and concise description of what you expected to happen.
When running the install script, the Invoke-WebRequest should successfully process.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional Context Add any other context about the problem here.
Added in the latest release.
Describe the bug
In the Install-Remotely.ps1 script, there is a hardcode to only support tls1.2 located at line 20:
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12
My environment only supports tls1.3 connections which was causing the script to error out. To remedy this, I replaced line 20 with the following:
[Net.ServicePointManager]::SecurityProtocol = "tls13, tls12"
This allowed me to successfully download and install the application. It's not the best code, but it works well enough for what it serves.
To Reproduce Steps to reproduce the behavior:
Remotely Version Server (can be found on about page): 2024.02.23.1927 Agent (can be found in device card): 2024.02.23.1927
Expected Behavior A clear and concise description of what you expected to happen.
When running the install script, the Invoke-WebRequest should successfully process.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional Context Add any other context about the problem here.