Files
tasks/common/auth/testdata/invalid_localhost.crt
Michael SnowdenandGitHub 5355066069 Fix TLS tests (#5253)
## What changed?
<!-- Describe what has changed in this PR -->
We have some TLS tests which rely on test certificate files. These were
generated manually, but they expired in 2024. To fix this, I regenerated
the certs with an expiry 100 years from now. It took me a long time to
understand these files, how they are generated, and what they're used
for, so I also added some documentation for them.

## Why?
<!-- Tell your future self why have you made these changes -->
Main was broken because of this:
https://buildkite.com/temporal/temporal-public/builds/14148#018ccbd3-2735-4334-b038-125b69a37259/130-282

## How did you test it?
<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
- I verified that the constant "data" variables in the test were
actually just the inlined contents of the testdata files by running the
contents through a base64 encoder and verifying that the output was
equal
- I didn't modify the behavior of the tests at all other than that

## Potential risks
<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->

## Is hotfix candidate?
<!-- Is this PR a hotfix candidate or does it require a notification to
be sent to the broader community? (Yes/No) -->
2024-01-03 02:34:40 +00:00

18 lines
993 B
Plaintext

-----BEGIN CERTIFICATE-----
MIICsTCCAZkCFAjp9iUkmmSfCcpzsjWfvdF6X7k8MA0GCSqGSIb3DQEBCwUAMBQx
EjAQBgNVBAMMCWxvY2FsaG9zdDAgFw0yNDAxMDMwMDQyMTNaGA8yMTIzMTIxMDAw
NDIxM1owFDESMBAGA1UEAwwJbG9jYWxob3N0MIIBIjANBgkqhkiG9w0BAQEFAAOC
AQ8AMIIBCgKCAQEAgwrJC2VdNnGM14JoRfDjcpUxWTRmxXgB5tM7dk6wxyDCB/Jz
tmZ6mxOSxpHa805kUiSxCTAoFowgJS9iisOGOZub8O22ZmBOU/A8rwnXsP10Z1Sr
phj138BvSANSF45bvjlIk7s3n3Q88MvzXfrmEJwK9gcIU/KK0H8khUhfnzRmHqoc
Te9Injys00DH/yaYEmgaFmrWOyS0y1/1zJrrpK5PgjCOgDEWGnuQPEXFX6Z6MPbJ
9qvKHpPabGy65WA4MeKP19p12xzh5JCy7F8ERtyrm94HS+zz6h+xF2iKEfRbXbO3
NbuYW7mVhMnUGr1LpaHNohV9FfOoYmGj97tiiQIDAQABMA0GCSqGSIb3DQEBCwUA
A4IBAQAm5Pdh6rBuXDjLJnnV1Zgd3t1JHWgtGy/pdFxB7Wq0b/+vbUSqe7cdZYO2
44H1hf8w/KZZOqzJHgWqGbgMJmnxHVPTkJfMhuqWxiuObW2DvWLRgfAI7qjk8emS
EBKUXznwmx3ELgipGK6X41u1MNYUGnT8toDqLgOpBzINbBhWdt5V/boR6U8lKl1I
jGQCnThAyY7641tTcIoyNVbjMXtDlKTOQyU5olDT2tE/STQCpsN+wx19sSBvih44
9l5YCYwmk+bmAoqS00uf1g50/RDgJpis46lwuD75PwE8YUruGndyy1euz6d0h2oz
NeJNOw4DIyDNod4qTlFudaw6zgdM
-----END CERTIFICATE-----