Proactive remediation has been in place for a while and started erroring out a a few weeks ago, so decided to investigate. Remediation script throws the following when manually run.
`PackageManagement\Install-Package` : `Authenticode` issuer CN=HP Inc., OU=HP Cybersecurity, O=HP Inc., L=Palo Alto, S=California,
C=US' of the new module 'HP.Private' with version '1.6.5' from root certificate authority 'CN=DigiCert Trusted Root G4,
OU=www.digicert.com, O=DigiCert Inc, C=US' is not matching with the authenticode issuer 'CN=HP Inc., OU=HP Cybersecurity, O=HP Inc.,
L=Palo Alto, S=California, C=US' of the previously-installed module 'HP.Private' with version '1.6.4' from root certificate
authority 'CN=DigiCert Assured ID Root CA, OU=www.digicert.com, O=DigiCert Inc, C=US'. If you still want to install or update, use
-SkipPublisherCheck parameter.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:13069 char:20
+ ... $sid = PackageManagement\Install-Package @PSBoundParameters
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Exception
+ FullyQualifiedErrorId : AuthenticodeIssuerMismatch,Validate-ModuleAuthenticodeSignature,Microsoft.PowerShell.PackageManagement
.Cmdlets.InstallPackage`
Proactive remediation has been in place for a while and started erroring out a a few weeks ago, so decided to investigate. Remediation script throws the following when manually run.