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

integration: add tool for renewing test certs #4742

Merged
merged 1 commit into from Nov 13, 2023

Conversation

kenjenkins
Copy link
Contributor

Summary

Add a utility for updating the integration test certificates. It takes three file paths: the existing certificate, the CA certificate, and the CA key. It will update the NotBefore and NotAfter timestamps and the certificate signature, overwriting the existing certificate.

Example usage:

cd integration/tpl/files
go run renew-cert.go trusted.pem ca.pem ca-key.pem

Related issues

User Explanation

Checklist

  • reference any related issues
  • updated docs
  • updated unit tests
  • updated UPGRADING.md
  • add appropriate tag (improvement / bug / etc)
  • ready for review

Add a utility for updating the integration test certificates. It takes
three file paths: the existing certificate, the CA certificate, and the
CA key. It will update the NotBefore and NotAfter timestamps and the
certificate signature, overwriting the existing certificate.

Example usage:

  cd integration/tpl/files
  go run renew-cert.go trusted.pem ca.pem ca-key.pem
@kenjenkins kenjenkins requested a review from a team as a code owner November 10, 2023 21:45
@kenjenkins kenjenkins mentioned this pull request Nov 10, 2023
6 tasks
@coveralls
Copy link

Coverage Status

coverage: 63.926% (+0.03%) from 63.899%
when pulling 698c416 on kenjenkins/renew-cert-tool
into 3ad72db on main.

@kenjenkins kenjenkins merged commit 0d29401 into main Nov 13, 2023
9 checks passed
@kenjenkins kenjenkins deleted the kenjenkins/renew-cert-tool branch November 13, 2023 16:57
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

Successfully merging this pull request may close these issues.

None yet

3 participants