This period of time, has been trying to ionic2, play re-pick up the process of ionic found a lot of processes have been and before the process there is a great difference in the signature encountered errors, collective error is as follows:
According to the online search data, said the firewall can be closed, after the experiment can not be.
Commands to execute
Jarsigner-verbose-digestalg sha1-sigalg Md5withrsa-tsa Https://timestamp.geotrust.com/tsa-keystore happen.keystore -keypass coo-storepass Coo-signedjar signed.apk platforms/android/app/build/outputs/apk/release/ app-release-unsigned.apk Happen.keystore
Or
Jarsigner-verbose-tsa Https://timestamp.geotrust.com/tsa-keystore ****.keystore-signedjar ****.apk platforms/ android/build/outputs/apk/android-release-unsigned.apk ****.keystore
Execution hints that the jar could not be signed: The timestamp authority did not respond, found the relevant error on the Internet and did not find the correct answer, so open the timestamp address found that the timestamp address is not accessible in the wall and outside the wall, so find the relevant information found that the timestamp address has expired, change the timestamp address can be
RELATED links:
Https://stackoverflow.com/questions/43585380/is-http-timestamp-geotrust-com-tsa-not-longer-available-for-signtool
Https://knowledge.symantec.com/support/partner/index?page=content&id=NEWS10071&viewlocale=en_US
Open the second address find the address in our command has expired, test the new address is available, replace with the new address.
The correct command is as follows
Jarsigner-verbose-tsa Http://sha256timestamp.ws.symantec.com/sha256/timestamp-keystore Happen.keystore-signedjar happen.apk platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk Happen.keys
Tore
Or
Jarsigner-verbose-digestalg sha1-sigalg Md5withrsa-tsa Http://sha256timestamp.ws.symantec.com/sha256/timestamp- KeyStore happen.keystore-keypass 111111-storepass 111111-signedjar signed.apk Platforms/androi
d/app/build/outputs/apk/release/app-release-unsigned.apk Happen.keystore
The signature method used when the above is 1.0:
Below is the signature method in Ionic2 document:
keytool -genkey -v -keystore my-release-key-keyalg rsa -keysize 2048 -validity 10000 -alias my-alias
jarsigner -verbose -sigalg sha1withrsa -digestalg sha1 -keystore my-release-key .jks android-release-unsigned.apk my-alias
Official address
About app signing-unable to sign jar: Timestamp Authority not responding