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

Example of Letsencrypt handling #6

Open
amiller opened this issue Dec 27, 2024 · 0 comments
Open

Example of Letsencrypt handling #6

amiller opened this issue Dec 27, 2024 · 0 comments
Labels
encumbrance related to TEE-managed account credentials enhancement New feature or request

Comments

@amiller
Copy link
Collaborator

amiller commented Dec 27, 2024

There are a few ways of automating domain handling from within an enclave.

  1. A starting point is the approach taken in teleport "trust but verify"...
    The private key used to generate the certificate signing request is generated from within the enclave.

The owner of the DNS record isn't proactively prevented from issuing a non-TEE domain, but because certificate transparency provides a list of every issued certificate, we can show a remote attestation to explain every certificate that has been issued.

  1. Another improvement is a DNS feature called CAA, https://letsencrypt.org/docs/caa/ which limits the CAs that are authorized to issue certificates for a domain. This significantly reduces the potential for rogue CAs to create MITM attacks - only letsencrypt could do that. This is what is implemented here https://docs.phala.network/dstack/design-documents/tee-controlled-domain-certificates

  2. Encumbered DNS: a final step (still to research) would be to encumber the account with the registrar that owns the account. In this way, a smart contract would practically control the DNS records.

@amiller amiller added enhancement New feature or request encumbrance related to TEE-managed account credentials labels Dec 27, 2024
@amiller amiller changed the title Example of Let's Encrypt CAA Example of Letsencrypt handling Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
encumbrance related to TEE-managed account credentials enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant