- Use the following command line to generate a new key
keytool -genkeypair -alias upload -keyalg RSA -keysize 2048 -validity 9125 -keystore keystore.jks
- Export the certificate for that key to PEM format
keytool -export -rfc -alias upload -file upload_certificate.pem -keystore keystore.jks
- Once you have generated a PEM file please follow the steps below:
Go to Setup > App integrity > App Signing.
Request Upload key reset.
Give a reason why you’re requesting a key reset.
Enter PEM file.
Click Request.
Link to Expo App Credentials
https://docs.expo.dev/app-signing/app-credentials/