microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
23.38k stars 1.46k forks source link

Generate test certificates in pipeline #4747

Closed florelis closed 3 months ago

florelis commented 3 months ago

The tests use test certificates for codesigning and for HTTPS with the localhost server. These test certificates were stored as secure files in the pipelines.

This PR changes the test pipeline to generate the certificates on each run so that we don't need to create new certificates when they expire, or if we want to recreate the pipelines in a different ADO account.