Skip to content

Commit

Permalink
add missing step in "Generate MDM CSR" workflow (#823)
Browse files Browse the repository at this point in the history
  • Loading branch information
korylprince committed May 20, 2022
1 parent ddb6fa4 commit 3d3a51b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/mdmctl/mdmcert.go
Expand Up @@ -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
Expand Down
10 changes: 8 additions & 2 deletions docs/user-guide/quickstart.md
Expand Up @@ -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).

</details>

### Generate MDM CSR
Expand All @@ -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
Expand Down

0 comments on commit 3d3a51b

Please sign in to comment.