Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSR algorithm/size incorrect. Expected: RSA(2048) #1231

Closed
meta-merritt opened this issue Apr 11, 2024 · 1 comment
Closed

CSR algorithm/size incorrect. Expected: RSA(2048) #1231

meta-merritt opened this issue Apr 11, 2024 · 1 comment

Comments

@meta-merritt
Copy link

I'm running headless ecomm on Shopify stores that flow into my visionOS app, when going through a specific store's Apple Pay setup via iOS SDK, the CSR file I download from Shopify does not use the correct encryption for Apple Developer. Specifics below.

The error message "CSR algorithm/size incorrect. Expected: RSA(2048)" means that the Certificate Signing Request (CSR) file you submitted doesn't meet Apple's requirements for the algorithm or key size. Specifically, Apple requires the CSR to be generated using the RSA encryption algorithm with a key size of 2048 bits. It seems that the CSR uses an elliptic curve public key, not RSA. This is why you're encountering the error when uploading to Apple, as they specifically require RSA with a 2048-bit key size.

Thanks Chat GPT :) I followed Chat GPT's and developer forums suggestions by using my Mac terminal and creating a new encryption for the CSR file. Below are the prompts I used in the terminal to create the RSA encrypted file.

Screenshot 2024-04-11 at 1 15 56 PM

New CSR file uploaded successfully to Apple Developer and I was able to create the Merchant ID cert. **Now I'm getting an error message from Shopify when uploading the Merchant ID cert. **
Screenshot 2024-04-11 at 11 18 46 AM

I'm a dead end at this point and have no idea how to resolve given the lack of specifics from the error message. Please help me successfully get Apple Pay integrated. Thanks!

@lachlanh
Copy link

I'm getting a similar error on trying to create the Apple Pay Merchant ID Certificate, Did you ever get this resolved @meta-merritt ?

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

No branches or pull requests

2 participants