views:

97

answers:

2

What is the option in Java Webstart command line to skip the security check? This is for testing purposes only.

javaws myfile.jar
A: 

If the user answers "Always", the certificate will be stored in the certificate store pointed to by the deployment.user.security.trusted.certs property.

Is this what you're looking for? You can set to "Always" and store and use a self-signed key for testing.

sal
I was looking for an arugment that I can pass via the command line like -D....
Milhous
+1  A: 

I believe there are two undocumented command line options in the Sun JDK: -secure (ironically) and -installer.

Be careful!

Strange way to test.

Tom Hawtin - tackline
I was really interested about this parameter but it doesn't seam to work with Java 6. Can you provide additional information?
Sorin Sbarnea