Error: Cannot read public key. OID is not RSA. #246
-
I have generated signerCer.pem , signerKey.pem and wwdr.pem (G6 version) but after tons of times of extracting pem file it still gives this error everytime as "Error: Cannot read public key. OID is not RSA." I have also took reference from https://github.com/alexandercerutti/passkit-generator/wiki/Generating-Certificates for take guide about how to generate but it goes into mess when you have OpenSSL >= 3 version. So it would be great if someone guide step by step to generate those certificates with the best practice to import or assign under PKPass.from({ .... }). I'm using in my Nest JS Project This is my current code snippet.
Here is the folder structure project-root/ Please guide me @alexandercerutti Thanking You, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hello @Naman-Codiste, thanks for using passkit-generator. Let me know. |
Beta Was this translation helpful? Give feedback.
Hello @Naman-Codiste, thanks for using passkit-generator.
Did you try with WWDR G4? For what I know, G6 is not compatible with Apple Wallet.
Let me know.