clarify certificate_authorities nesting in Okta Platform SSO guide (#43512)

Two fixes to the Deploying Platform SSO with Okta and Fleet guide:

1. Clarified that `certificate_authorities` is a top-level key under
   `org_settings` and not nested inside `integrations`. The guide's
   example snippet showed `integrations:` in isolation, making it easy
   to incorrectly nest `certificate_authorities` underneath it.

2. Added missing opening ```sql code fence in the Option 2 (Static SCEP
   challenge) section. The missing fence was causing a large unformatted
   block to break the article layout. Also removed a stray `);` at the
   end of the query which was invalid SQL and appeared to be a
   copy-paste artifact.
This commit is contained in:
Adam Baali 2026-04-14 17:46:28 +02:00 committed by GitHub
parent 08bb520b0c
commit 4dd583d204
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -76,7 +76,9 @@ In Fleet, go to **Settings** → **Integrations** → **Certificate authorities*
Alternatively, configure via GitOps in your `org_settings`:
```yaml
integrations:
org_settings:
integrations:
...
certificate_authorities:
ndes_scep_proxy:
url: https://your-okta-org.okta.com/scep
@ -181,13 +183,13 @@ On your Mac, open [iMazing Profile Editor](https://imazing.com/profile-editor).
- **Allow All Apps Access:** Checked
- **Certificate Expiration Notification:** Set to 14 days before expiration
```sql
**Important:** Okta doesn't support automatic certificate renewal. You must redeploy the profile before the certificate expires to replace it.
SELECT 1
FROM certificates
WHERE issuer LIKE '%/DC=com/DC=okta%'
AND ca=0
AND CAST((not_valid_after - strftime('%s', 'now')) / 86400 AS INTEGER) >= 14;
);
```
**[View example static SCEP profile →](https://github.com/fleetdm/fleet/blob/main/docs/solutions/macos/configuration-profiles/okta-device-access-scep-example.mobileconfig)**