UCBC
Admin Guide

SSL Certificates

5 min read

Settings > SSL Certificates (click your name at the top right, then Settings) looks after the server's HTTPS certificate. The certificate comes free from Let's Encrypt and lasts 90 days. UCBC renews it automatically. Only superadmins who log in to the console domain or a Console Sector domain see it - a superadmin of a customer domain does not.

One certificate covers the server's main address and the names of its services:

NameUsed by
ucbc.example.com (the main address)The web portal, and softphones and SIP over TLS (Kamailio)
meet.<base>UCBC Meet video meetings
turn.<base>Meeting media relay (TURN over TLS)
analytics.<base>Analytics dashboards (Data Mining)

The base is normally the main address itself, for example meet.ucbc.example.com. Some servers use a shorter parent instead, for example meet.example.com for ucbc.example.com.

What the page shows#

  • Certificate: who issued it and the main address.
  • Expires: the expiry date and the days left. It turns amber at 30 days and red at 14 days.
  • Covers: each name, with a tick if the certificate includes it. A cross means that name's DNS did not point at this server when the certificate was issued.
  • Automatic renewal: on or off. When it's on, the certificate renews about 30 days before it expires. This switch also controls renewal of any help-centre custom-domain certificates.

How to request a certificate#

  1. Point the DNS A record of each name at this server's IP address.
  2. On the page, check the Domain name. It's filled in with the current one.
  3. Fill in Base for Meet / TURN / Analytics only if it differs from the domain.
  4. Enter the Let's Encrypt account email.
  5. Click Check domain. The page lists every name with its DNS record and whether it reaches this server on port 80. The main address must show yes. Any other name that doesn't reach the server is left out, and its service keeps its current certificate.
  6. Click Request certificate and follow the progress on the page. It usually takes under a minute.

UCBC opens port 80 just for the request and closes it again afterwards. The new certificate is then switched into use by:

  • the web server;
  • Kamailio, for softphones and SIP TLS (calls and registrations stay up);
  • Meet.

If the current certificate is still valid and already covers the same names, no new one is requested.

How to change the server's domain#

Enter the new Domain name. The page warns that this moves the whole server to the new name: the web address, softphones, Meet, TURN and Analytics.

  1. Before you start, open the page using the server's IP address, for example https://203.0.113.10/app/ssl_certificates/ssl_certificates.php, and sign in there. Your browser warns about the certificate on the IP address; continue anyway. This way you aren't locked out while the address changes.
  2. Point the new name's DNS at the server, then click Check domain and Request certificate. Confirm the change.
  3. When it finishes, sign in at https:// followed by the new domain.

While the old address's DNS still points at the server, UCBC keeps it in the certificate too (shown as previous address under Covers), so bookmarks and softphones on the old address keep working during the move. Softphones in particular can't click through a certificate warning the way a web page can. Once the old address's DNS points elsewhere, the next Request certificate drops it (an automatic renewal keeps the same names).

Afterwards, update anything that still uses the old address: desk phones, web chat snippets on websites, links to the help centre, and the DNS record on Settings > High Availability if the server is part of an HA pair.

Renew now#

Renew now gets a fresh certificate for the same names straight away. You don't normally need it, because automatic renewal does this. Let's Encrypt allows only 5 certificates for the same set of names per week.

Safety#

  • Nothing on the server changes until Let's Encrypt has issued the certificate. If the request fails, for example because DNS points elsewhere, port 80 is blocked or the weekly limit is reached, the page says why and the current certificate stays in use.
  • Before switching, UCBC saves every file it changes. It tests the web server and Kamailio configuration, then checks that the new certificate is actually being served. If any step fails, it puts the previous configuration back.
  • After a renewal, the meeting relay (LiveKit) picks up the new certificate at 03:15 that night, so a meeting is never cut off in the middle of the day.

High availability#

On an HA pair, certificates are requested and renewed on the Primary only. After every new certificate or renewal, the Primary copies it to the Secondary and applies it there. A domain change is applied there the same way, including the Meet, TURN and Analytics names. The Secondary's page shows the certificate but doesn't allow changes.

Expiry warnings#

Let's Encrypt no longer sends expiry emails. If the certificate gets within 21 days of expiry, which means automatic renewal is failing, UCBC emails every console user who has System Notify turned on, once a day until it's fixed. The usual causes are:

  • the domain's DNS no longer points at this server;
  • port 80 is blocked.

Common issues#

MessageWhat to do
does not reach this server on port 80Point the name's DNS A record at this server's IP address, and make sure no firewall in front of the server blocks port 80.
no DNS recordCreate the DNS record. A new record can take a few minutes to become visible.
weekly limit for these names is used upWait until the time shown. Nothing on the server needs fixing.
This is the HA secondaryMake the change on the Primary.
💬 Chat with Ace: SIITS AI