Hi, I can't get the pass to be signed by the certificates and I'm not sure what's wrong!
I followed the instructions on README.md file and i got the two certificates:
1- Passbook certificate
2- Apple WWDR G4
I got error on this line:
generator.Generate(request);
Passbook.Generator.Exceptions.ManifestSigningException: 'Failed to sign manifest'
I found out on the debug that the passbook certificate doesn't have a private key
request.PassbookCertificate.PrivateKey is null
so i tried to sign that passbook certificate using openssl with new private key I created
and i got error on this line:
request.PassbookCertificate = new X509Certificate2(passCertbytes, "Password");
Internal.Cryptography.CryptoThrowHelper.WindowsCryptographicException: 'Cannot find the requested object.'
Hi, I can't get the pass to be signed by the certificates and I'm not sure what's wrong! I followed the instructions on README.md file and i got the two certificates: 1- Passbook certificate 2- Apple WWDR G4
I got error on this line:
generator.Generate(request); Passbook.Generator.Exceptions.ManifestSigningException: 'Failed to sign manifest'
I found out on the debug that the passbook certificate doesn't have a private key request.PassbookCertificate.PrivateKey is null
so i tried to sign that passbook certificate using openssl with new private key I created and i got error on this line: request.PassbookCertificate = new X509Certificate2(passCertbytes, "Password"); Internal.Cryptography.CryptoThrowHelper.WindowsCryptographicException: 'Cannot find the requested object.'
I'm using this code :