micromdm / micromdm

Mobile Device Management server
https://micromdm.io
MIT License
2.2k stars 349 forks source link

Apple Push Cert "Invalid Certificate Signing Request" #796

Closed hans0801 closed 1 year ago

hans0801 commented 2 years ago

What version of micromdm are you using?

v1.8.0

What micromdm command did you run?

mdmctl mdmcert vendor -password=mysecret -country=ID -email=myemail@email.id mdmctl mdmcert push -password=mysecret -country=ID -email=myemail@email.id mdmctl mdmcert vendor -sign -cert=./mdm-certificates/VendorCertificateRequest.csr -password=mysecret

What did you expect to see?

Successful for sign VendorCertificateRequest.csr at Apple APNS , when i tried for upload and process the VendorCertificateRequest.csr , apple said that "Invalid Certificate Signing Request. The certificate signing request you entered appears to be invalid. Make sure that request file was uploaded is in the correct format and not empty." I'm Using Ubuntu Server 20

What did you see instead?

-

tomaswallentinus commented 2 years ago

@hans0801 You are suppose to select "MDM CSR" on https://developer.apple.com/account/resources/certificates/list and upload the file? Not APNS.

jessepeterson commented 1 year ago

There doesn't seem to be any follow-up after clarifications have been asked for. Closing this issue.