grinich / mdmvendorsign

Create a certificate signing request as a "vendor" of Apple's MDM push notification service
MIT License
148 stars 48 forks source link

Certificate Signature Verification failed because the signature is invalid. #6

Closed bytesofdhiren closed 7 months ago

bytesofdhiren commented 8 years ago

I am trying to upload the plist file to apple but getting the error as Certificate Signature Verification failed because the signature is invalid.

I have performed following steps locally

  1. openssl genrsa -des3 -out customerPrivateKey.pem 2048
  2. openssl req -new -key customerPrivateKey.pem -out customer.csr
  3. Uploaded customer.csr to apple enterprise account certificate and downloaded mdm.cer file.

Now I am running the script to generate plist file. It's sucessfuly generating the file but when I upload the file to server I recieve the error as "Certificate Signature Verification failed because the signature is invalid."

bytesofdhiren commented 8 years ago

I read your earlier issue https://github.com/grinich/mdmvendorsign/issues/1#issuecomment-22968436 but in my case I am the vendor. I am creating MDM server.

Zeo22 commented 3 years ago

This is issue is old, but now, if you are having problems with the Signature Verification, its probably because the certificate Apple WWDR CA expiration, I had to add the latest AppleWWDRCAG3 certificate to the certificate chain on the plist needed for APNS renew. This might clear things a bit for you https://developer.apple.com/support/expiration/ "The renewed certificate will be used to sign new software signing certificates issued after January 28, 2021"

liuguanlin commented 2 years ago

@Zeo22 It's solved. Thank you very much