CAcert test site


To launch the CAcert tests click here 

Please:

- use javaws (linux) or javaws.exe (win32) to execute 'testcacert.jnlp'
- uncheck 'Reload classes every run' before clicking 'Run'

Java issues :

- Linux/unix

as root :

// example of JAVA_HOME
export JAVA_HOME=/usr/lib/j2sdk1.5-sun

cd $JAVA_HOME/jre/lib/security

// save the original keystore
cp cacerts cacerts.orig

// load the 3 certificates into trusted keystore
keytool -import -trustcacerts -file root.crt -alias cacertroot -keystore cacerts -keypass changeit

keytool -import -trustcacerts -file class3.crt -alias cacertrootclass3 -keystore cacerts -keypass changeit

keytool -import -trustcacerts -file test1.crt -alias cacerttest1 -keystore cacerts -keypass changeit

note : the cacerts keystore password is "changeit"

to run :
$ javaws http://guillaume.romagny.free.fr/testcacert/testcacert.jnlp

- Win32  

download root.crt  class3.crt   test1.crt (webserver SSL cert) and add it into the JVM keystore  jre/bin/javacpl.exe (win32)

note : it does not work using jre/bin/ControlPanel (Linux)

- you may have to add
security.provider.7=org.bouncycastle.jce.provider.BouncyCastleProvider
in jre/lib/security/java.security file