|
From: Тимур <tim...@gm...> - 2014-11-28 12:04:39
|
Hello,
I'm in the process of EJBCA 6.2.0 installation (RHEL 5.7, Oracle Java 7,
JBoss AS 7.1.1.Final);
"ant deploy" is fine but and at "ant install" time I get the following
error:
ejbca:initCA:
[echo] Initializing CA with '"ManagementCA"' '"CN=ManagementCA,O=EJBCA
Test,C=BTA"' '"soft"' <ca.tokenpassword hidden> '1024' '"RSA"' '3650'
'null' '"SHA1WithRSA"' "/u01/ejbca/ejbca_ce_6_2_0/conf" -certprofile
"ROOTCA" -superadmincn 'SuperAdmin'...
[java] SETTING: --caname as ManagementCA
[java] SETTING: --dn as CN=ManagementCA,O=EJBCA Test,C=BTA
[java] SETTING: --tokenType as soft
[java] SETTING: --tokenPass as null
[java] SETTING: --keyspec as 1024
[java] SETTING: --keytype as RSA
[java] SETTING: -v as 3650
[java] SETTING: --policy as null
[java] SETTING: -s as SHA1WithRSA
[java] SETTING: -certprofile as ROOTCA
[java] SETTING: -superadmincn as SuperAdmin
[java] ERROR: Incorrect parameter usage.
[java] The following arguments are unknown:
[java] /u01/ejbca/ejbca_ce_6_2_0/conf
[java]
[java] Run command with "--help" to see full manual page.
--------
After getting this error I double-quoted all string parameters in
install.properties file (as it's advised by
http://sourceforge.net/p/ejbca/discussion/123123/thread/e0044089) but no
result.
Also I have tried with single-quotes but the trouble still persists.
Could you please to advice how to resolve this trouble.
thank you, Timur.
2014-09-17 13:05 GMT+06:00 Tomas Gustavsson <to...@pr...>:
>
> You need to uncheck "enforce unique public keys" for the CA.
>
> Cheers,
> Tomas
>
> On 2014-09-17 08:38, Ebtehal Hassan wrote:
> > Hello,
> > I want make stress test for CA in EJBCA v. 6.2.0 but it can be issued
> > just 1 certificate & after that the JBOSS was get some error
> > the command to stress test
> > Now the stress test show some result:
> >
> >
> > Server@ca2:/opt/ejbca/dist/clientToolBox$ ./ejbcaClientToolBox.sh
> > EjbcaWsRaCli stress AdminCA
> > Test client started, tail info and error files in this directory for
> output.
> > Statistic will be written to standard output each 10 second.
> > The test was started at Thu Sep 14 20:03:33 CEST 2011.008332292
> > A test key for each thread is generated. This could take some time if
> > you have specified many threads and long keys.
> > Total # of successfully performed tests: 1
> > Total # of failed tests: 30
> > # of tests completed each second: 0.1
> > # of tests completed each second in last period: 0.1
> > Relative average time for different tasks (all should sum up to 1):
> > Relative time spent registring new users: 0.4267
> > Relative time spent signing certificates: 0.0395
> > Time spent with test client work: 0.5338
> > Absolute extremes:
> > Min time for job 'Relative time spent registring new users' (ms): 114
> > (Thu Sep 14 20:03:42 CEST 2011)
> > Max time per job 'Relative time spent registring new users' (ms): 186
> > (Thu Sep 14 20:03:33 CEST 2011)
> > Min time for job 'Relative time spent signing certificates' (ms): 395
> > (Thu Sep 14 20:03:34 CEST 2011)
> > Max time per job 'Relative time spent signing certificates' (ms): 395
> > (Thu Sep 14 20:03:34 CEST 2011)
> >
> >
> > In th JBOSS log i see this:
> > Thu Sep 14 20:04:01 CEST 2011 : Command failure. Class
> >
> 'org.ejbca.core.protocol.ws.client.StressTestCommand.Pkcs10RequestCommand'
> > with this job data: Username 'WSTESTUSER-5377453774162515311' with
> > password 'foo123'.
> > org.ejbca.core.protocol.ws.client.gen.EjbcaException_Exception: User
> > 'WSTESTUSER-5377453774162515311' is not allowed to use same key as the
> > user(s) 'WSTESTUSER8587251972754523283' is/are using.
> > at
> > sun.reflect.GeneratedConstructorAccessor42.newInstance(Unknown Source)
> > at
> >
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> > at
> java.lang.reflect.Constructor.newInstance(Constructor.java:532)
> > at
> >
> com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:130)
> > at
> >
> com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)
> > at
> >
> com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
> > at
> > com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:107)
> > at $Proxy27.pkcs10Request(Unknown Source)
> >
> >
> >
> > Please help me to solve the problem
> >
> >
> > Best Regards;
> > Ebtehal Hassan
> >
> >
> >
> ------------------------------------------------------------------------------
> > Want excitement?
> > Manually upgrade your production database.
> > When you want reliability, choose Perforce
> > Perforce version control. Predictably reliable.
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
> >
> >
> >
> > _______________________________________________
> > Ejbca-develop mailing list
> > Ejb...@li...
> > https://lists.sourceforge.net/lists/listinfo/ejbca-develop
> >
>
>
> ------------------------------------------------------------------------------
> Want excitement?
> Manually upgrade your production database.
> When you want reliability, choose Perforce
> Perforce version control. Predictably reliable.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
> _______________________________________________
> Ejbca-develop mailing list
> Ejb...@li...
> https://lists.sourceforge.net/lists/listinfo/ejbca-develop
>
|