POST /api/domain/start-certificate/
Initiates a Letβs Encrypt certificate request for a custom domain. This is Step 1 of the zero-downtime SSL flow.Purpose
This endpoint starts the ACME DNS-01 challenge process:- Creates a new certificate order with Letβs Encrypt
- Returns a TXT record the user must add to their DNS
- Stores the challenge data for later completion
Architecture
Internal Services
start_certificate_request
Creates a new Letβs Encrypt certificate order using the ACME protocol. Location:src/app/apis/domain/shared/letsencrypt/certificate_service.py
Returns:
order_url- URL to check order statusauthorization_url- URL for authorizationchallenge_url- URL to respond to challengefinalize_url- URL to finalize ordertxt_record_name- DNS TXT record name (e.g.,_acme-challenge.example.com)txt_record_value- DNS TXT record value