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 https://github.com/aws/aws-tools-for-powershell/issues/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
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.
Describe the bug
Updating
AWS.Tools.Installer
module from a previous version to1.0.2.5
is resulting in the following error: Note that all other AWS.Tools module installs are unaffected. This issue is similar to https://github.com/aws/aws-tools-for-powershell/issues/297To fix this, uninstall previous versions of the
AWS.Tools.Installer
module and run the Install-Module commandExpected Behavior
Update-Module AWS.Tools.Installer
updates the module successfully.Current Behavior
Update-Module AWS.Tools.Installer
results in the following errorReproduction Steps
Possible Solution
Uninstall all existing versions of AWS.Tools.Installer module and then install the latest version.
Additional Information/Context
No response
AWS Tools for PowerShell version used
NA
PowerShell version used
7.4
Operating System and version
Windows 11