Updating AWS.Tools.Installer module to 1.0.2.5 causing Signature Mismatch Error
Opened this issue · 0 comments
afroz429 commented
Describe the bug
Updating AWS.Tools.Installer
module from a previous version to 1.0.2.5
is resulting in the following error: Note that all other AWS.Tools module installs are unaffected. This issue is similar to #297
➜ Update-Module AWS.Tools.Installer
Install-Package: Authenticode issuer 'CN="Amazon Web Services, Inc.", OU=SDKs and Tools, O="Amazon Web Services, Inc.", L=Seattle,
S=Washington, C=US, SERIALNUMBER=4152954, OID.2.5.4.15=Private Organization, OID.1.3.6.1.4.1.311.60.2.1.2=Delaware,
OID.1.3.6.1.4.1.311.60.2.1.3=US' of the new module 'AWS.Tools.Installer' with version '1.0.2.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="Amazon Web Services, Inc.", OU=SDKs and Tools, O="Amazon Web Services, Inc.", L=Seattle,
S=Washington, C=US, SERIALNUMBER=4152954, OID.1.3.6.1.4.1.311.60.2.1.2=Delaware, OID.1.3.6.1.4.1.311.60.2.1.3=US,
OID.2.5.4.15=Private Organization' of the previously-installed module 'AWS.Tools.Installer' with version '1.0.2.4' from
root certificate authority 'CN=DigiCert Trusted Root G4, OU=www.digicert.com, O=DigiCert Inc, C=US'. If you still want
to install or update, use -SkipPublisherCheck parameter.
To fix this, uninstall previous versions of the AWS.Tools.Installer
module and run the Install-Module command
Uninstall-Module AWS.Tools.Installer -AllVersions
Install-Module -Name AWS.Tools.Installer
Expected Behavior
Update-Module AWS.Tools.Installer
updates the module successfully.
Current Behavior
Update-Module AWS.Tools.Installer
results in the following error
Install-Package: Authenticode issuer 'CN="Amazon Web Services, Inc.", OU=SDKs and Tools, O="Amazon Web Services, Inc.", L=Seattle,
S=Washington, C=US, SERIALNUMBER=4152954, OID.2.5.4.15=Private Organization, OID.1.3.6.1.4.1.311.60.2.1.2=Delaware,
OID.1.3.6.1.4.1.311.60.2.1.3=US' of the new module 'AWS.Tools.Installer' with version '1.0.2.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="Amazon Web Services, Inc.", OU=SDKs and Tools, O="Amazon Web Services, Inc.", L=Seattle,
S=Washington, C=US, SERIALNUMBER=4152954, OID.1.3.6.1.4.1.311.60.2.1.2=Delaware, OID.1.3.6.1.4.1.311.60.2.1.3=US,
OID.2.5.4.15=Private Organization' of the previously-installed module 'AWS.Tools.Installer' with version '1.0.2.4' from
root certificate authority 'CN=DigiCert Trusted Root G4, OU=www.digicert.com, O=DigiCert Inc, C=US'. If you still want
to install or update, use -SkipPublisherCheck parameter.
Reproduction Steps
Install-module AWS.Tools.Installer -RequiredVersion 1.0.2.4
Update-Module AWS.Tools.Installer
Possible Solution
Uninstall all existing versions of AWS.Tools.Installer module and then install the latest version.
Uninstall-Module AWS.Tools.Installer -AllVersions
Install-Module -Name AWS.Tools.Installer
Additional Information/Context
No response
AWS Tools for PowerShell version used
NA
PowerShell version used
7.4
Operating System and version
Windows 11