-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Open
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugNeeds-TriageThe issue is new and needs to be triaged by a work group.The issue is new and needs to be triaged by a work group.
Description
Summary of the new feature / enhancement
Currently using a custom CA cert when calling an http endpoint via either of these commands is a huge PITA. Which something like curl is as simple as curl --cacert ./cert. This is especially hard when running pwsh scripts in containers etc.
Powershell should add a parameter to both Invoke-WebRequest and Invoke-RestMethod, that accepts the CA cert like -CACertificate <path to cert file>
Proposed technical implementation details (optional)
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugNeeds-TriageThe issue is new and needs to be triaged by a work group.The issue is new and needs to be triaged by a work group.