Generating Keys for Phonegap to deploy my app in the Apple store

Hi all  i am trying to publish a app, At step 3 and 4 u need to use openssl downloaded it an tried the commands  "C:\OpenSSL\bin\openssl.exe" req -new -key "C:\private.key" -out "C:\ios.csr" and also the other one ut i got these errors  so they are invalid to generate the keys does anyone know how to get them. I would like to use them in adobe phonegab  I am using this Doc on mendix :
1 answers

I see you get the error permission denied in step 3, because you want to write the output file in C: root folder. Make sure to open command prompt with Administrator permissions, and then type:

"C:\OpenSSL\bin\openssl.exe" genrsa -out "private.key" 2048