-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.The issue is fixed.WG-Quality-Testissues in a test or in test infrastructureissues in a test or in test infrastructure
Description
certificateCommon.psm1 contains a self signed certificate used for tests in the Microsoft.PowerShell.Security. Other modules will require certificates so this test module should be moved to a common area accessible to all tests.
Additionally, the certificate in New-GoodCertificate is issued for only the Key Encipherment, Data Encipherment, and Document Encryption key usages. This key cannot be used for tests such as certificate authentication with Invoke-WebRequest/Invoke-RestMethod. A new self-signed certificate should be issued that includes key usage for all tests that may require it to prevent the need for separate certificates and functions for each key requirement.
For more details see #4546
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 bugResolution-FixedThe issue is fixed.The issue is fixed.WG-Quality-Testissues in a test or in test infrastructureissues in a test or in test infrastructure