From 5174762e4b52ab90ffad863085ec820d5c597d19 Mon Sep 17 00:00:00 2001 From: Dave Herder <27025660+dherder@users.noreply.github.com> Date: Tue, 7 Feb 2023 11:53:23 -0800 Subject: [PATCH] Update Testing-and-local-development.md (#9717) Added some examples for referring to when generating APNs certs # Checklist for submitter If some of the following don't apply, delete the relevant line. - [ ] Changes file added for user-visible changes in `changes/` or `orbit/changes/`. See [Changes files](https://fleetdm.com/docs/contributing/committing-changes#changes-files) for more information. - [ ] Documented any API changes (docs/Using-Fleet/REST-API.md or docs/Contributing/API-for-contributors.md) - [ ] Documented any permissions changes - [ ] Input data is properly validated, `SELECT *` is avoided, SQL injection is prevented (using placeholders for values in statements) - [ ] Added support on fleet's osquery simulator `cmd/osquery-perf` for new osquery data ingestion features. - [ ] Added/updated tests - [ ] Manual QA for all new/changed functionality - For Orbit and Fleet Desktop changes: - [ ] Manual QA must be performed in the three main OSs, macOS, Windows and Linux. - [ ] Auto-update manual QA, from released version of component to new version (see [tools/tuf/test](../tools/tuf/test/README.md)). --- docs/Contributing/Testing-and-local-development.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/Contributing/Testing-and-local-development.md b/docs/Contributing/Testing-and-local-development.md index 28f8986bdb..68058e66ab 100644 --- a/docs/Contributing/Testing-and-local-development.md +++ b/docs/Contributing/Testing-and-local-development.md @@ -499,6 +499,15 @@ Both can be generated using the command below. The email must be a company email ``` $ fleetctl generate mdm-apple --email --org +``` + +Using the above syntax, a command would look like this: +``` +$ fleetctl generate mdm-apple --email it@example.com --org "Acme Co." +``` + +Successful output would look like this: +``` Sending certificate signing request (CSR) for Apple Push Notification service (APNs) to ... Generating APNs key, Simple Certificate Enrollment Protocol (SCEP) certificate, and SCEP key...