mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
| .. | ||
| main.go | ||
| README.md | ||
MicroMDM touchless migration
This Go script reads information from a MicroMDM database and outputs:
- SCEP, APNs and ADE certificates.
- A file with MySQL statements to import the records into a Fleet database.
Usage
The only requirement is to have a compatible version of Go installed, and a MicroMDM database.
Here's an example of how a successful run looks like:
$ go run tools/mdm/migration/micromdm/touchless/main.go --db ~/projects/micromdm/micromdm.db
2024/09/11 10:05:53 Open DB for devices
2024/09/11 10:05:53 Found 1 devices
2024/09/11 10:05:53 Wrote device/enrollment records to dump.sql
2024/09/11 10:05:53 Open DB for SCEP cert and key
2024/09/11 10:05:53 Wrote SCEP cert/key to scep.cert/scep.key