Skip to main content
Complete the Let’s Encrypt certificate after user adds TXT record. This validates the DNS challenge, issues the certificate, imports it to ACM, and attaches it to CloudFront. After this, the user can switch their www CNAME to CloudFront with zero downtime.

Path Parameters

Example Request

Example Response

Response Fields

What This Endpoint Does

  1. Triggers ACME validation: Tells Let’s Encrypt to check the TXT record
  2. Waits for validation: Polls until the challenge is validated (usually 10-30 seconds)
  3. Issues certificate: Finalizes the ACME order and downloads the certificate
  4. Imports to ACM: Uploads the certificate to AWS Certificate Manager
  5. Attaches to CloudFront: Updates the CloudFront distribution with the new certificate
  6. Updates database: Sets proxy_status to SSL_VALIDATED

Error Handling

If the TXT record is not found or incorrect, the endpoint will return an error:
In this case, the user should verify the TXT record was added correctly and try again.

What Happens Next

After this endpoint succeeds:
  1. CloudFront has a valid SSL certificate
  2. User completes Step 2: Switch www CNAME to CloudFront via Entri
  3. Frontend calls /mark-step-complete with step=2
  4. Status becomes β€œDEPLOYED” - fully operational!

Frontend Integration