Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
org_id | string | Yes | Clerk organization slug |
Example Request
Example Response
Response Fields
| Field | Type | Description |
|---|---|---|
status | string | βsuccessβ if certificate was issued |
proxy_status | string | Updated to βSSL_VALIDATEDβ |
certificate_arn | string | ACM certificate ARN |
message | string | Human-readable status |
What This Endpoint Does
- Triggers ACME validation: Tells Letβs Encrypt to check the TXT record
- Waits for validation: Polls until the challenge is validated (usually 10-30 seconds)
- Issues certificate: Finalizes the ACME order and downloads the certificate
- Imports to ACM: Uploads the certificate to AWS Certificate Manager
- Attaches to CloudFront: Updates the CloudFront distribution with the new certificate
- Updates database: Sets
proxy_statustoSSL_VALIDATED
Error Handling
If the TXT record is not found or incorrect, the endpoint will return an error:What Happens Next
After this endpoint succeeds:- CloudFront has a valid SSL certificate
- User completes Step 2: Switch www CNAME to CloudFront via Entri
- Frontend calls
/mark-step-completewith step=2 - Status becomes βDEPLOYEDβ - fully operational!