Hostnames

The Hostnames page shows the hostnames of your Centova Cast server and their TLS certificates. Every hostname must have a TLS certificate and an IP address. Users open the control panel with a web interface hostname. Listeners connect to the streams with a streaming hostname.

To open the Hostnames page, click the cog icon at the top right of the navigation menu, then click Hostnames. A staff account must have the Manage settings permission to open this page.

This page describes the fields of the Hostnames page. For the complete description of TLS certificates, the renewal of certificates, and the configuration of DNS validation, see the TLS Certificates section.

Hostname List

Each row of the list shows one TLS certificate and the hostnames that it is valid for. The list shows the hostnames of the administrator, and also the hostnames that belong to resellers and to client accounts.

The list has these columns:

  • Hostname
    Shows the first hostname of the certificate. The other hostnames of the same certificate are shown below it.

  • IP Address
    Shows the IPv4 address and, if there is one, the IPv6 address of the hostnames.

  • Certificate Type
    Shows the type of the TLS certificate: Self-signed certificate, ACME certificate or Custom certificate. Below the type, the column shows what the first hostname is used for:

    • Web interface
      Users open the control panel with this hostname.

    • Streaming
      Listeners connect to the streams with this hostname.

    • Web interface and streaming
      The hostname is used for both.

  • Certificate Status
    Shows the status of the certificate:

    • Valid and two dates
      The certificate exists and is valid from the first date to the second date. If the certificate is expired, the column also shows (expired). If the first date is in the future, the column shows (not yet valid).

    • Pending
      Centova Cast did not generate the certificate yet.

    Below the status, the column shows the date and time when Centova Cast generated the certificate (Generated). If the last attempt to get the certificate failed, the column also shows the time and the error message.

The icon in the Certificate Status column shows:

  • check mark
    The certificate is valid.

  • hourglass
    The certificate is pending, or it expires in less than 21 days.

  • warning triangle
    The last attempt to get the certificate failed, or the certificate is not yet valid.

  • alert icon
    The last attempt to get the certificate failed, and the certificate is expired.

To show only the hostnames that contain a keyword, type the keyword in the Search hostnames ... box on the toolbar.

Toolbar Buttons

To use a toolbar button, first select one or more rows. For more information about the selection of rows, see the Managing Existing Accounts section.

  • Delete
    Deletes the selected certificates and their hostnames. Click Yes in the confirmation dialog. Keyboard shortcut: the Delete key.

    Centova Cast refuses to delete a hostname that the server still needs. You cannot delete:

    • A hostname that serves the web interface.
    • A hostname that an account or an account template uses.
    • The default hostname for new streams.
    • The only streaming hostname of the administrator.

    The error message tells you what to do first. For example, select another default hostname, or change the hostname of the accounts that use it.

  • Retry
    Tells Centova Cast to try again to get the selected certificates. Use this button after you correct the cause of an error (for example, a DNS record). Keyboard shortcut: +.

  • Set Default
    Makes the streaming hostname of the selected certificate the default hostname for new streams. Centova Cast gives this hostname to new client accounts that do not specify another hostname. Select one row only. Keyboard shortcut: *.

  • New hostname
    Opens the hostname editor for a new hostname. Keyboard shortcut: the Insert key.

To edit a hostname, click its row. The hostname editor opens.

Hostname Editor

The hostname editor starts with the TLS certificate type field. The other fields depend on the selected type.

  • TLS certificate type
    Specifies how Centova Cast gets the TLS certificate. The options are:

    • Self-signed certificate
      Centova Cast generates and renews the certificate automatically. Self-signed certificates are free, but web browsers and media players show an error message for them. Use them only for tests. If you open the services only with links that do not use TLS, you can also use them.

    • Free certificate via letsencrypt.org
      Centova Cast gets the certificate from Let's Encrypt, and renews it automatically. Let's Encrypt is a nonprofit certificate authority that gives TLS certificates free of charge. If your server uses another ACME certificate authority, this option is named ACME certificate. This option is shown only if your server can validate the hostnames for an ACME certificate.

    • Custom certificate
      You buy the certificate from a certificate authority (CA) and upload it. When the certificate expires, you must renew it with the CA and upload the new certificate.

  • Hostname
    Specifies the hostname. To give the certificate more than one hostname, separate the hostnames with spaces. This field is not shown for a custom certificate, because Centova Cast reads the hostnames from the certificate.

    You can enter a wildcard hostname, for example *.example.com. Each client account that selects a wildcard hostname gets its own hostname, made from its username. For example, the account stationone gets stationone.example.com. An ACME certificate for a wildcard hostname needs DNS validation. If DNS validation is not configured on your server, the editor tells you to use a self-signed or custom certificate.

  • IPv4 address
    Specifies the IPv4 address on which the streaming server listens for this hostname. This address must exist in the network configuration of the server. The list groups the addresses as Public, Detected external, Private and Current. This field is required unless you specify an IPv6 address.

  • IPv6 address
    Specifies the IPv6 address on which the streaming server listens for this hostname, if there is one. This address must exist in the network configuration of the server. This field is shown only if IPv6 is enabled on your server.

For a custom certificate, the editor also shows:

  • Upload a certificate and key
    Opens a file selection dialog. Select the files with your certificate chain and your private key (PEM, CRT or KEY files) from your certificate authority. After an upload, the button is named Upload a replacement certificate and key.

  • Hostnames for which this certificate is valid
    Shows the hostnames that Centova Cast read from the uploaded certificate. You cannot change this field.

  • Details of the current uploaded certificate
    Shows the details of the uploaded certificate.

For a self-signed or ACME certificate that exists, click Show certificate details to see the contents of the current certificate and key file.

DNS Configuration

When the editor knows the hostnames and the IP addresses, it shows an example of the DNS records that the hostnames need. You must create these records at your DNS provider, so that each hostname points to the IP address of your server.

When you save, Centova Cast checks the DNS records of each hostname. If the check fails, the editor shows an error message and a Diagnostics report. The report shows, for each hostname, the HTTP error and the result of each DNS resolver. If you changed your DNS records recently, the change can take up to 24 hours to become active everywhere. In that case, click Ignore and save anyway to save the hostname without the check.

Example: You add the hostname stream.example.com with the IPv4 address 203.0.113.10, and select Free certificate via letsencrypt.org. At your DNS provider, you create an A record for stream.example.com with the value 203.0.113.10. Then you save the hostname. Centova Cast checks the A record, then gets the certificate from Let's Encrypt. Until the certificate exists, the list shows Pending for it.

Note that a new hostname that you create on this page is a streaming hostname. The installer creates the web interface hostname.