java - Set publisher name in JWS application using given certificate -


i have obtained certificate trusted authority (have been given .pfx file).

i signed .jar files jarsigner this:

jarsigner -storetype pkcs12 -keystore my_pfx_file.pfx -storepass my_store_pwd -signedjar smy_jar.jar my_jar.jar 

then exported certificate keystore create .cer file.

what else have don't message "unknown publisher" , instead has company name?

i figured out. problem .pfx file. see certificate chain in mmc console, when used:
keytool -list -storetype pkcs12 -keystore my_pfx_file.pfx,
saw certificate chain length 1.
so exported certificate mmc console. time, check box says "include certificates in certification path if possible". got new .pfx file signed jars , works perfectly.
post helped me lot figure out going on: how sign java applet .pfx file?


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -