Title: Building PowerShell in Windows results in a mismatch in security certificates · Issue #6233 · PowerShell/PowerShell · GitHub
Open Graph Title: Building PowerShell in Windows results in a mismatch in security certificates · Issue #6233 · PowerShell/PowerShell
X Title: Building PowerShell in Windows results in a mismatch in security certificates · Issue #6233 · PowerShell/PowerShell
Description: Description This issue is caused by a mismatch in TLS certification. Windows Powershell ships with version 1 of TLS, while Github requires version 1.2. Steps to reproduce When building PowerShell, run the Start-PSBootstrap script PS C:> ...
Open Graph Description: Description This issue is caused by a mismatch in TLS certification. Windows Powershell ships with version 1 of TLS, while Github requires version 1.2. Steps to reproduce When building PowerShell, ...
X Description: Description This issue is caused by a mismatch in TLS certification. Windows Powershell ships with version 1 of TLS, while Github requires version 1.2. Steps to reproduce When building PowerShell, ...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/6233
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Building PowerShell in Windows results in a mismatch in security certificates","articleBody":"\u003c!--\r\n\r\nFor Windows PowerShell 5.1 issues, suggestions, or feature requests please use the following link instead:\r\n- Windows PowerShell [UserVoice](https://windowsserver.uservoice.com/forums/301869-powershell)\r\n\r\nIf it is a bug report:\r\n- make sure you are able to repro it on the latest released version. \r\nYou can install the latest version from https://github.com/PowerShell/PowerShell/releases\r\n- Search the existing issues.\r\n- Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- Refer to the [known issues](https://github.com/PowerShell/PowerShell/blob/master/docs/KNOWNISSUES.md).\r\n- Fill out the following repro template:\r\n\r\nIf it's not a bug, please remove the template and elaborate the issue in your own words.\r\n--\u003e\r\n\r\nDescription\r\n------------------\r\nThis issue is caused by a mismatch in TLS certification. Windows Powershell ships with version 1 of TLS, while Github requires version 1.2.\r\n\r\nSteps to reproduce\r\n------------------\r\n\r\nWhen building PowerShell, run the Start-PSBootstrap script\r\n```\r\nPS C:\u003e Start-PSBootstrap\r\nInstalling PowerShell build dependencies\r\ndotnet is already installed. Skipping installation.\r\npwsh.exe not found. Install latest PowerShell Core release and add it to Path\r\nVERBOSE: Destination: C:\\Users\\joelj\\AppData\\Local\\Microsoft\\powershell\r\nVERBOSE: About to download package from\r\n'https://github.com/PowerShell/PowerShell/releases/download/v6.0.1/PowerShell-6.0.1-win-x64.zip'\r\nInvoke-WebRequest : The request was aborted: Could not create SSL/TLS secure channel.\r\nAt D:\\HackIllinois2018\\Powershell\\PowerShell\\tools\\install-powershell.ps1:139 char:9\r\n+ Invoke-WebRequest -Uri $downloadURL -OutFile $packagePath\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc\r\n eption\r\n + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand\r\n```\r\n\r\nExpected behavior\r\n-----------------\r\n\r\nScript is able to establish a secure channel that matches default Windows certificates\r\n\r\nActual behavior\r\n---------------\r\n\r\n\r\nError is returned: The request was aborted: could not create SSL/TLS secure channel.\r\n\r\n\r\nEnvironment data\r\n----------------\r\n\r\n\u003c!-- provide the output of $PSVersionTable --\u003e\r\n\r\n```powershell\r\n\u003e $PSVersionTable\r\nName Value\r\n---- -----\r\nPSVersion 5.1.16299.248\r\nPSEdition Desktop\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}\r\nBuildVersion 10.0.16299.248\r\nCLRVersion 4.0.30319.42000\r\nWSManStackVersion 3.0\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\n```\r\n","author":{"url":"https://github.com/CallmeJoeBob","@type":"Person","name":"CallmeJoeBob"},"datePublished":"2018-02-24T06:31:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/6233/PowerShell/issues/6233"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:77a07ce8-3e03-2341-4404-c2e073e163b2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A96C:5FC26:12E865B:1B6179C:6A54D2C4 |
| html-safe-nonce | 7aa61ab8fd227db30b649672dc5cc70afa16ec3d587f65c817cb1eba363b8cba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTZDOjVGQzI2OjEyRTg2NUI6MUI2MTc5Qzo2QTU0RDJDNCIsInZpc2l0b3JfaWQiOiI3MzAwNTgxMDYwNzIyODczMDI4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1a4efbd6d56e93410023ccaf864fbbc92782688b3f72e3dc09d41681f97981d7 |
| hovercard-subject-tag | issue:299917202 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/6233/issue_layout |
| twitter:image | https://opengraph.githubassets.com/49fcc885674795bc380cb27d853e961755ff71dd5c413a2dce912373b4269f82/PowerShell/PowerShell/issues/6233 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/49fcc885674795bc380cb27d853e961755ff71dd5c413a2dce912373b4269f82/PowerShell/PowerShell/issues/6233 |
| og:image:alt | Description This issue is caused by a mismatch in TLS certification. Windows Powershell ships with version 1 of TLS, while Github requires version 1.2. Steps to reproduce When building PowerShell, ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | CallmeJoeBob |
| hostname | github.com |
| expected-hostname | github.com |
| None | a556215b071af6609619e2bbe6f00bdfbf0812ad723b1ae6c301858a7a829f54 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 840b5d20d5a883c23cf56f5240b2c343d6cc0867 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width