Skip to content

Fix #723 - Update intermediate cert and signature algorithm#725

Merged
jessepeterson merged 2 commits intomicromdm:mainfrom
korylprince:cert-fix
Feb 10, 2021
Merged

Fix #723 - Update intermediate cert and signature algorithm#725
jessepeterson merged 2 commits intomicromdm:mainfrom
korylprince:cert-fix

Conversation

@korylprince
Copy link
Contributor

Copy link
Contributor

@Lepidopteron Lepidopteron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For sake of completeness DEP Token is (still) working/did not break.

  1. generated new dep_token and exchanged this with business.apple.com
  2. Uploaded the new token to our local mdm server

Following steps were also successful.

  1. have vendor CSR .csr created by MDM server
  2. upload vendor .csr to developer.apple.com to have mdm.cer generated
  3. download mdm.cer
  4. upload mdm.cer to MDM server
  5. have .csr for the push certificate generated by MDM server
  6. download the .csr from the MDM server
  7. sign the .csr with private key of server and generate .plist file for https://identity.apple.com/
  8. upload .plist file to https://identity.apple.com/ and download .pem file
  9. upload .pem file to MDM server

Step 8 is working correct and commands can be sent again to the managed devices.

Copy link
Member

@jessepeterson jessepeterson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jessepeterson jessepeterson merged commit b640fed into micromdm:main Feb 10, 2021
const (
wwdrIntermediaryURL = "https://developer.apple.com/certificationauthority/AppleWWDRCA.cer"
wwdrIntermediaryURL = "https://www.apple.com/certificateauthority/AppleWWDRCAG3.cer"
appleRootCAURL = "http://www.apple.com/appleca/AppleIncRootCertificate.cer"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it not also be https? (works either way, but https sounds right).

@korylprince korylprince deleted the cert-fix branch February 17, 2022 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants