-
-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
REST request failed: error getting server certificate. #33
Comments
Sorry to learn you have difficulties. Is |
That's the complete error message. |
Let me know what you see if you enter the following url into your web browser: You should receive a bunch of JSON or you might get the error message. |
The link actually contains a bunch of JSON like you said. |
@OPARA-PROSPER I am unable to reproduce the error you have described. Make sure you are executing the installer as Administrator, if you have not tried this already. The latest version of the CLI may be downloaded from here. Setup the CLI manually. Configuration instructions can be found after scroll past the chocalatey instructions. I'll leave this issue open for the time being. If you need help manually setting up the CLI please don't hesitate to ask for help. If there is any more information you can provide about how the installer is being called, that might help me get to the bottom of the problem you are having, I would appreciate it. Did you just recently download the installer? Just making sure you are using the latest version. |
I tried setting up manually and it worked, thanks for the feedback. |
@acgoncu I noticed your post on gitter regarding an issue with the Windows CLI installer. Thanks for the screen image. Are you using what version of Windows are you using? |
I can recreate this problem in Windows 7 but not in Windows 10. But what is even more disturbing is the previous version of the installer, 1.4.0, released last August, that I tested on Windows 7, also exhibits the same symptom. The 1.4.0 installer has not changed. Has something on GitHub changed? |
Perhaps some certifiactes have been replaced by certificates which sign chain can't be properly verified until its root certificate and is therefore considered untrusted? I'm not sure if Windows 7 got the newest updates on certificates. I'm not even sure if one can update those in Windows by hand. |
All good questions. This is a very annoying issue to say the least. Chrome and IE Web browsers on Win 7 will receive the JSON response. The version of the installer that I published was developed on a win 7 machine and worked fine then (I am referring to the previous release from last August). Now the same release doesn't work on the same machine. There could be something to what you suggest, I don't know how to deal with that scenario, yet.
Thanks for the comment.
Sent from my android device.
…-----Original Message-----
From: Norbert Melzer <[email protected]>
To: exercism/windows-installer <[email protected]>
Cc: Ryan Potts <[email protected]>, State change <[email protected]>
Sent: Mon, 19 Mar 2018 7:09 AM
Subject: Re: [exercism/windows-installer] REST request failed: error getting server certificate. (#33)
Perhaps some certifiactes have been replaced by certificates which sign chain can't be properly verified until its root certificate and is therefore considered untrusted?
I'm not sure if Windows 7 got the newest updates on certificates.
I'm not even sure if one can update those in Windows by hand.
--
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub:
#33 (comment)
|
I have Windows 7. I tried the Aug '17 and the Dec '17 installers, and both prompted the error message. |
This is what I have discovered as well. Back in August it worked on Windows 7, but not today. The installer does work fine in Windows 10. I'll get this figured out eventually. Let me know if you have any issues or questions regarding installing the CLI manually as @NobbZ recommended on Gitter. |
By accident I stumbled over a similar problem with rusts version manager Perhaps it is related and fixing the TLS version as described in this MS article does help? Background: Github recently removed support for some older TLS versions, which older Windows defaults to. You have to change the default version to a more modern TLS version to make it work again. |
Thanks @NobbZ this is the sort of information I have looking for to rationalize why something I compiled last August, that worked, now no longer works. I think it is not enough to just upgrade ones installation of Windows, I think the application may also need to be updated to utilize the changes as well. The latest version of Delphi 10.2.3 (released a few days ago) I learned yesterday has updates included in its libraries related to HTTP & REST. I scanned though the support DOC for the link you provided and it appears like it could be a couple of years old at least. So I think the recent changes GitHub has made is what has triggered the present issue with the CLI installer. It would seem that this has been a sleeping issue that has awoken. I will be installing 10.2.3 in a few days and will rebuild the installer to see if that helps. @NobbZ would you direct me to where GitHub talks about dropping support for older TLS versions? I may want to relay this information to Embarcadero (makers of Delphi and C++ Builder). At the very least I think I need to update my release notes for the Installer that it may not work for Windows 7 users.. 🤕 |
https://blog.github.com/2018-02-23-weak-cryptographic-standards-removed/ So yes, this is a very recent change on githubs side, barely a month ago. |
Thanks @NobbZ. I was not aware. My work on the Installer started in July last year. In hindsight it would have been nice if the REST response from |
Follow these instructions if you are running windows version earlier than version 10. You need to download and execute The Windows Installer for the CLI should work fine after making these changes to Windows. |
@OPARA-PROSPER and @acgoncu if you are willing would you mind attempting the fix I described in my previous comment? The fix has worked on my Windows 7 system, likely it will as well on yours. I would just like to have more than my system to go by before I update the release notes for the Windows CLI Installer. Let me know if you have any questions. |
I have released an update to the CLI Installer that addresses this issue. The installer will detect if there is an issue and advise the user to what actions need to be taken to make their system compatible. |
I have been trying to install the windows-installer version on my local machine running on a windows 7 OS. I have been getting this error message each time I try to install the CLI tool.
The text was updated successfully, but these errors were encountered: