Could not create SSL/TLS secure channel.
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 5.1k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
First of all, thank you very much for this awesome product. I just found it, and it is really cool. Unfortunately I came across a little problem.
**Describe the bug**
I am trying to install the Resident Agent on an old Windows 7 machine (yes I know, it's outdated). I can connect using the instant support client (but then I have to acknowledge the connection). When I try to install the agent, I get the following error message:
```
2021-11-12 14:26:33.698 [Error] The request was aborted: Could not create SSL/TLS secure channel. at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Remotely.Agent.Installer.Win.Services.InstallerService.d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Remotely.Agent.Installer.Win.Services.InstallerService.d__13.MoveNext() System
```
The server runs on Docker, and there is an nginx reverse proxy in front with a Let's Encrypt SSL cert. I was thinking that the Window 7 machine doesn't have the new root cert, so I added manually to the trusted root certs on the client. I also installed .net 4.8 runtime (just in case), but the problem persists. I can login to the website, the connection is shown as secure, but the agent won't install.
**Remotely Version**
Server (can be found on about page): Version: 2021.08.17.1435
Agent (can be found in device card): Can't install
**Expected Behavior**
Be able to install the agent
**Desktop (please complete the following information):**
- OS: [e.g. iOS] Window 7 Home, Service Pack 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with InstallerService.DownloadRemotelyAgent and the Windows agent installation path shown in the stack trace. Reproduce the failure on Windows 7 SP1 against the Docker deployment behind nginx, comparing it with the working instant support client; done means the Resident Agent installs successfully over the configured HTTPS connection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, docker, nginx
- Domain
- desktop, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100