8000 Invoke-RestMethod on a bad SSL setup crash · Issue #3588 · PowerShell/PowerShell · GitHub
[go: up one dir, main page]

Skip to content
Invoke-RestMethod on a bad SSL setup crash #3588
@aarroyoc

Description

@aarroyoc

Steps to reproduce

Open Powershell. Execute:

Invoke-RestMethod https://192.168.0.173/feed

192.168.0.173 it's a local WordPress blog with SSL, though obviously configured only for my domain.

Expected behavior

Ignore the SSL error or show an error.

Actual behavior

PowerShell crashes without any clue of what happened and goes back to Bash.
sslbug

Environment data

Name Value


PSVersion 6.0.0-alpha
PSEdition Core
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 3.0.0.0
GitCommitId v6.0.0-alpha.18
CLRVersion
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

> $PSVersionTable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Resolution-FixedThe issue is fixed.WG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0