Jarsigner (MIME Content-Type is not an application / timestamp)

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

+4
source share
2 answers

. , - timestamp.

+1

. , - timedamp Comodo . http://timestamp.comodoca.com HTTP/1.1 302 Content-Type: text/html

jarsigner, , application/timestamp-reply

Comodo https://support.comodo.com/index.php?/Knowledgebase/Article/View/68/0/time-stamping-server

+1

Source: https://habr.com/ru/post/1657388/


All Articles