Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

'Invoke-WebRequest -SkipCertificateCheck' doesn't work with netcoreapp2.0 on Mac #3648

Copy link
Copy link
@daxian-dbw

Description

@daxian-dbw
Issue body actions

This is because HttpClientHandler.ServerCertificateCustomValidationCallback currently doesn't work in netcoreapp2.0 on Mac at all. See the comment in https://github.com/dotnet/corefx/issues/9728 for more information.

Note that we currently have 2 tests failing in nightly run on OSX CI:

Validate Invoke-WebRequest -SkipCertificateCheck
Validate Invoke-RestMethod -SkipCertificateCheck

Error message is:

The handler does not support custom handling of certificates with this combination of libcurl (7.49.1) and its SSL backend ("SecureTransport").
Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

Issue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the productOS-macOSResolution-FixedThe issue is fixed.The issue is fixed.WG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility modulecmdlets in the Microsoft.PowerShell.Utility module

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.