Warning:-tsa or-tsacert not provided, this jar has no timestamp. If there is no time stamp, the signer certificate expires

Source: Internet
Author: User
Tags sha1


In signing the generated apk, jdk1.6 upgrade to jdk1.7 will have the following issues:

1. Clearly signed, and the signature check apk also has signed files, but the installation is to prompt installation failure, no signature, the solution

Add a message to the signature command:-digestalg sha1-sigalg md5withrsa Plus, you can.

Old: Jarsigner-keystore test.keystore-storepass test123-signedjar signed_client.apk client.apk test

NEW: Jarsigner-digestalg sha1-sigalg md5withrsa-keystore test.keystore-storepass Test123-signedjar signed_client.apk cl IENT.APK Test

This will allow the installation to succeed once the signature is completed.

2. The above method can solve the problem that the signature cannot be installed successfully, but it will find a warning:

Warning:
-tsa or-tsacert not provided, this jar has no timestamp. If there is no time stamp, the signer certificate expires
Date (2063-07-18) or any subsequent revocation date, the user may not be able to verify the jar.

The warning itself has no effect on the signature, but it always feels weird to get rid of this warning, just add-tsa https://timestamp.geotrust.com/tsa on the command.

The final command is:

Jarsigner-digestalg sha1-sigalg Md5withrsa-tsa Https://timestamp.geotrust.com/tsa-keystore test.keystore-storepass Test123-signedjar signed_client.apk client.apk Test


Warning:-tsa or-tsacert not provided, this jar has no timestamp. If there is no time stamp, the signer certificate expires

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.