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

SELFSIGNED-CERT-PFXDATA is expired #14133

Open
mcollier opened this issue Sep 5, 2024 · 1 comment
Open

SELFSIGNED-CERT-PFXDATA is expired #14133

mcollier opened this issue Sep 5, 2024 · 1 comment

Comments

@mcollier
Copy link
Contributor

mcollier commented Sep 5, 2024

Issue Details

Repro steps

  1. Create a Bicep template and related parameters file which uses GEN-SELFSIGNED-CERT-PFXDATA for a SSL certificate.
  2. Use the repo's build validation pipeline to attempt to deploy the template
  3. A service which attempts to validate the provided cert will fail with an error similiar to the following: Status Message: Invalid parameter: Certificate with Thumbprint 'A6887AA360EAF6F738E403B6A94BFBE4BC856419' is only valid from '2022-09-19T00:00:00.0000000Z' to '2023-10-20T23:59:59.0000000Z'. (Code:InvalidParameters)

The file at test/ci-gen-setup/.config.json contains the base64 encoded PFX data in the SELFSIGNED-CERT-PFXDATA value. The certificate expired on Oct 20 23:59:59 2023 GMT.

Please see related build failure at https://dev.azure.com/azurequickstarts/azure-quickstart-templates/_build/results?buildId=158532&view=logs&j=275f1d19-1bd8-5591-b06b-07d489ea915a&t=326f581a-4b46-5a6e-a0f1-758ebdd2feec&l=152.

@mcollier
Copy link
Contributor Author

mcollier commented Sep 5, 2024

FYI @alex-frankel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant