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.
Where to manage it
Section titled “Where to manage it”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.
Install a certificate
Section titled “Install a certificate”Use this when you already have a certificate and its private key.
- Click Upload certificate.
- 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.
- Upload. The card shows the new certificate and confirms it is served.
Use this to have the private key generated on the server — it never leaves it.
- Click Create CSR.
- Enter the Common name (CN) — the host name users open, for example
mfa.example.com(a DNS name, a*.wildcard, or an IP address). - Add Additional names (SAN) — other host names or IP addresses. The common name is always included.
- Choose the Key type: ECDSA P-256 (recommended, suits every current browser and CA), ECDSA P-384, or RSA 2048 / 3072 / 4096 for an older CA or devices that do not support ECDSA.
- Optionally fill the subject fields (organization, city, country, e-mail). Most CAs ignore them for domain-validated certificates.
- Create CSR, then Download .csr or Copy it and send it to your CA.
- When the CA issues the certificate, open the card again and click Upload issued certificate.
The pending CSR stays on the card until you upload its certificate or Discard it. Creating a new CSR replaces a pending one.
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.
Expiry alerts
Section titled “Expiry alerts”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.
Certificates on a cluster
Section titled “Certificates on a cluster”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.
Other certificates
Section titled “Other certificates”- 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.