Is there a way to prevent the warning message “Digitally signed cannot be verified” when starting a Java application from the command line?
I am looking for a command line solution that will allow such an application to run on a continuous integration server, so I need a solution that does not require manual intervention.
In addition, I would prefer not to disable this warning for any application, as this could be a security risk.
I’m not sure what helps, but I know the meaning of the name, publisher, and from fields of the signature.

Just make sure that I do not ask how to sign this application.
update 1
, keytool , - , , .
keytool -importcert -file my.cer -alias alf2 -storepass changeme -noprompt
keystore, , ?
2
, Windows 7 Java 6: keytool -importcert -file my.cer -keystore "%USERPROFILE%\AppData\LocalLow\Sun\Java\Deployment\security\trusted.certs" -storepass "" -noprompt -v
, Sun , .
, , , , , keytool , 6 . . Sun