How to use Linux openssl to generate CSR for iOS?

True to its proprietary spirit, Apple requires that the certificates used for the iOS developer program be generated using mac. (as a .certSigningRequest file)

Obviously, they somehow use the standard for these keys, so my question is: What does the .certSigningRequest image look like? Can someone share censored versions of their file? (keeping the same length)

Then I’m sure that we will be able to figure out how to generate the same thing using openssl and ultimately edit the csr file to fit the format required by Apple.

Thanks.

+7
ios openssl rsa csr
source share
1 answer

Ah, in fact this is strictly the same format as files created using openssl. I just always use 4096 to generate, and I did not expect the apple to use only 2048.

So, to generate a key set for the ios developer:

openssl genrsa -out ios-dev.key 2048 openssl req -new -key ios-dev.key -out ios-dev.csr 
+12
source share

All Articles