Enable HTTPS for a website and its aliases from one screen #293

Closed
opened 2026-12-04 03:13:42 +01:00 by parkel · 0 comments
Owner

Problem

The primary website and its aliases currently expose separate HTTPS workflows. The primary hostname is managed through an Apache preview, while an alias can show HTTPS active even though the primary hostname has no certificate. Apache can then present its default virtual host's certificate for the primary hostname. “Ready” in the preview table only means the preview was generated.

Expected result

  • Provide an account-level HTTPS or SSL Certificates screen for authorized users. Link to it from the website and account overview (#292). Offer Enable HTTPS for a selected website with its primary hostname and explicitly attached web aliases (including managed www) selected by default. An independent website has its own target and hostname set.
  • Let users explicitly add other hostnames. Suggest DNS names in scope for the account with A, AAAA, or CNAME records, including names they can enter when DNS is hosted externally. Show which website would serve each name. If a name has no web mapping, ask the user to attach it as an alias or to choose the appropriate independent website before requesting a certificate. Do not silently change DNS or add all records. Mail hostnames and other non-web records are not selected automatically.
  • Show a preview and individual results per hostname. Verify account ownership, web routing, and the applicable certificate validation prerequisites. A name with wrong DNS, no matching web route, or a name reserved for another account must not block other eligible names from getting HTTPS. Show what failed and let users retry only those names.
  • Preserve working certificates and virtual hosts. Reuse an existing valid installation where appropriate and keep renewal functional, whether the result uses one certificate or several. Keep wildcard issuance under the existing explicit DNS-01 workflow.
  • Respect existing role permissions. Keep Apache previews available for diagnosis without requiring a new preview to enable HTTPS. Document the shared workflow and any reusable status/action pattern.

Verification

Test a primary hostname with an already secured www alias, a valid additional A-record hostname, an alias using CNAME or AAAA, externally hosted DNS, an unmapped hostname, a hostname that points elsewhere, and an out-of-scope hostname. Verify SNI certificate selection and preserved working certificates for each successful name. Check that failed names have clear next steps and do not leave eligible names unconfigured.

## Problem The primary website and its aliases currently expose separate HTTPS workflows. The primary hostname is managed through an Apache preview, while an alias can show **HTTPS active** even though the primary hostname has no certificate. Apache can then present its default virtual host's certificate for the primary hostname. “Ready” in the preview table only means the preview was generated. ## Expected result - Provide an account-level **HTTPS** or **SSL Certificates** screen for authorized users. Link to it from the website and account overview (#292). Offer **Enable HTTPS** for a selected website with its primary hostname and explicitly attached web aliases (including managed `www`) selected by default. An independent website has its own target and hostname set. - Let users explicitly add other hostnames. Suggest DNS names in scope for the account with A, AAAA, or CNAME records, including names they can enter when DNS is hosted externally. Show which website would serve each name. If a name has no web mapping, ask the user to attach it as an alias or to choose the appropriate independent website before requesting a certificate. Do not silently change DNS or add all records. Mail hostnames and other non-web records are not selected automatically. - Show a preview and individual results per hostname. Verify account ownership, web routing, and the applicable certificate validation prerequisites. A name with wrong DNS, no matching web route, or a name reserved for another account must not block other eligible names from getting HTTPS. Show what failed and let users retry only those names. - Preserve working certificates and virtual hosts. Reuse an existing valid installation where appropriate and keep renewal functional, whether the result uses one certificate or several. Keep wildcard issuance under the existing explicit DNS-01 workflow. - Respect existing role permissions. Keep Apache previews available for diagnosis without requiring a new preview to enable HTTPS. Document the shared workflow and any reusable status/action pattern. ## Verification Test a primary hostname with an already secured `www` alias, a valid additional A-record hostname, an alias using CNAME or AAAA, externally hosted DNS, an unmapped hostname, a hostname that points elsewhere, and an out-of-scope hostname. Verify SNI certificate selection and preserved working certificates for each successful name. Check that failed names have clear next steps and do not leave eligible names unconfigured.
parkel added the
kind
feature
area/panelarea/hosting
labels 2026-12-04 03:13:42 +01:00
parkel added this to the v1.7.0 - Panel design and usability milestone 2026-12-04 03:26:31 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hippogrief/coulobre#293