Files
tasks/common/auth/testdata/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

23 lines
1.3 KiB
Plaintext

-----BEGIN CERTIFICATE-----
MIIDlDCCAnygAwIBAgIUX/41S/VL2Hozi95brTDve9Bo6iIwDQYJKoZIhvcNAQEL
BQAwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoM
GEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDAgFw0yNDAxMDMwMDQyMDZaGA8yMTIz
MTIxMDAwNDIwNlowFDESMBAGA1UEAwwJbG9jYWxob3N0MIIBIjANBgkqhkiG9w0B
AQEFAAOCAQ8AMIIBCgKCAQEA7DyndNy2rll9Z9E6h7aI5Oho7BWtlCcfSwJ6QJDZ
SweIbLyw3EKj5m+R9+f0HN9FXlFxE3AZjNMRQ2Yw3FO/t69ABVi0zZBwgZeKcfS6
T54/8tn2cuZCBy6Wx/EZle/9AYegr1HOfhmYZGC/ALtH1Q84jlqWsU2Q1uR2+o2d
1XNapakBoixJ8KfcDh88rODkdlJt8wjDhvaWSc68xYy/3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