📘 http-01 verification only works for Endpoints with External Placement that do not use IP Filtering. Wildcard domains are not supported either.HTTP verification relies on Let’s Encrypt sending an HTTP request to your app and receiving a specific response (presenting that the response is handled by Aptible). For this to work, you must have a setup a CNAME from your Custom Domain to the Endpoint Hostname provided by Aptible.
📘 Unlike http-01 verification, dns-01 verification works with all Endpoints.DNS verification relies on Let’s Encrypt checking for the existence of a DNS TXT record with specific contents under your domain. For this to work, you must have created a CNAME from
_acme-challenge.$DOMAIN
(where $DOMAIN
is your Custom Domain) to an Aptible-provided validation name. This name is provided in the Dashboard (it’s the acme
subdomain of the Endpoint’s Hostname). The acme
subdomain has the TXT record containing the challenge token that Let’s Encrypt is looking for.
❗️ If you have a TXT record defined for_acme-challenge.$DOMAIN
then Let’s Encrypt will use this value instead of the value on theacme
subdomain and it will not issue a certificate.
📘 If you are using a wildcard domain, then$DOMAIN
above should be your domain name, but without the leading*.
portion.
*.$DOMAIN
, then your certificate will be valid for any subdomain of $DOMAIN
, as well as for $DOMAIN
itself.
❗️ A single wildcard domain can only be used by one Endpoint at a time. This is due to the fact that the dns-01 validation record for all Endpoints using the domain will have the same _acme-challenge
hostname but each requires different data to in the record. Therefore, only the Endpoint with the matching record will be able to renew its certificate. If you would like to use the same wildcard certificate with multiple Enpdoints you should acquire the certificate from a trusted certificate authority and use it as a Custom Certificate on all of the Endpoints.
❗️ When you enable Managed TLS on an Endpoint, Aptible will provision an individual certificate for this Endpoint. If you create an Endpoint, provision a certificate for it via Managed TLS, then deprovision the Endpoint, this certificate will count against your weekly Let’s Encrypt weekly rate limit.