Exporting my key as a PEM file
- By Greum
- Android Development
- 34 Replies
I'm trying to reset my upload key. Google's instructions say:
2. Export the certificate for that key to PEM format:
keytool -export -rfc -alias upload -file upload_certificate.pem -keystore keystore.jks
After several attempts I have managed to locate keytool.exe and I changed the command to use my .jks file. Having eventually got the password correct I now get the following error:
keytool error: java.io.FileNotFoundException: upload_certificate.pem (Access is denied)
Can anyone help please? I am running out of hair to tear out!
2. Export the certificate for that key to PEM format:
keytool -export -rfc -alias upload -file upload_certificate.pem -keystore keystore.jks
After several attempts I have managed to locate keytool.exe and I changed the command to use my .jks file. Having eventually got the password correct I now get the following error:
keytool error: java.io.FileNotFoundException: upload_certificate.pem (Access is denied)
Can anyone help please? I am running out of hair to tear out!