Some time ago, I wrote a program for signing banners in our build process. Which worked for several months without any problems.
Now jarsigner outputs (without changing anything!):
jarsigner: unable to sign jar:
java.io.IOException: MIME Content-Type is not application/timestamp-reply
and banks are no longer signed.
What is the problem and what do I need to do to start jarsigner again?
I use this timestamp server: http://timestamp.comodoca.com
and this version of Java:
Java HotSpot (TM) 64-bit server VM "1.8.0_101" on Linux
This is my exact command line (which has worked in recent months!):
jarsigner -storetype pkcs12 -keystore certificate_file.p12 -storepass mypassword -tsa http://timestamp.comodoca.com myjarfile.jar myalias
source
share