Title: Invoke-Webrequest accepts bad TLS certificates / crypto on MacOS · Issue #1942 · PowerShell/PowerShell · GitHub
Open Graph Title: Invoke-Webrequest accepts bad TLS certificates / crypto on MacOS · Issue #1942 · PowerShell/PowerShell
X Title: Invoke-Webrequest accepts bad TLS certificates / crypto on MacOS · Issue #1942 · PowerShell/PowerShell
Description: Steps to reproduce Trying to write a PowerShell stub for https://github.com/ouspg/trytls , I discovered that PowerShell (running on MacOS 10.11.6) Invoke-Webrequests accepts some invalid certificates. Additionally, it allows the use of R...
Open Graph Description: Steps to reproduce Trying to write a PowerShell stub for https://github.com/ouspg/trytls , I discovered that PowerShell (running on MacOS 10.11.6) Invoke-Webrequests accepts some invalid certificat...
X Description: Steps to reproduce Trying to write a PowerShell stub for https://github.com/ouspg/trytls , I discovered that PowerShell (running on MacOS 10.11.6) Invoke-Webrequests accepts some invalid certificat...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/1942
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Invoke-Webrequest accepts bad TLS certificates / crypto on MacOS","articleBody":"## Steps to reproduce\r\n\r\nTrying to write a PowerShell stub for https://github.com/ouspg/trytls , I discovered \r\nthat PowerShell (running on MacOS 10.11.6) Invoke-Webrequests accepts some invalid \r\ncertificates. Additionally, it allows the use of RC4 cryptography, which is now considered insecure.\r\n\r\nOn Ubuntu 16.04 (after installing some libcurl dependencies), these are rejected.\r\n\r\nhttps://github.com/wbond/badtls.io has additional tests that I could not run, since I could not\r\nfigure out how to use a custom CA bundle, these should be investigated as well.\r\n## Expected behavior\r\n\r\nInvoke-Webrequest https://incomplete-chain.badssl.com/ should fail\r\nInvoke-Webrequest https://rc4.badssl.com/ should fail\r\n## Actual behavior\r\n\r\nSite loads without throwing exception\r\n```\r\n## Environment data\r\n\r\nName Value\r\n\r\n---\r\n\r\nPSVersion 6.0.0-alpha\r\nPSEdition Core\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}\r\nBuildVersion 3.0.0.0\r\nGitCommitId v6.0.0-alpha.9\r\nCLRVersion\r\nWSManStackVersion 3.0\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\n```","author":{"url":"https://github.com/ppietikainen","@type":"Person","name":"ppietikainen"},"datePublished":"2016-08-19T06:53:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/1942/PowerShell/issues/1942"}
| 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:0c5f9bda-b106-0408-e9c8-10dd473f12da |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 99F4:F17F8:B986E7:F9C899:6A5EF5E1 |
| html-safe-nonce | adc7094423c2e03cc75ed81cda65223aa98595486679f5b91b0b2de9ddea1db3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUY0OkYxN0Y4OkI5ODZFNzpGOUM4OTk6NkE1RUY1RTEiLCJ2aXNpdG9yX2lkIjoiNTE3MzE4MTEzOTM2MTEzNDA1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d05c65d32d5eaaff656a048d042392dc0ff844cc9b54c967db7b2b5937a0d1be |
| hovercard-subject-tag | issue:172066338 |
| 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/1942/issue_layout |
| twitter:image | https://opengraph.githubassets.com/328139523c0ca8c90390c7d80a52a27d972bc9c44426e47617d51abc3901a71b/PowerShell/PowerShell/issues/1942 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/328139523c0ca8c90390c7d80a52a27d972bc9c44426e47617d51abc3901a71b/PowerShell/PowerShell/issues/1942 |
| og:image:alt | Steps to reproduce Trying to write a PowerShell stub for https://github.com/ouspg/trytls , I discovered that PowerShell (running on MacOS 10.11.6) Invoke-Webrequests accepts some invalid certificat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ppietikainen |
| hostname | github.com |
| expected-hostname | github.com |
| None | 82d0004a35927bdb00c652a57f456c55aa0eda4ade1bc7956d7510fdea6e454b |
| 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 | d2d913dd727d2d7ac189fb4d05b10bc34ecd03ee |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width