dinsdag 10 november 2015

certificates Android

Sign an apk
java -jar out/host/linux-x86/framework/signapk.jar -w .x509.pem .pk8 app_name.apk app_name-signed.apk

How can I check that an Android apk is signed with a release and not debug cert?
$ jarsigner -verify -verbose -certs my_application.apk

.509.pem is the Certificate
.pk8 is the hash

content of a pem file
$ openssl x509 -in acs.qacafe.com.pem -text



jar -xvf ../foo.jar
cd META-INF
openssl pkcs7 -in TEST.RSA -print_certs -inform DER -out foo.cer


keytool -printcert -file ANDROID_.RSA
keytool -list -keystore my-signing-key.keystore

Touch Settings > Personal > Security > Credential storage > Trusted credentials. The trusted credentials screen has two tabs:
System displays certificate authority (CA) certificates that are permanently installed in the ROM of your phone.
User displays any CA certificates that you have installed yourself, for example in the process of installing a client certificate.

Geen opmerkingen:

Een reactie posten