Generate system signature keystore. ./keytool-importkeypair: Permission denied

Convert the system signature platform.x509.pem, platform.pk8 to the signature file platform.keystore that can be used directly by android studio. An error occurred:

./keytool-importkeypair: Permission denied

Keytool download address:
https://github.com/getfatday/keytool-importkeypair

The tool can't be used in the Windows environment. I am executing it in centos. I need to give the keytool-importkeypair file permission:

[root@localhost soft]# chmod 7777 keytool-importkeypair 

Execute the build again:

[root@localhost soft]# ./keytool-importkeypair -k ./platform.keystore -p android -pk8 platform.pk8 -cert platform.x509.pem -alias platform
Importing "platform" with SHA1 Fingerprint=AC:D4:A9:E4:01:8E:A1:F1:55:4B:D2:60:5A:E4:55:F6:DF:0F:2A:F2
Importing keystore /tmp/keytool-importkeypair.pFOG/p12 to ./platform.keystore...
Entry for alias platform successfully imported.
Import command completed:  1 entries successfully imported, 0 entries failed or cancelled

Warning:
The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore ./platform.keystore -destkeystore ./platform.keystore -deststoretype pkcs12".

Intelligent Recommendation

Generate signature file keystore

How to generate a signature file using keytool.exe in jdk? 1, through the command line cmd into the jdk bin directory, you will find a keytool.exe file Excuting an order:keytool -genkey -alias test.ke...

Generate a signature certificate keystore

Foreword In the Android project development, when you want to export androidapp to apk, you need to choose a digital certificate, which is the keystore file (android.keystore), which is used to sign o...

Generate Android signature keystore

——To generate a signature file, first enter the custom password twice, then fill in a few questions, and finally enter y to confirm...

Generate KeyStore and APK Signature

You need to select a digital certificate when you want to export the project as an apk in Android Project Development. Generate using JDK's KeyTool tool Install JDK, KeyTool.exe is located in the dire...

Android uses platform.pk8 and platform.x509.pem to generate the keystore system signature file

Recently, you need to develop an application with system-level permissions, and you have learned about the signature method of system applications. Here is a brief introduction. When developing Androi...

More Recommendation

Generate keystore system signature files that Android studio can use

1. Preparation tools: OpenSSL and Android studio 2. Use OpenSSL to generate key.pem and platform.p12 1. Find the OpenSSL installation path C:\OpenSSL-Win64\bin, click the file path, enter cmd and pres...

APK signature keytool generates keystore and jarsigner signature apk

Reprinthttp://www.tttabc.com/android/keytool-keystore-jarsigner-apk.htm androidProgram signature andSymbianSimilar can be self-signed(Self-signed),But whenandroidAt the beginning of the certificate in...

Use Java keytool to generate JKS KeyStore and export certificate from KeyStore

What is the Java keytool utility? Java Keytool is a command-line utility that is provided as part of the JDK installation and is located in the bin folder of the JDK installation. The Java Key tool is...

Generate Keystore signature file method

Generate Keystore signature file method 1. Introduction to Keystore signature file Keytool is a Java data certificate management tool. Keytool stores the key and certificate in a file called *.keystor...

msm8953 generates a keystore with system signature

My environment: mac android7.1.2 msm8953 Prerequisites 1. Android source code 2. keytool-importkeypair (download linkhttps://github.com/getfatday/keytool-importkeypair) step 1. Export the following fi...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top