mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
#23760 Manual QA done: 1. Get the current APNS key using tools/mdm/assets tool. 2. Convert it to a PKCS8 key like: `openssl pkcs8 -topk8 -inform PEM -outform PEM -in mdm_assets/apns_key.key -out mdm_assets/apns_pkcs8.key -nocrypt` 3. Delete all `apns` and `scep` rows from `mdm_config_assets` DB table. 4. Point to the PKCS8 key like: ``` export FLEET_MDM_APPLE_APNS_KEY=/Users/victor/work/fleet/mdm_assets/apns_pkcs8.key export FLEET_MDM_APPLE_APNS_CERT=/Users/victor/work/fleet/mdm_assets/apns_cert.crt export FLEET_MDM_APPLE_SCEP_CERT=/Users/victor/work/fleet/mdm_assets/ca_cert.crt export FLEET_MDM_APPLE_SCEP_KEY=/Users/victor/work/fleet/mdm_assets/ca_key.key export FLEET_MDM_APPLE_SCEP_CHALLENGE=$(cat /Users/victor/work/fleet/mdm_assets/scep_challenge) ``` This step may be tricky. Might be simpler to spin up a fresh Fleet server with the SCEP/APNS values. 5. Start fleet server. Make sure APNS works by pushing/deleting a profile. 6. Renew APNS cert and make sure the new cert still works. # Checklist for submitter If some of the following don't apply, delete the relevant line. <!-- Note that API documentation changes are now addressed by the product design team. --> - [x] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. - [x] Added/updated tests - [x] Manual QA for all new/changed functionality |
||
|---|---|---|
| .. | ||
| bootstrap-packages | ||
| externalCA | ||
| software-installers | ||
| client-ca.crt | ||
| client.crt | ||
| client.key | ||
| pkcs1.key | ||
| pkcs8-encrypted.key | ||
| pkcs8-rsa.key | ||
| pkcs8-x25519.key | ||
| PKCSReq.der | ||
| server.key | ||
| server.pem | ||