Oktul home
  • English
  • Estonian

The documentation is in English only.

Contact us

Replace the signing certificate

Replacing the certificate Oktul eID SSO signs logins with, before it expires or after its key may have leaked, without reinstalling the app.

The app signs every login with one key, and Atlassian Guard checks the signature against the one certificate its directory holds. The app makes the key and a self-signed certificate itself, on first use. The certificate is valid for 5 years.

Replace it before it expires, or at once if its key may have leaked. The health check warns 90 days before the expiry.

Between the switch and Guard, every login fails

From Switch now until you have pasted the new certificate into Guard, Guard refuses every login. Keep both pages open, and a break-glass admin at hand.

The routine

  1. On the Atlassian Guard tab, select Prepare new certificate

    The page shows the new certificate. Copy it. Logins keep using the current one.

  2. Open Guard's SAML settings for the directory in a second tab

    Have the field for the public x509 certificate ready.

  3. In the app, select Switch now and confirm
  4. At once, paste the new certificate into Guard and save there
  5. Log in as a test user on the single sign-on policy

Nothing else is needed. The previous key is deleted 7 days after the switch.

If the login fails after the switch

Select Switch back, and paste the previous certificate into Guard again. Step 1 of the tab shows it. Switching back is possible for 7 days.

The new certificate stays prepared, so you can Switch now again later.

If the key may have leaked

Whoever holds the key can sign logins Guard accepts.

  1. If you cannot do the next steps within minutes, first move users to an authentication policy without single sign-on.
  2. Follow the routine at once.
  3. Select Remove previous key. The leaked key is deleted and cannot be switched back to.
  4. Report it to Oktul through the Help Center (opens in a new tab).

The buttons

Button What it does
Prepare new certificate Makes a new RSA-2048 key and a 5-year certificate. Nothing changes for logins
Discard Deletes the prepared certificate
Switch now The prepared key signs every login from the next request on. The old key becomes the previous key, kept for 7 days
Switch back The previous key signs again, and the key switched away from becomes the prepared one. Possible for 7 days, and only after any other prepared certificate is discarded
Remove previous key Deletes the previous key at once

A second switch within the 7 days deletes the older previous key, and the confirmation says so.

What the app guarantees

  • Private keys never leave the app’s backend. The page receives certificates only.
  • One admin wins. If two admins change the keys at the same moment, one change is applied and the other admin is told to look again. A change made from a page that shows an older state is refused.
  • Every change and every refusal is recorded, with the admin who made it and the certificates’ fingerprints, in the audit log when you record admin changes.

A problem or a question? Write to support@oktul.com or open a request in the Help Center (opens in a new tab).