fleet/server/service/testdata
Victor Lyuboslavsky 25d9a2b043
Allow APNS key to be in unencrypted PKCS8 format (#24570)
#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
2024-12-09 16:23:22 -06:00
..
bootstrap-packages implement bootstrap packages during DEP enrollment (#11052) 2023-04-07 17:31:02 -03:00
externalCA NDES SCEP proxy backend (#22542) 2024-10-09 13:47:27 -05:00
software-installers Add support to upload RPM packages (#22502) 2024-10-01 13:02:13 -03:00
client-ca.crt Add mTLS support to fleetd (#11319) 2023-04-27 08:44:39 -03:00
client.crt Add mTLS support to fleetd (#11319) 2023-04-27 08:44:39 -03:00
client.key Add mTLS support to fleetd (#11319) 2023-04-27 08:44:39 -03:00
pkcs1.key Allow APNS key to be in unencrypted PKCS8 format (#24570) 2024-12-09 16:23:22 -06:00
pkcs8-encrypted.key Allow APNS key to be in unencrypted PKCS8 format (#24570) 2024-12-09 16:23:22 -06:00
pkcs8-rsa.key Allow APNS key to be in unencrypted PKCS8 format (#24570) 2024-12-09 16:23:22 -06:00
pkcs8-x25519.key Allow APNS key to be in unencrypted PKCS8 format (#24570) 2024-12-09 16:23:22 -06:00
PKCSReq.der NDES SCEP proxy backend (#22542) 2024-10-09 13:47:27 -05:00
server.key add endpoint to serve the kolide certificate back to the user (#1025) 2017-01-20 14:32:10 -05:00
server.pem add endpoint to serve the kolide certificate back to the user (#1025) 2017-01-20 14:32:10 -05:00