Custom domains & TLS¶
Published apps are served on a domain you own, over HTTPS, with a certificate Crios issues and renews for you. Your only manual step is one DNS record.
Choosing a domain¶
Enter the domain in the publishing panel when you publish — a full DNS name such as app.example.com. Subdomains are the common choice; any name you control works. The name is trimmed and lowercased when you submit it, and a malformed name is refused with Enter a DNS name like app.example.com.
On app.crios.ai you can also publish under publish.crios.ai, one label deep, such as myapp.publish.crios.ai. Crios's DNS already points those names at the load balancer, so there is no record to create. Every other crios.ai name, publish.crios.ai itself and a.b.publish.crios.ai included, is reserved for the platform and refused.
Creating the A record¶
Once the pipeline reaches the DNS stage, the panel shows Point your-domain's A record at: followed by one or more load balancer IP addresses, each with a copy button.
At your DNS provider (Cloudflare, Route 53, your registrar's console, and so on), create an A record:
| Field | Value |
|---|---|
| Type | A |
| Name | the host part, e.g. app for app.example.com |
| Value | the IP shown in the panel (create one A record per IP if several are listed) |
Then wait. DNS propagation is usually minutes but can take longer depending on your provider and any previous record's TTL. Crios checks continuously — you do not need to press anything.
Certificate issuance¶
Publishing resumes automatically once the domain resolves to the load balancer: the status moves from Awaiting DNS to Issuing certificate, a certificate is requested from the app's certificate authority, and the site goes Live at https://your-domain. Issuance and renewal are automatic — there is nothing to rotate manually.
Which authority issues that certificate is a per-app choice. New publications start on the organization's default authority, which is Let's Encrypt unless an administrator changed it; the next section covers how to see the current one and switch it.
Choosing a certificate authority¶
The publishing panel has an SSL / TLS section below the domain settings. A Provider line names the authority the app is on, next to a state chip reading Active once the publication is live or Pending issuance while the certificate is still being obtained. Under it is one row per authority you can select:
| Authority | Description | Issuance |
|---|---|---|
| Let's Encrypt | Free certificate, issued and renewed automatically via ACME. | Automatic |
| ZeroSSL | Free certificate from ZeroSSL, issued and renewed automatically via ACME. | Automatic |
| Google Public CA | Free certificate from Google Public CA, issued and renewed automatically via ACME. | Automatic |
| Custom certificate | Upload your own certificate and private key — you handle renewal. | Manual upload |
Google Public CA certificates are issued by Google Trust Services. The first three options differ only in which authority signs the certificate — Crios obtains and renews it over ACME in all three cases, at no cost.
Let's Encrypt and Custom certificate are always offered. ZeroSSL and Google Public CA appear only once an administrator has added that authority's credentials under Admin → Instance Settings → Certificate authorities — until then the option is absent from the list rather than grayed out, and there is nothing to enable on your side. See Connectors & certificate authorities for the administrator's side of that.
One row carries a Default badge: the organization-wide default that new publications start on. An organization owner or admin sets it with Default for new publications: under Organization → Settings; an instance admin saving ZeroSSL or Google Public CA credentials also makes that authority the default of their own organization while its default is still Let's Encrypt. The per-app choice overrides it — switching one app changes that app only, leaves every other publication where it is, and does not move the default. Apps already live keep the authority they are on when an administrator changes the default.
Switching is live. Select a different authority and the certificate is re-issued for that app — no republish, no new session — and the panel confirms with SSL provider updated. Automatic issuance takes about a minute once your domain's DNS points at the load balancer. Managing SSL requires manage access on the project; without it the section still shows the provider and state but reads SSL management requires manage access on this project. in place of the options.
Uploading your own certificate¶
Choosing Custom certificate opens an upload form rather than switching straight away. It takes two fields — Certificate (PEM, incl. chain) and Private key (PEM) — each with a Choose file picker that accepts a .pem, .crt or .key file; you can also paste the PEM text in. Upload certificate installs the pair.
Crios validates before installing anything: every certificate block must parse, the private key must be unencrypted and match the certificate, the certificate must not have expired, and it must cover the publication's domain. If a check fails, the reason appears inline in the form and the app keeps serving its current certificate.
- Deploy first — the certificate is installed into the running app, so upload it after the publish finishes. Uploading earlier is refused with a message saying the app is not deployed yet.
- Size limits — the certificate PEM can be up to 256 KB and the private key up to 64 KB. Real chains are a few kilobytes.
- Going back — switching the app to Let's Encrypt, ZeroSSL or Google Public CA restores automatic issuance and renewal from that point on.
- Only by upload — an app gets onto Custom certificate only by uploading a pair. Selecting it through the API without one is refused, because the app would keep serving its current certificate with nothing renewing it.
- After unpublishing — unpublishing removes the uploaded certificate together with the app. Publishing again starts on the organization's default authority; upload the certificate again once the app is deployed.
- After a domain change — an uploaded certificate names the domain it was made for, so changing the domain (in the panel, or by publishing again under another one) moves the app to the organization's default authority, which issues a certificate for the new domain. Upload a certificate for the new domain to go back to Custom certificate.
Right after an upload, the SSL / TLS section shows "Certificate expires on date", and adds "— upload a renewed one before then" when that date is less than 30 days away. An upload through the API carries a warning in its answer when the certificate expires within 14 days.
Renewal is yours
A custom certificate turns off automatic issuance and renewal for that app. Nothing renews it for you — upload a replacement before it lapses, or switch back to an automatic authority.
Status conditions to watch¶
The panel's status pill and timeline tell you where things stand:
- Awaiting DNS — waiting for your A record. The IP box is highlighted while this is the blocker.
- Issuing certificate — DNS is correct; the certificate is being obtained. Normally under a couple of minutes.
- Live — DNS ready, certificate ready, app serving.
- Failed — a step failed; the panel shows which condition failed and its message.
Troubleshooting¶
| Symptom | What to do |
|---|---|
| Stuck on Awaiting DNS | Verify the A record: right name, right IP, type A (not CNAME to somewhere else). Check propagation with dig your-domain or an online checker. A stale record at a previous host must be replaced, not supplemented. |
| Stuck on Issuing certificate | Confirm the A record points at the load balancer IPs from the panel and wait — issuance retries automatically, whichever authority the app is on. If your DNS provider proxies traffic (for example an orange-cloud Cloudflare record), switch it to DNS-only until the certificate is issued. Switching authorities restarts issuance, which takes about a minute from a correct record. |
| Failed | Read the condition message in the panel and open the publishing session for detail. Fix the cause, then Republish. |
| Changed the domain | After Change domain the status returns to Awaiting DNS. Point the new name's A record at the same IPs; the old name stops being served. |
| Publish refused with "domain is already used by another publication" | Another project on this Crios installation is published on that name. Unpublish it there first, or choose a different name. |
| Publish refused with "that hostname is reserved by the platform" | The name is one of the installation's own addresses, such as Crios's own app, API, or Git host, or falls under its preview domain. Choose a different name. |
| ZeroSSL or Google Public CA not offered | An administrator has not added that authority's credentials on this deployment. Ask them to add the credentials under Admin → Instance Settings → Certificate authorities; the option appears in the SSL / TLS section once they are saved. |
| Custom certificate rejected | The private key does not match the certificate, the certificate has expired, or it does not cover this domain. The form shows which one inline — check that you uploaded the full chain and the matching key, then upload again. |
# Quick check that your record has propagated
dig +short app.example.com
# Should print the load balancer IP(s) from the publishing panel
For the rest of the publishing flow, see Publishing your app. To gate the site while you test it on the new domain, add password protection.