Problem running JSS_SSLServer

2009-06-04 Thread agentman97
Hi, I created the db and added a certificate using these commands: ./certutil -N -n servercert -x -t "TCu,TCu,TCu" -s "CN=TestCA, OU=Test, O=Test, L=Some City, ST=CA, C=US" -m 2 -d /tmp -f passfile ./certutil -S -n servercert -x -t "TCu,TCu,TCu" -s "CN=TestCA, OU=Test, O=Test, L=Some City, ST=CA,

JCA (Mozilla-JSS) Problem in SecretKeySpec for AES

2009-06-03 Thread agentman97
Hi, I am trying to run the following example code for Mozilla-JSS provider but it always gives:"java.security.InvalidKeyException: Key is not the right type for this algorithm" for init function. The same code runs perfectly fine with Sun default provider. Please let me know if there is anything