I want to push out a Java certificate for an application to all our workstations. It needs to be added to trusted certificates. I tried using keytool.exe, but it seems no matter what I do, it always asks for a password and it always prompts for "do you want to trust this certificate?" Also, after I import the certificate using keytool, it seems that it imported, but it never ends up in Trusted Certificates and it doesn't allow the application to work (a window pops up saying that the digital signature has been verified and do you want to run the app.). The command I am using is...
keytool -import -trustcacerts -file c:\mycertfile.cer
I'm not locked into using keytool, I am open to whatever way will work.
Is there an automated way to add this certificate to Java Trusted Certificates?
using keytool, as you already are.