Current location - Quotes Website - Personality signature - Use pk8, x509.pem to convert to the mac version of jks signature file.
Use pk8, x509.pem to convert to the mac version of jks signature file.
1: put pk8 and x509 in a folder and use the cd command to enter the folder.

2:OpenSSL pkcs 8-inform DER-nocrypt-in platform . pk8-out platform . PEM

3:sudo OpenSSL pkcs 12-export-in platform . x509 . PEM-out platform . p 12-inkey platform . PEM-password pass:Android-name androiddebugkey

Where android is the password and Androiddebugkey is the alias.

4 . keytool-import keystore-deststorepass Android-destkeystore。 /platform.jks -srckeystore。 /platform . p 12-srcstoretype pkcs 12-srcstorepass Android