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

20 lines
1.1 KiB
Plaintext

-----BEGIN CERTIFICATE-----
MIIDEzCCAfsCFAX4cXHObfkJqeZvALtofft7nksYMA0GCSqGSIb3DQEBCwUAMEUx
CzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRl
cm5ldCBXaWRnaXRzIFB0eSBMdGQwIBcNMjQwMTAzMDA0MjEwWhgPMjEyMzEyMTAw
MDQyMTBaMEUxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYD
VQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwggEiMA0GCSqGSIb3DQEBAQUA
A4IBDwAwggEKAoIBAQC9sEW3G22r1zQymf+YpW9VrgTkCh1E4CGYaa3+5D0a2jQV
xMVbPFqebJhF+UuC9I5Ko4G4akMioBU8NnctQe3nLB8lroQPOSvZfoBszqO/gXn3
Tvhi3zk5Lw36m1cx0JpQXo11RDeUjbvtmhBE4Wlhs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