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

backdate generated ca and server certs #130

Merged
merged 1 commit into from
Apr 19, 2022

Conversation

mactaggart
Copy link

@mactaggart mactaggart commented Apr 6, 2022

Description

Updates cfssl configs to backdate generated certificates

Why is this needed

In some cases, a machine being provisioned may not be in time sync with the provisioner. In these cases, linuxkit is unable to download the tink-worker image from the registry because the registry's certificate is in the future. (not yet valid) Setting a backdate of anything over 24hrs will account for differences in timezone between target machine and provisioner.

Fixes: #

How Has This Been Tested?

These configuration were used to successfully provision multiple bare metal servers.

How are existing users impacted? What migration steps/scripts do we need?

This should not impact existing users or require mitigation steps.

Checklist:

I have:

  • updated the documentation and/or roadmap (if required)
  • added unit or e2e tests
  • provided instructions on how to upgrade

@mmlb
Copy link
Contributor

mmlb commented Apr 6, 2022

@mactaggart this change lgtm but we need you to signoff on the commit as per https://github.com/tinkerbell/sandbox/blob/main/CONTRIBUTING.md#dco-sign-off can you fix that up?

@mactaggart
Copy link
Author

@mmlb ok; fixed

@mmlb mmlb added the ready-to-merge Signal to Mergify to merge the PR. label Apr 7, 2022
Signed-off-by: Rigo MacTaggart <rigo@skycubed.com>
@mergify mergify bot merged commit 97417e4 into tinkerbell:main Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge Signal to Mergify to merge the PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants