Перейти к содержимому

TLS certificate management

The console, the SSO sign-in page, the Windows agent API and the Web Push approval pages are all served over HTTPS with one certificate, managed in the console. A new installation generates a self-signed certificate; replace it with one from a CA your users’ browsers and phones trust.

Open Settings ▸ System ▸ General. The HTTPS certificate card shows the certificate in use: common name, alternative names (SAN), issuer, validity and days left, fingerprints, key type and chain. It also tells you:

  • whether it covers the host of the public URL — if not, browsers show a name mismatch;
  • whether the web server serves this certificate right now. A change is picked up within a few seconds; no restart is needed.

Set the public URL on the same page first: the checks are made against it.

Use this when you already have a certificate and its private key.

  1. Click Upload certificate.
  2. Choose the format:
    • PEM files — the certificate (with its chain) and the unencrypted private key;
    • PKCS#12 (.pfx/.p12) — one file with the certificate, chain and key, and its password.
  3. Upload. The card shows the new certificate and confirms it is served.

Regenerate self-signed replaces the current certificate with a new self-signed one for the host of the public URL — useful in a lab, or after changing the host name before a CA certificate is ready. Browsers warn again afterwards.

OkYouIn does not request certificates automatically (no ACME); renew them with your CA and upload the new one before the old one expires.

OkYouIn watches the certificates it uses — the console’s HTTPS certificate and the SAML signing certificates. A warning alert opens a number of days before expiry (Certificate expiry warning on Settings ▸ System ▸ Alerts), becomes an error at 30 days and critical at 7 days, notifying again at each step. See Logs, SIEM & alerts.

The dashboard’s certificate widget shows the same at a glance.

On a high-availability cluster the certificate is shared: every node serves the same one. It must therefore name every node’s address — mfa1.example.com and mfa2.example.com as SANs, for example — or the name of your load balancer, if you use one. Per-node certificates are not available yet.

  • SAML signing certificates sign assertions for SAML applications. They are managed with the SAML settings, with prepare, activate and revert steps for a safe rotation — see SAML applications.
  • OIDC signing keys are generated and rotated by OkYouIn.
  • Outbound TLS: OkYouIn verifies the certificates of the servers it calls. For LDAPS and syslog over TLS, give the CA certificate in that configuration; for a TLS-inspecting outbound proxy, set OUTGOING_CA_CERTFILE (see Requirements).

The HTTPS certificate, its key and a pending CSR are part of every backup.