Signing .Jar file

前端 未结 4 2030
刺人心
刺人心 2020-12-16 00:08

Im sitting with a bit of a problem. Im busy creating a php/html website (intranet) for our support team to make life a bit easier when support linux machines.

I hav

4条回答
  •  情书的邮戳
    2020-12-16 00:58

    Combined the top answer with some useful hints to get completely unattanded script:

    keytool -genkey -noprompt -alias Alias -dname "CN=Hostname, OU=OrganizationalUnit, O=Organization, L=City, S=State, C=Country" -keystore path.to.keystore -storepass password -keypass password -validity 3650
    jarsigner -keystore path.to.keystore -storepass password -keypass password -signedjar signed.jar unsigned.jar Alias
    

提交回复
热议问题