From 3d3a51b8e87add18980e7885923f9caa83986360 Mon Sep 17 00:00:00 2001 From: Kory Prince Date: Fri, 20 May 2022 13:00:33 -0500 Subject: [PATCH] add missing step in "Generate MDM CSR" workflow (#823) --- cmd/mdmctl/mdmcert.go | 2 +- docs/user-guide/quickstart.md | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/cmd/mdmctl/mdmcert.go b/cmd/mdmctl/mdmcert.go index b806805e..f0ec0d23 100644 --- a/cmd/mdmctl/mdmcert.go +++ b/cmd/mdmctl/mdmcert.go @@ -45,7 +45,7 @@ mdm-certificates/ mdmctl mdmcert vendor -password=secret -country=US -email=admin@acme.co -Next, create a push CSR. This step generates a CSR required to get a signed a push certificate. +Next, create a push CSR. This step generates a CSR required to get a signed push certificate. mdmctl mdmcert push -password=secret -country=US -email=admin@acme.co diff --git a/docs/user-guide/quickstart.md b/docs/user-guide/quickstart.md index a0977af7..c731adf5 100644 --- a/docs/user-guide/quickstart.md +++ b/docs/user-guide/quickstart.md @@ -97,7 +97,7 @@ Apple has a separate flow for the MDM vendor than the one for customers. For an 1. Download your push cert 🎉 You now have a push cert from mdmcert.download. You do not have to proceed with [Generate MDM CSR](#generate-mdm-csr) below. Continue with [Upload your push certificate](#upload-your-push-certificate). - + ### Generate MDM CSR @@ -117,7 +117,13 @@ Log in to the Apple Developer Portal (https://developer.apple.com/account), and You now have the vendor side of the certificate flow complete, and you need to complete the customer side of this flow, with the help of the vendor cert. -Sign a push certificate request with the vendor certificate. This step uses the private key you created above, so specify the same password to be able to decrypt it. +First, create a push CSR: + +``` +mdmctl mdmcert push -password=secret -country=US -email=admin@acme.co +``` + +Now sign the push certificate request with the vendor certificate. This step uses the private key you created above, so specify the same password to be able to decrypt it. ``` mdmctl mdmcert vendor -sign -cert=./mdm-certificates/mdm.cer -password=secret