java - Sign JAR file with thawte certificate -
i´m trying sign jar file thawte certificate i´ve runned problems , try explain i´ve done.
step 1
i´ve created keystore file in jks format using following command:
keytool -genkey -keystore keystore -alias alias -keyalg rsa -keysize
and generating certificate:
keytool -certreq -alias alias -keystore keystore -file file.csr
after i´ve done did send generated certificate request thawte confirmation.
step 2 - notice: done on other computer.
after while i´ve received email thawte containing confirmation , code signing certificate.
when i´ve received confirmation created 2 .cer files. 1 containing received certificate , containing thawte intermediate certificate got website. imported these keystore used in step one.
step 3
the last thing dig signed jar file using following command:
jarsigner c:\signed\file.jar keystore
everything went fine except warning:
warning: signer certificate expire within 6 months. no -tsa or -tsacert provided , jar not timestamped. without times tamp, users may not able validate jar after signer certificate's expiration date (2014-06-02) or after future revocation date.
and when i´m trying deploy jar file browser says it´s self-signed applet.
does know i´m missing?
kind regards / h
Comments
Post a Comment