Skip to content
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

In build.ps1 scripts that fetch from ServerCommon, set SSL protocols #5551

Closed
5 tasks done
joelverhagen opened this issue Feb 27, 2018 · 1 comment
Closed
5 tasks done
Assignees

Comments

@joelverhagen
Copy link
Member

joelverhagen commented Feb 27, 2018

A lot of machines default to SSL 3.0 and TLS 1.0, which is not compatible with GitHub.

System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.
   at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.GetResponse(WebRequest request)
   at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.ProcessRecord()

Repositories:

  • NuGetGallery
  • NuGet.Jobs
  • NuGet.Server
  • NuGet.Services.Metadata
  • NuGet.Services.EndToEnd
@joelverhagen joelverhagen self-assigned this Feb 27, 2018
@joelverhagen
Copy link
Member Author

Workaround is to run this on your machine:

Set-ItemProperty -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord

@skofman1 skofman1 added this to the S132 - 2018.02.26 milestone Feb 28, 2018
joelverhagen added a commit that referenced this issue Mar 1, 2018
joelverhagen added a commit to NuGet/NuGet.Services.EndToEnd that referenced this issue Mar 1, 2018
joelverhagen added a commit to NuGet/NuGet.Services.EndToEnd that referenced this issue Mar 1, 2018
joelverhagen added a commit to NuGet/NuGet.Services.Metadata that referenced this issue Mar 1, 2018
joelverhagen added a commit to NuGet/NuGet.Services.Metadata that referenced this issue Mar 1, 2018
joelverhagen added a commit to NuGet/NuGet.Server that referenced this issue Mar 1, 2018
joelverhagen added a commit to NuGet/NuGet.Server that referenced this issue Mar 1, 2018
joelverhagen added a commit to NuGet/NuGet.Jobs that referenced this issue Mar 1, 2018
@edyoung edyoung mentioned this issue Mar 5, 2018
joelverhagen added a commit to NuGet/NuGet.Jobs that referenced this issue Oct 26, 2020
joelverhagen added a commit to NuGet/NuGet.Jobs that referenced this issue Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants