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

windows based builds using Pester fail with certificate mis-match error #90

Closed
techthoughts2 opened this issue Aug 6, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@techthoughts2
Copy link
Owner

Expected Behavior

Windows based builds should run without an error

Current Behavior

Install-Package: Authenticode issuer 'CN=Jakub Jareš, O=Jakub Jareš, L=Praha, C=CZ' of the new module 'Pester' with version '5.5.0' from
root certificate authority 'CN=DigiCert Assured ID Root CA, OU=www.digicert.com, O=DigiCert Inc, C=US' is not matching
with the authenticode issuer 'CN=Jakub Jareš, O=Jakub Jareš, L=Praha, C=CZ' of the previously-installed module 'Pester'
with version '5.6.1' 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.

Possible Solution

Likely related to: pester/Pester#2438

Steps to Reproduce

  1. Any project with a windows based build
  2. Trigger build

Detailed Description

Windows based builds are failing with a Pester certificate warning. This is likely due to the windows build container containing an older version possibly of the pester cert and not liking the new certificate mis-match. Linux and MacOS are not affected as they have no previous version of Pester in the default container image.

@techthoughts2 techthoughts2 added the bug Something isn't working label Aug 6, 2024
@techthoughts2 techthoughts2 self-assigned this Aug 6, 2024
@techthoughts2 techthoughts2 changed the title windows based builds using Pester fail with error windows based builds using Pester fail with certificate mis-match error Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant