Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating AWS.Tools.Installer module to 1.0.2.5 causing Signature Mismatch Error #335

Open
afroz429 opened this issue Dec 29, 2023 · 0 comments

Comments

@afroz429
Copy link
Contributor

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

@afroz429 afroz429 added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. Announcement and removed bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Dec 29, 2023
@afroz429 afroz429 pinned this issue Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant