Skip to content

AttestedCertificateResolver should backoff when re-trying to create a new attested certificate #21

@ameba23

Description

@ameba23

attested_tls::AttestedCertifcateResolver periodically generates a new attested certificate - that is, a new attestation and a TLS certificate with the attestation embedded as an extension.

If the renewal fails for whatever reason, it will wait and then re-try periodically. This is currently configured to 30 seconds wait before retrying.

We could introduce an exponential backoff on the retry delay, truncated to some maximum duration.

For context, the most likely thing to fail during certificate renewal is the attestation generation. The other error paths are related to signing or processing the certificate and keypair, and unlikely to fail unless something is very wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions