Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JDK1.6.0_131 Jarsigner with SHA256 Problem

User_CK1Z8Nov 24 2016 — edited Nov 27 2016

I want to sign a JAR file with timestamp server and using JDK1.6.0_131 for SHA-256 algorithm as below.

jarsigner -sigalg SHA256withRSA -tsa http://sha256timestamp.ws.symantec.com/sha256/timestamp -keystore mykeystore MyApplet.jar cert

The error message is as below.

Warning:

Using SHA-1 digest algorithm for timestamp generation. See the -tsadigestalg option.

jarsigner: unable to sign jar: java.net.ConnectException: Connection refused (Connection refused)

What is the option value for -tsadigestalg? Thanks.

This post has been answered by karianna on Nov 25 2016
Jump to Answer
Comments
Post Details
Added on Nov 24 2016
1 comment
2,088 views