PowerShell / PowerShellGallery

228 stars 65 forks source link

unable to install-module AWS.Tools.IdentityManagement #195

Closed Saratoga6 closed 2 years ago

Saratoga6 commented 3 years ago

I am running Name PSVersion 5.1.14393.4583 on win 2012 std edi. Al other module install /import fine when I try install Install-Module -Name AWS.Tools.IdentityManagement Returns PackageManagement\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.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 new module 'AWS.Tools.Common' with version '4.1.15.0' 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=AWS, O="Amazon Web Services, Inc.", L=Seattle, S=Washington, C=US' of the previously-installed module 'AWS.Tools.Common' with version '4.1.14.0' 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:\Users\xxxxx\Documents\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:9711 char:34

any help here? doe snot seem problem I can resolve locally . yes? I already tried to update the Install-module.

Why is the AWS.Tools set plagude with these types of issues?

ashovlin commented 2 years ago

We (AWS) recently rotated the certificate used to sign our modules. You must use the -SkipPublisherCheck parameter with Install-Module or Update-AWSToolsModule to upgrade to 4.1.15.0.

See aws/aws-tools-for-powershell#232 for more information.

klementi commented 2 years ago

This issue is announced/explained here https://github.com/aws/aws-tools-for-powershell/issues/232, sorry for the inconvenience