This PR updates the default subject name for the Authenticode signing certificate from Chocolatey Software, Inc. to Chocolatey Software, Inc and also enables overriding this subject name via an environment variable.
Motivation and Context
During the renewal of the Authenticode signing certificate, the subject name changed slightly, and so signing fails due to not being able to find the matching certificate.
This change necessitates updating the version of this recipe used in projects, to avoid this situation in the future the option of providing an environment variable was introduced.
Testing
I'm not 100% sure on how to best test this
Operating Systems Testing
N/A
Change Types Made
[ ] Bug fix (non-breaking change).
[X] Feature / Enhancement (non-breaking change).
[ ] Breaking change (fix or feature that could cause existing functionality to change).
Description Of Changes
This PR updates the default subject name for the Authenticode signing certificate from
Chocolatey Software, Inc.
toChocolatey Software, Inc
and also enables overriding this subject name via an environment variable.Motivation and Context
During the renewal of the Authenticode signing certificate, the subject name changed slightly, and so signing fails due to not being able to find the matching certificate.
This change necessitates updating the version of this recipe used in projects, to avoid this situation in the future the option of providing an environment variable was introduced.
Testing
I'm not 100% sure on how to best test this
Operating Systems Testing
N/A
Change Types Made
Change Checklist
Related Issue
Fixes #147