|
From: Tomas G. <to...@pr...> - 2004-04-07 06:32:31
|
Yes, you get the error because you have not installed the 'strong crypto' in jdk, it is an add-on that you can download from Sun. It's mentioned in doc/README and in doc/FAQ. Keyrecovery encrypts the keys in the database and it needs strong crypto. Cheers, Tomas Developer wrote: >Here's the errors from the JBOSS log. > >Any help is appreciated? > >Chris > >23470, Certificate : No Certificate Involved, Comment : Changed status >to >STATUS_GENERATED. >11:11:13,398 INFO [STDOUT] java.lang.SecurityException: Unsupported >keysize >or algorithm parameters >11:11:13,399 INFO [STDOUT] at javax.crypto.Cipher.init(DashoA6275) >11:11:13,399 INFO [STDOUT] at >org.bouncycastle.cms.CMSEnvelopedDataGenerator.generate(CMSEnvelopedDataGenerator.java:325) >11:11:13,399 INFO [STDOUT] at >se.anatom.ejbca.ca.caadmin.X509CA.encryptKeys(X509CA.java:515) >11:11:13,400 INFO [STDOUT] at >se.anatom.ejbca.ca.caadmin.CA.extendedService(CA.java:330) >11:11:13,400 INFO [STDOUT] at >se.anatom.ejbca.ca.caadmin.X509CA.extendedService(X509CA.java:497) >11:11:13,400 INFO [STDOUT] at >se.anatom.ejbca.ca.sign.RSASignSessionBean.extendedService(RSASignSessionBean.java:819) >11:11:13,400 INFO [STDOUT] at >sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >11:11:13,400 INFO [STDOUT] at >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >11:11:13,400 INFO [STDOUT] at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >11:11:13,400 INFO [STDOUT] at >java.lang.reflect.Method.invoke(Method.java:324) >11:11:13,400 INFO [STDOUT] at >org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683) >11:11:13,400 INFO [STDOUT] at >org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185) >11:11:13,400 INFO [STDOUT] at >org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72) >11:11:13,401 INFO [STDOUT] at >org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) >11:11:13,401 INFO [STDOUT] at >org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:313) >11:11:13,401 INFO [STDOUT] at >org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:147) >11:11:13,401 INFO [STDOUT] at >org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118) > >On Tue, 2004-04-06 at 11:26, Developer wrote: > > >>Hi, >>Does anyone have any idea why I got these errors during runtest.sh? I'm >>trying to find a good debugging point. All of the other test passed. >> >>Thanks, >> >>Chris >>I'm using JBOSS3.2.4 with postgres. >> >> >>Testing keyrecovery >>.F.F. >>Time: 0.355 >>There were 2 failures: >>1) >>test01AddKeyPair(se.anatom.ejbca.keyrecovery.junit.TestKeyRecovery)junit.framework.AssertionFailedError: Couldn't save key's in database >> at >>se.anatom.ejbca.keyrecovery.junit.TestKeyRecovery.test01AddKeyPair(TestKeyRecovery.java:120) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at >>se.anatom.ejbca.keyrecovery.junit.TestRunner.main(TestRunner.java:24) >>2) >>test02MarkAndRecoverKeyPair(se.anatom.ejbca.keyrecovery.junit.TestKeyRecovery)junit.framework.AssertionFailedError: Couldn't mark user for recovery in database >> at >>se.anatom.ejbca.keyrecovery.junit.TestKeyRecovery.test02MarkAndRecoverKeyPair(TestKeyRecovery.java:136) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at >>se.anatom.ejbca.keyrecovery.junit.TestRunner.main(TestRunner.java:24) >> >>FAILURES!!! >>Tests run: 3, Failures: 2, Errors: 0 >> >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: IBM Linux Tutorials >>Free Linux tutorial presented by Daniel Robbins, President and CEO of >>GenToo technologies. Learn everything from fundamentals to system >>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >>_______________________________________________ >>Ejbca-develop mailing list >>Ejb...@li... >>https://lists.sourceforge.net/lists/listinfo/ejbca-develop >> >> > > > >------------------------------------------------------- >This SF.Net email is sponsored by: IBM Linux Tutorials >Free Linux tutorial presented by Daniel Robbins, President and CEO of >GenToo technologies. Learn everything from fundamentals to system >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >_______________________________________________ >Ejbca-develop mailing list >Ejb...@li... >https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > |