You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(3) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(3) |
Feb
(2) |
Mar
(8) |
Apr
(3) |
May
(6) |
Jun
(1) |
Jul
(15) |
Aug
(6) |
Sep
|
Oct
(10) |
Nov
(2) |
Dec
(4) |
| 2003 |
Jan
(1) |
Feb
(7) |
Mar
(3) |
Apr
(6) |
May
(7) |
Jun
(5) |
Jul
(5) |
Aug
(25) |
Sep
(14) |
Oct
(2) |
Nov
|
Dec
(2) |
| 2004 |
Jan
(7) |
Feb
(4) |
Mar
(12) |
Apr
(16) |
May
(43) |
Jun
(56) |
Jul
(43) |
Aug
(40) |
Sep
(66) |
Oct
(12) |
Nov
(26) |
Dec
(10) |
| 2005 |
Jan
(13) |
Feb
(33) |
Mar
(16) |
Apr
(7) |
May
(10) |
Jun
(34) |
Jul
(41) |
Aug
(8) |
Sep
(4) |
Oct
(32) |
Nov
(20) |
Dec
(25) |
| 2006 |
Jan
(30) |
Feb
(101) |
Mar
(5) |
Apr
(75) |
May
(74) |
Jun
(22) |
Jul
(6) |
Aug
(70) |
Sep
(19) |
Oct
(21) |
Nov
(31) |
Dec
(50) |
| 2007 |
Jan
(15) |
Feb
(20) |
Mar
(24) |
Apr
(33) |
May
(13) |
Jun
(18) |
Jul
(13) |
Aug
(7) |
Sep
(63) |
Oct
(68) |
Nov
(29) |
Dec
(68) |
| 2008 |
Jan
(30) |
Feb
(33) |
Mar
(30) |
Apr
(103) |
May
(78) |
Jun
(48) |
Jul
(72) |
Aug
(24) |
Sep
(62) |
Oct
(63) |
Nov
(70) |
Dec
(37) |
| 2009 |
Jan
(34) |
Feb
(35) |
Mar
(64) |
Apr
(34) |
May
(34) |
Jun
(58) |
Jul
(30) |
Aug
(30) |
Sep
(46) |
Oct
(52) |
Nov
(12) |
Dec
(23) |
| 2010 |
Jan
(121) |
Feb
(18) |
Mar
(53) |
Apr
(62) |
May
(62) |
Jun
(20) |
Jul
(33) |
Aug
(20) |
Sep
(36) |
Oct
(35) |
Nov
(44) |
Dec
(63) |
| 2011 |
Jan
(19) |
Feb
(32) |
Mar
(94) |
Apr
(41) |
May
(47) |
Jun
(25) |
Jul
(34) |
Aug
(20) |
Sep
(9) |
Oct
(41) |
Nov
(33) |
Dec
(24) |
| 2012 |
Jan
(12) |
Feb
(36) |
Mar
(48) |
Apr
(32) |
May
(20) |
Jun
(15) |
Jul
(32) |
Aug
(13) |
Sep
(33) |
Oct
(54) |
Nov
(25) |
Dec
(16) |
| 2013 |
Jan
(45) |
Feb
(39) |
Mar
(38) |
Apr
(50) |
May
(29) |
Jun
(30) |
Jul
(33) |
Aug
(12) |
Sep
(9) |
Oct
(25) |
Nov
(29) |
Dec
(20) |
| 2014 |
Jan
(25) |
Feb
(19) |
Mar
(16) |
Apr
(33) |
May
(27) |
Jun
(37) |
Jul
(29) |
Aug
(27) |
Sep
(37) |
Oct
(58) |
Nov
(109) |
Dec
(26) |
| 2015 |
Jan
(4) |
Feb
(35) |
Mar
(22) |
Apr
(35) |
May
(28) |
Jun
(20) |
Jul
(4) |
Aug
(16) |
Sep
(37) |
Oct
(13) |
Nov
(13) |
Dec
(14) |
| 2016 |
Jan
(22) |
Feb
(7) |
Mar
(23) |
Apr
(30) |
May
(10) |
Jun
(10) |
Jul
(15) |
Aug
(12) |
Sep
(22) |
Oct
(31) |
Nov
(5) |
Dec
(5) |
| 2017 |
Jan
(30) |
Feb
(25) |
Mar
(28) |
Apr
(4) |
May
(19) |
Jun
(13) |
Jul
(7) |
Aug
(1) |
Sep
(2) |
Oct
(5) |
Nov
(12) |
Dec
(2) |
| 2018 |
Jan
(7) |
Feb
|
Mar
(7) |
Apr
(2) |
May
(8) |
Jun
(18) |
Jul
(6) |
Aug
(3) |
Sep
(15) |
Oct
(33) |
Nov
(13) |
Dec
(7) |
| 2019 |
Jan
(5) |
Feb
(7) |
Mar
(30) |
Apr
(5) |
May
(4) |
Jun
(69) |
Jul
(86) |
Aug
(22) |
Sep
(6) |
Oct
(7) |
Nov
(5) |
Dec
(3) |
| 2020 |
Jan
(10) |
Feb
(12) |
Mar
(22) |
Apr
(5) |
May
(1) |
Jun
(4) |
Jul
(6) |
Aug
|
Sep
(9) |
Oct
|
Nov
|
Dec
(1) |
| 2021 |
Jan
(4) |
Feb
(11) |
Mar
(7) |
Apr
(7) |
May
|
Jun
(3) |
Jul
(10) |
Aug
(6) |
Sep
|
Oct
|
Nov
(18) |
Dec
(2) |
| 2022 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(4) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2023 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
(5) |
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Chris V. <ver...@ho...> - 2014-06-12 07:17:06
|
Hi, we are using version EJBCA 4.0.16 and online web enrolment is not supported with Internet Explorer 11 unless the compatibility view is activated. Is it supported on the more recent version of EJBCA ? Thanks. |
|
From: Тимур <tim...@gm...> - 2014-06-11 09:57:44
|
Hello, dears ! I have an error at connection to my EJBCA from client application: JBoss server.log: ...... 15:07:21,136 INFO [stdout] (http--0.0.0.0-8443-3) <C=KZ, O=BTAI, CN=BTA Ipoteka CA> 15:07:21,137 INFO [stdout] (http--0.0.0.0-8443-3) <C=KZ, L=Almaty, O=BTA Ipoteka, CN=duo2.teka.kz> 15:07:21,138 INFO [stdout] (http--0.0.0.0-8443-3) *** ServerHelloDone 15:07:21,138 INFO [stdout] (http--0.0.0.0-8443-3) http--0.0.0.0-8443-3, WRITE: TLSv1 Handshake, length = 2369 15:07:21,161 INFO [stdout] (http--0.0.0.0-8443-3) http--0.0.0.0-8443-3, READ: TLSv1 Alert, length = 2 15:07:21,162 INFO [stdout] (http--0.0.0.0-8443-3) http--0.0.0.0-8443-3, RECV TLSv1 ALERT: fatal, certificate_unknown 15:07:21,163 INFO [stdout] (http--0.0.0.0-8443-3) http--0.0.0.0-8443-3, called closeSocket() 15:07:21,164 INFO [stdout] (http--0.0.0.0-8443-3) http--0.0.0.0-8443-3, handling exception: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown 15:07:21,178 INFO [stdout] (http--0.0.0.0-8443-3) http--0.0.0.0-8443-3, IOException in getSession(): javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown 15:07:21,180 INFO [stdout] (http--0.0.0.0-8443-3) http--0.0.0.0-8443-3, called close() 15:07:21,181 INFO [stdout] (http--0.0.0.0-8443-3) http--0.0.0.0-8443-3, called closeInternal(true) BUT curl running on remote client side shows valid connection to EJBCA : [oracle@duo Cerber_inet]$ curl -v "https://rootca.teka.kz:8443/ejbca" -E /home/oracle/CSR_EJBCA_duo2/certs_x509/duo.cer --key /home/oracle/CSR_EJBCA_duo2/duo/duo.teka.kz.key --pass welcome123 --cacert /home/oracle/ROOTCA_cert/rootcatekakz.cacert.pem * About to connect() to rootca.teka.kz port 8443 * Trying 10.62.2.88... * connected * Connected to rootca.teka.kz (10.62.2.88) port 8443 * successfully set certificate verify locations: * CAfile: /home/oracle/ROOTCA_cert/rootcatekakz.cacert.pem CApath: none * SSL connection using DHE-RSA-AES256-SHA * Server certificate: * subject: /CN=rootca.teka.kz/O=BTAI/L=Almaty/C=KZ * start date: 2014-05-31 08:02:48 GMT * expire date: 2024-05-30 04:42:00 GMT * subjectAltName: rootca.teka.kz matched * issuer: /CN=rootca.teka.kz/O=BTAI/C=KZ * SSL certificate verify ok. > GET /ejbca HTTP/1.1 User-Agent: curl/7.12.1 (i386-redhat-linux-gnu) libcurl/7.12.1 OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6 Host: rootca.teka.kz:8443 Pragma: no-cache Accept: */* < HTTP/1.1 302 Moved Temporarily < Server: Apache-Coyote/1.1 < Location: https://rootca.teka.kz:8443/ejbca/ < Transfer-Encoding: chunked < Date: Wed, 11 Jun 2014 09:05:35 GMT * Connection #0 to host rootca.teka.kz left intact * Closing connection #0 Client application server log: ..... [SOAPException: faultCode=SOAP-ENV:IOException; msg=sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; targetException=javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target] at oracle.soap.transport.http.OracleSOAPHTTPConnection.send(OracleSOAPHTTPConnection.java:774) There are few CAs (with different key length) in my EJBCA : Management CA ROOTCA.TEKA.KZ <http://rootca.teka.kz/> <----initially created BTA Ipoteka CA <-----created later - Client host has name "duo.teka.kz" and each CA (ROOTCA and BTA Ipoteka) issued the certificate for "duo.teka.kz" - both certificates are loaded to jks.store on client-side application server. - Both CA certficates of each CA (ROOTCA and BTA Ipoteka) are loaded to to jks.store on client-side application server. I took them from CA structure page of EJBCA adminweb. - CA certficate of BTA Ipoteka was loaded to JBoss truststore. Both JBoss 7.1.1.Final and remote Oracle Application Server 10g were restarted. I cannot understand which CA certificate is missed as both JBoss truststore and remote client side jks.store contains certficates of both CA. Could you please to help ? Detailed logs are attached to my previous message. Thank you, Timur 2014-06-08 17:26 GMT+06:00 Branko Majic <br...@ma...>: > On Sat, 7 Jun 2014 23:04:37 +0600 > Тимур <tim...@gm...> wrote: > > > Hello, Branko ! > > Thank you for your good advice about SSL debugging on JBoss. IP-address > > was replaced by FQDN but still JBoss rejects connection. > > Then SSL debug had been enabled on JBoss 7.1.1: > > > > [oracle@duo ~]$ curl -v "https://rootca.teka.kz:8442/ejbca" -E > > /home/oracle/CSR_EJBCA_duo2/certs_x509/duo.cer > > --key /home/oracle/CSR_EJBCA_duo2/duo/duo.teka.kz.key --pass welcome123 > > --cacert /home/oracle/BTAIpotekaCA.cacert.pem > > .... > > 21:10:53,179 INFO [stdout] (http--0.0.0.0-8442-Acceptor-0) Is initial > > handshake: true > > 21:10:53,180 INFO [stdout] (http--0.0.0.0-8442-Acceptor-0) Is secure > > renegotiation: false > > 21:10:53,183 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, > > setSoTimeout(60000) called > > 21:10:53,187 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, > > READ: SSL v2, contentType = Handshake, translated length = 95 > > 21:10:53,190 INFO [stdout] (http--0.0.0.0-8442-1) *** ClientHello, TLSv1 > > ..... > > 21:10:53,286 INFO [stdout] (http--0.0.0.0-8442-1) *** ServerHello, TLSv1 > > ..... > > 21:10:53,550 INFO [stdout] (http--0.0.0.0-8442-1) *** ServerHelloDone > > 21:10:53,552 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, > > WRITE: TLSv1 Handshake, length = 2722 > > 21:10:53,561 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, > > READ: TLSv1 Alert, length = 2 > > 21:10:53,563 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, > > RECV TLSv1 ALERT: fatal, unknown_ca > > 21:10:53,564 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, > > called closeSocket() > > 21:10:53,566 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, > > handling exception: javax.net.ssl.SSLHandshakeException: Received fatal > > alert: unknown_ca > > 21:10:53,567 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, > > IOException in getSession(): javax.net.ssl.SSLHandshakeException: > Received > > fatal alert: > > unknown_ca <-------!!!!!!! > > 21:10:53,577 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, > > called close() > > > > JBoss SSL-certificate is for CN=rootca.teka.kz which belongs to the CA > > named "ROOTCA.TEKA.KZ <http://rootca.teka.kz/>". > > BUT I run "curl" utlity for CA named "BTA Ipoteka CA" - all certificates > > used in "curl" options are emitted by CA "BTA Ipoteka CA": > > > > [oracle@duo ~]$ curl -v "https://rootca.teka.kz:8442/ejbca" -E > > /home/oracle/CSR_EJBCA_duo2/certs_x509/duo.cer \ > > --key /home/oracle/CSR_EJBCA_duo2/duo/duo.teka.kz.key --pass welcome123 \ > > --cacert /home/oracle/BTAIpotekaCA.cacert.pem > > > > I cannot use CA "ROOTCA.TEKA.KZ <http://rootca.teka.kz/>" as it has too > > strong key which is not supported by my eToken Client; I had to create > one > > more CA "BTA Ipoteka CA" with shorter key length. > > What steps to do if certificates for customer devices are emitted by CA > > "BTA Ipoteka CA" but initial CA is "ROOTCA.TEKA.KZ < > http://rootca.teka.kz/>" > > and JBoss certificate is for initial CA. > > Probably some reconfiguration are to be done on JBoss to let one receive > > requests for new CA also ? > > > > thank you for your great job, Timur. > > > > > > > > 2014-06-07 17:07 GMT+06:00 Branko Majic <br...@ma...>: > > > > > On Fri, 6 Jun 2014 23:06:26 +0600 > > > Тимур <tim...@gm...> wrote: > > > > > > > Hello, dears > > > > > > > > I have successfuly installed EJBCA 6.1.1, JBoss 7.1.1.Final, openjdk > 6, > > > > Oracle 9.2.0.5, ojdbc6.jar, on Ubuntu Linux ("13.04, Raring > Ringtail"). > > > No > > > > any deployment and > > > > installation mistakes for this software combination. I have > successfully > > > > created all profiles , add entuty and I have issued my first > > > > SSL-certificate and write one to USB HSM with eToken Client. So, I > have > > > > full-functional EJBCA 6.1.1 at present. > > > > I have a custom java-application which uses eToken authentication and > > > this > > > > java-application worked fine with previous version of EJBCA and I > need to > > > > organize connectivity between this java-application and EJBCA. There > is a > > > > parameter for EJBCA URL in java-application config file and I > pointed out > > > > this parameter to "https://10.62.2.88:8443/ejbca". > > > > Java-application uses jdk cacerts and I imported issued certificate > with > > > CA > > > > certificate of EJBCA to cacerts but no connection yet. > > > > Checking connectivity to EJBCA by curl utility also gives negative > > > result: > > > > > > > > CA-certificate in PEM-format: > > > > > > > > [oracle@duo ~]$ curl -v "https://10.62.2.88:8443/ejbca" -E > > > > /home/oracle/CSR_EJBCA_duo2/certs_x509/duo.cer --key > > > > /home/oracle/CSR_EJBCA_duo2/duo/duo.teka.kz.key --pass > > > > > > > > welcome123 --cacert /home/oracle/BTAIpotekaCA.cacert.pem > > > > * About to connect() to 10.62.2.88 port 8443 > > > > * Trying 10.62.2.88... * connected > > > > * Connected to 10.62.2.88 (10.62.2.88) port 8443 > > > > * successfully set certificate verify locations: > > > > * CAfile: /home/oracle/BTAIpotekaCA.cacert.pem > > > > CApath: none > > > > * SSL certificate problem, verify that the CA cert is OK. Details: > > > > error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate > > > verify > > > > failed > > > > > > > > CA-certificate in BASE-64 format: > > > > > > > > [oracle@duo ~]$ curl -v "https://10.62.2.88:8443/ejbca" -E > > > > /home/oracle/CSR_EJBCA_duo2/certs_x509/duo.cer --key > > > > /home/oracle/CSR_EJBCA_duo2/duo/duo.teka.kz.key --pass > > > > > > > > welcome123 --cacert /home/oracle/BTAIpotekaCA.cacert-base64.cer > --sslv3 > > > > --trace-ascii /tmp/curl.log > > > > curl: (60) SSL certificate problem, verify that the CA cert is OK. > > > Details: > > > > error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate > > > verify > > > > failed > > > > More details here: http://curl.haxx.se/docs/sslcerts.html > > > > > > > > EJBCA console log contains no records to understand why no > connectivity > > > to > > > > EJBCA. > > > > Could you please to help to find out which URL must be used to > connect to > > > > EJBCA for authentication ? If "https://10.62.2.88:8443/ejbca" is > > > correct > > > > what's the reason > > > > of trouble with EJBCA connection ? > > > > > > > > thank you, Timur. > > > > > > Hello Timur, > > > > > > The problem you are facing happens during the TLS handshake between the > > > server and client, where (at least) client is unable to verify the > > > certificate presented by JBoss. > > > > > > Since the TLS is handled by JBoss, you won't get any useful logging > > > messages from EJBCA. In fact, not even JBoss as such will produce any > > > useful debugging info. You could try enabling debugging of TLS > > > handshake via JAVA_OPTS, though. > > > > > > I've noticed you are using the IP address for connecting to JBoss/EJBCA > > > - are you sure that you have this IP address specified in your server > > > certificate (on JBoss)? If not, that is your problem. The IP, FQDN, or > > > hostname used for connecting has to be part of subjectAltName DNS name > > > (or, if subjectAltName DNS name is not present, CN has to be used). > > > > > > As a side-note, you should avoid using IP address in certificates or > > > for TLS connections in general, and instead rely on FQDN or hostname, > > > with FQDN being the recommended thing to use. > > > > > > I hope this explanation will help you a bit :) > > > > > > Best regards > > > > > Hello Timur, > > If you are getting a validation error on port 8442, that is probably > the client-side validation failing. Keep in mind that if you deploy > EJBCA on JBoss using default ports, port 8442 does _not_ require client > certificate authentication. > > You could test if JBoss will return anything at all to you on port 8442 > with wget --no-check-certificate (just to see if content gets served), > and then try to figure out why your client fails to validate the server > certificate. > > If the JBoss certificate was issued by ROOTCA.TEKA.KZ, you will most > definitively need to have this CA certificate in the truststore of your > client. > > As for trusted client certificates on (for EJBCA commonly) port 8443, > you will need to update the JBoss truststore to contain the new CA > certificate (used for issuing client certificates). > > Best regards > > -- > Branko Majic > Jabber: br...@ma... > Please use only Free formats when sending attachments to me. > > Бранко Мајић > Џабер: br...@ma... > Молим вас да додатке шаљете искључиво у слободним форматима. > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > |
|
From: Pavel B. <byc...@ht...> - 2014-06-10 15:41:34
|
Hi Branko,
Thank you for reply.
I've tried ejbca.sh (on fresh clear installation of Jboss, just afret
ant deploy and restart) with no success.
Here is the outcome (hope there is enough info for debugging) :
[root@mtamonitor1 /tmp/ejbca_distr/ejbca_ce_6_1_1]# ./bin/ejbca.sh ca
listcas
Could not run execute method for class ca
java.lang.RuntimeException: Internal admin was denied access. This
should not be able to happen.
at
org.ejbca.core.ejb.config.GlobalConfigurationSessionBean.getCachedConfiguration(GlobalConfigurationSessionBean.java:182)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at
org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
at
org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:36)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at
org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at
org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at
org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
at
org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at
org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at
org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:211)
at
org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:363)
at
org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:194)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at
org.jboss.as.ejb3.remote.EJBRemoteTransactionPropagatingInterceptor.processInvocation(EJBRemoteTransactionPropagatingInterceptor.java:80)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at
org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at
org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at
org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at
org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:43)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at
org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at
org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
at
org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
at
org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.invokeMethod(MethodInvocationMessageHandler.java:302)
at
org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.access$200(MethodInvocationMessageHandler.java:64)
at
org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler$1.run(MethodInvocationMessageHandler.java:196)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
at ...asynchronous invocation...(Unknown Source)
at
org.jboss.ejb.client.remoting.InvocationExceptionResponseHandler$MethodInvocationExceptionResultProducer.getResult(InvocationExceptionResponseHandler.java:99)
at
org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:270)
at
org.jboss.ejb.client.TransactionInterceptor.handleInvocationResult(TransactionInterceptor.java:47)
at
org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:272)
at
org.jboss.ejb.client.ReceiverInterceptor.handleInvocationResult(ReceiverInterceptor.java:132)
at
org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:260)
at
org.jboss.ejb.client.EJBClientInvocationContext.awaitResponse(EJBClientInvocationContext.java:399)
at
org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:140)
at
org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:121)
at
org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:104)
at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown Source)
at
org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.java:126)
at
org.ejbca.ui.cli.ca.CaListCAsCommand.execute(CaListCAsCommand.java:43)
at
org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147)
at
org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105)
at org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25)
[root@mtamonitor1 /tmp/ejbca_distr/ejbca_ce_6_1_1]#
On 07.06.2014 14:16, Branko Majic wrote:
> Hm...
>
> I don't know what the issue might be based on the output you provided,
> but one way to make debugging easier would be to, instead of running
> ant install straight away, use the EJBCA CLI (after deploy and restart
> of JBoss) to see if it can access anything.
>
> I.e. (assuming below paths are correct, of course):
>
> cd /opt/ejbca/
> bin/ejbca.sh ca listcas
>
> The above command should work even before ant install (default CLI user
> gets generated on the first deployment of EJBCA app in an empty
> database).
>
> Perhaps make sure to start out with a fresh database (truncate all
> tables at least) as well.
>
> Best regards
>
> On Thu, 05 Jun 2014 18:27:49 +0300
> Pavel Bychykhin <byc...@ht...> wrote:
>
>> Hi All,
>>
>> I'm trying to install a new instance of EJBCA (6.1.1).
>> My system is: FreeBSD 9.2, Jboss 7.1.1, OpenJDK 1.7.0_55, PostgreSQL 9.3.
>> `ant deploy' finishes with success and I able to see a database tables
>> after that.
>>
>> `ant install finishes with failure. Here is the error message, which I
>> observe on Jboss console:
>> 10:35:56,077 INFO
>> [org.cesecore.authorization.control.AccessControlSessionBean] (EJB
>> default - 1) Authorization failed for Internal GlobalConfiguration Admin
>> of type AlwaysAllowLocalAuthenticationToken for resource /
>> 10:35:56,078 ERROR [org.jboss.ejb3.invocation] (EJB default - 1)
>> JBAS014134: EJB Invocation failed on component
>> GlobalConfigurationSessionBean for method public abstract
>> org.ejbca.config.Configuration
>> org.ejbca.core.ejb.config.GlobalConfigurationSession.getCachedConfiguration(java.lang.String):
>> java.lang.RuntimeException: Internal admin was denied access. This
>> should not be able to happen.
>>
>> And the script output is:
>> ejbca:install:
>>
>> ejbca:initCA:
>> [echo] Initializing CA with 'ManagementCA'
>> 'CN=ManagementCA,O=EJBCA Sample,C=SE' 'soft' <ca.tokenpassword hidden>
>> '2048' 'RSA' '3650' 'null' 'SHA256WithRSA' -superadmincn 'SuperAdmin'...
>>
>> [java] Could not run execute method for class ca
>> [java] java.lang.RuntimeException: Internal admin was denied
>> access. This should not be able to happen.
>>
>> Could you please help me to find out an issue.
>> Thanks in advance.
>>
>
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
>
>
> _______________________________________________
> Ejbca-develop mailing list
> Ejb...@li...
> https://lists.sourceforge.net/lists/listinfo/ejbca-develop
--
Best regards,
Pavel
|
|
From: Тимур <tim...@gm...> - 2014-06-09 11:56:46
|
Dear Branko, your advice works fine ! I have added JBoss certifcate (for initial ROOTCA.TEKA.KZ) to curl --cacert: [oracle@duo ~]$ curl -v "https://rootca.teka.kz:8443/ejbca" -E /home/oracle/CSR_EJBCA_duo2/certs_x509/duo.cer --key /home/oracle/CSR_EJBCA_duo2/duo/duo.teka.kz.key --pass welcome123 --cacert /home/oracle/ROOTCA_cert/rootcatekakz.cacert.pem * About to connect() to rootca.teka.kz port 8443 * Trying 10.62.2.88... * connected * Connected to rootca.teka.kz (10.62.2.88) port 8443 * successfully set certificate verify locations: * CAfile: /home/oracle/ROOTCA_cert/rootcatekakz.cacert.pem CApath: none * SSL connection using DHE-RSA-AES256-SHA * Server certificate: * subject: /CN=rootca.teka.kz/O=BTAI/L=Almaty/C=KZ * start date: 2014-05-31 08:02:48 GMT * expire date: 2024-05-30 04:42:00 GMT * subjectAltName: rootca.teka.kz matched * issuer: /CN=rootca.teka.kz/O=BTAI/C=KZ * SSL certificate verify ok. > GET /ejbca HTTP/1.1 User-Agent: curl/7.12.1 (i386-redhat-linux-gnu) libcurl/7.12.1 OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6 Host: rootca.teka.kz:8443 Pragma: no-cache Accept: */* < HTTP/1.1 302 Moved Temporarily < Server: Apache-Coyote/1.1 < Location: https://rootca.teka.kz:8443/ejbca/ < Transfer-Encoding: chunked < Date: Mon, 09 Jun 2014 11:39:00 GMT * Connection #0 to host rootca.teka.kz left intact * Closing connection #0 [oracle@duo ~]$ echo $? 0 Then the same certificate (which was in curl for initial CA) was added to client's keystore; the certificate of second CA "BTA Ipoteka CA" (which produced certificate for client) also was added to client's keystore. But at client connection I see error in EJBCA console log: 17:20:08,444 INFO [stdout] (http--0.0.0.0-8443-5) 00D0: 36 B5 4A 30 56 38 EB DE 2D 0F 46 FF A8 4B D6 0D 6.J0V8..-.F..K.. 17:20:08,445 INFO [stdout] (http--0.0.0.0-8443-5) 00E0: 33 F4 8E A3 77 87 E0 C4 2F 20 EA 30 22 8A 8F B6 3...w.../ .0"... 17:20:08,446 INFO [stdout] (http--0.0.0.0-8443-5) 00F0: 31 F3 95 5F DD B1 FB 70 6F 05 FE 0B 54 BC 1F 5B 1.._...po...T..[ 17:20:08,447 INFO [stdout] (http--0.0.0.0-8443-5) 17:20:08,447 INFO [stdout] (http--0.0.0.0-8443-5) ] 17:20:08,448 INFO [stdout] (http--0.0.0.0-8443-5) *** 17:20:08,449 INFO [stdout] (http--0.0.0.0-8443-5) *** CertificateRequest 17:20:08,449 INFO [stdout] (http--0.0.0.0-8443-5) Cert Types: RSA, DSS, ECDSA 17:20:08,450 INFO [stdout] (http--0.0.0.0-8443-5) Cert Authorities: 17:20:08,451 INFO [stdout] (http--0.0.0.0-8443-5) <C=KZ, O=BTAI, CN=rootca.teka.kz> 17:20:08,451 INFO [stdout] (http--0.0.0.0-8443-5) <C=KZ, O=BTAI, CN=BTA Ipoteka CA> 17:20:08,452 INFO [stdout] (http--0.0.0.0-8443-5) *** ServerHelloDone 17:20:08,453 INFO [stdout] (http--0.0.0.0-8443-5) http--0.0.0.0-8443-5, WRITE: TLSv1 Handshake, length = 2290 17:20:08,458 INFO [stdout] (http--0.0.0.0-8443-5) http--0.0.0.0-8443-5, READ: TLSv1 Handshake, length = 269 17:20:08,459 INFO [stdout] (http--0.0.0.0-8443-5) *** Certificate chain 17:20:08,460 INFO [stdout] (http--0.0.0.0-8443-5) *** 17:20:08,461 INFO [stdout] (http--0.0.0.0-8443-5) http--0.0.0.0-8443-5, SEND TLSv1 ALERT: fatal, description = bad_certificate 17:20:08,473 INFO [stdout] (http--0.0.0.0-8443-5) http--0.0.0.0-8443-5, WRITE: TLSv1 Alert, length = 2 17:20:08,474 INFO [stdout] (http--0.0.0.0-8443-5) http--0.0.0.0-8443-5, called closeSocket() 17:20:08,475 INFO [stdout] (http--0.0.0.0-8443-5) http--0.0.0.0-8443-5, handling exception: javax.net.ssl.SSLHandshakeException: null cert chain 17:20:08,476 INFO [stdout] (http--0.0.0.0-8443-5) http--0.0.0.0-8443-5, IOException in getSession(): javax.net.ssl.SSLHandshakeException: null cert chain 17:20:08,478 INFO [stdout] (http--0.0.0.0-8443-5) http--0.0.0.0-8443-5, called close() 17:20:08,479 INFO [stdout] (http--0.0.0.0-8443-5) http--0.0.0.0-8443-5, called closeInternal(true) May be URL of EJBCA which is used by client java-application must be corrected ? I use only default ports and URL in client java-application is: https://rootca.teka.kz:8443/ejbca - s one correct to be used by client java-application ? Or some certficates are missed ? May be BASE-64 certificate format must be used instead of PEM-format on client java keystore ? Thank you a lot for great help, Timur. 2014-06-08 17:26 GMT+06:00 Branko Majic <br...@ma...>: > On Sat, 7 Jun 2014 23:04:37 +0600 > Тимур <tim...@gm...> wrote: > > > Hello, Branko ! > > Thank you for your good advice about SSL debugging on JBoss. IP-address > > was replaced by FQDN but still JBoss rejects connection. > > Then SSL debug had been enabled on JBoss 7.1.1: > > > > [oracle@duo ~]$ curl -v "https://rootca.teka.kz:8442/ejbca" -E > > /home/oracle/CSR_EJBCA_duo2/certs_x509/duo.cer > > --key /home/oracle/CSR_EJBCA_duo2/duo/duo.teka.kz.key --pass welcome123 > > --cacert /home/oracle/BTAIpotekaCA.cacert.pem > > .... > > 21:10:53,179 INFO [stdout] (http--0.0.0.0-8442-Acceptor-0) Is initial > > handshake: true > > 21:10:53,180 INFO [stdout] (http--0.0.0.0-8442-Acceptor-0) Is secure > > renegotiation: false > > 21:10:53,183 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, > > setSoTimeout(60000) called > > 21:10:53,187 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, > > READ: SSL v2, contentType = Handshake, translated length = 95 > > 21:10:53,190 INFO [stdout] (http--0.0.0.0-8442-1) *** ClientHello, TLSv1 > > ..... > > 21:10:53,286 INFO [stdout] (http--0.0.0.0-8442-1) *** ServerHello, TLSv1 > > ..... > > 21:10:53,550 INFO [stdout] (http--0.0.0.0-8442-1) *** ServerHelloDone > > 21:10:53,552 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, > > WRITE: TLSv1 Handshake, length = 2722 > > 21:10:53,561 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, > > READ: TLSv1 Alert, length = 2 > > 21:10:53,563 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, > > RECV TLSv1 ALERT: fatal, unknown_ca > > 21:10:53,564 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, > > called closeSocket() > > 21:10:53,566 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, > > handling exception: javax.net.ssl.SSLHandshakeException: Received fatal > > alert: unknown_ca > > 21:10:53,567 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, > > IOException in getSession(): javax.net.ssl.SSLHandshakeException: > Received > > fatal alert: > > unknown_ca <-------!!!!!!! > > 21:10:53,577 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, > > called close() > > > > JBoss SSL-certificate is for CN=rootca.teka.kz which belongs to the CA > > named "ROOTCA.TEKA.KZ <http://rootca.teka.kz/>". > > BUT I run "curl" utlity for CA named "BTA Ipoteka CA" - all certificates > > used in "curl" options are emitted by CA "BTA Ipoteka CA": > > > > [oracle@duo ~]$ curl -v "https://rootca.teka.kz:8442/ejbca" -E > > /home/oracle/CSR_EJBCA_duo2/certs_x509/duo.cer \ > > --key /home/oracle/CSR_EJBCA_duo2/duo/duo.teka.kz.key --pass welcome123 \ > > --cacert /home/oracle/BTAIpotekaCA.cacert.pem > > > > I cannot use CA "ROOTCA.TEKA.KZ <http://rootca.teka.kz/>" as it has too > > strong key which is not supported by my eToken Client; I had to create > one > > more CA "BTA Ipoteka CA" with shorter key length. > > What steps to do if certificates for customer devices are emitted by CA > > "BTA Ipoteka CA" but initial CA is "ROOTCA.TEKA.KZ < > http://rootca.teka.kz/>" > > and JBoss certificate is for initial CA. > > Probably some reconfiguration are to be done on JBoss to let one receive > > requests for new CA also ? > > > > thank you for your great job, Timur. > > > > > > > > 2014-06-07 17:07 GMT+06:00 Branko Majic <br...@ma...>: > > > > > On Fri, 6 Jun 2014 23:06:26 +0600 > > > Тимур <tim...@gm...> wrote: > > > > > > > Hello, dears > > > > > > > > I have successfuly installed EJBCA 6.1.1, JBoss 7.1.1.Final, openjdk > 6, > > > > Oracle 9.2.0.5, ojdbc6.jar, on Ubuntu Linux ("13.04, Raring > Ringtail"). > > > No > > > > any deployment and > > > > installation mistakes for this software combination. I have > successfully > > > > created all profiles , add entuty and I have issued my first > > > > SSL-certificate and write one to USB HSM with eToken Client. So, I > have > > > > full-functional EJBCA 6.1.1 at present. > > > > I have a custom java-application which uses eToken authentication and > > > this > > > > java-application worked fine with previous version of EJBCA and I > need to > > > > organize connectivity between this java-application and EJBCA. There > is a > > > > parameter for EJBCA URL in java-application config file and I > pointed out > > > > this parameter to "https://10.62.2.88:8443/ejbca". > > > > Java-application uses jdk cacerts and I imported issued certificate > with > > > CA > > > > certificate of EJBCA to cacerts but no connection yet. > > > > Checking connectivity to EJBCA by curl utility also gives negative > > > result: > > > > > > > > CA-certificate in PEM-format: > > > > > > > > [oracle@duo ~]$ curl -v "https://10.62.2.88:8443/ejbca" -E > > > > /home/oracle/CSR_EJBCA_duo2/certs_x509/duo.cer --key > > > > /home/oracle/CSR_EJBCA_duo2/duo/duo.teka.kz.key --pass > > > > > > > > welcome123 --cacert /home/oracle/BTAIpotekaCA.cacert.pem > > > > * About to connect() to 10.62.2.88 port 8443 > > > > * Trying 10.62.2.88... * connected > > > > * Connected to 10.62.2.88 (10.62.2.88) port 8443 > > > > * successfully set certificate verify locations: > > > > * CAfile: /home/oracle/BTAIpotekaCA.cacert.pem > > > > CApath: none > > > > * SSL certificate problem, verify that the CA cert is OK. Details: > > > > error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate > > > verify > > > > failed > > > > > > > > CA-certificate in BASE-64 format: > > > > > > > > [oracle@duo ~]$ curl -v "https://10.62.2.88:8443/ejbca" -E > > > > /home/oracle/CSR_EJBCA_duo2/certs_x509/duo.cer --key > > > > /home/oracle/CSR_EJBCA_duo2/duo/duo.teka.kz.key --pass > > > > > > > > welcome123 --cacert /home/oracle/BTAIpotekaCA.cacert-base64.cer > --sslv3 > > > > --trace-ascii /tmp/curl.log > > > > curl: (60) SSL certificate problem, verify that the CA cert is OK. > > > Details: > > > > error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate > > > verify > > > > failed > > > > More details here: http://curl.haxx.se/docs/sslcerts.html > > > > > > > > EJBCA console log contains no records to understand why no > connectivity > > > to > > > > EJBCA. > > > > Could you please to help to find out which URL must be used to > connect to > > > > EJBCA for authentication ? If "https://10.62.2.88:8443/ejbca" is > > > correct > > > > what's the reason > > > > of trouble with EJBCA connection ? > > > > > > > > thank you, Timur. > > > > > > Hello Timur, > > > > > > The problem you are facing happens during the TLS handshake between the > > > server and client, where (at least) client is unable to verify the > > > certificate presented by JBoss. > > > > > > Since the TLS is handled by JBoss, you won't get any useful logging > > > messages from EJBCA. In fact, not even JBoss as such will produce any > > > useful debugging info. You could try enabling debugging of TLS > > > handshake via JAVA_OPTS, though. > > > > > > I've noticed you are using the IP address for connecting to JBoss/EJBCA > > > - are you sure that you have this IP address specified in your server > > > certificate (on JBoss)? If not, that is your problem. The IP, FQDN, or > > > hostname used for connecting has to be part of subjectAltName DNS name > > > (or, if subjectAltName DNS name is not present, CN has to be used). > > > > > > As a side-note, you should avoid using IP address in certificates or > > > for TLS connections in general, and instead rely on FQDN or hostname, > > > with FQDN being the recommended thing to use. > > > > > > I hope this explanation will help you a bit :) > > > > > > Best regards > > > > > Hello Timur, > > If you are getting a validation error on port 8442, that is probably > the client-side validation failing. Keep in mind that if you deploy > EJBCA on JBoss using default ports, port 8442 does _not_ require client > certificate authentication. > > You could test if JBoss will return anything at all to you on port 8442 > with wget --no-check-certificate (just to see if content gets served), > and then try to figure out why your client fails to validate the server > certificate. > > If the JBoss certificate was issued by ROOTCA.TEKA.KZ, you will most > definitively need to have this CA certificate in the truststore of your > client. > > As for trusted client certificates on (for EJBCA commonly) port 8443, > you will need to update the JBoss truststore to contain the new CA > certificate (used for issuing client certificates). > > Best regards > > -- > Branko Majic > Jabber: br...@ma... > Please use only Free formats when sending attachments to me. > > Бранко Мајић > Џабер: br...@ma... > Молим вас да додатке шаљете искључиво у слободним форматима. > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > |
|
From: Branko M. <br...@ma...> - 2014-06-08 11:26:48
|
On Sat, 7 Jun 2014 23:04:37 +0600 Тимур <tim...@gm...> wrote: > Hello, Branko ! > Thank you for your good advice about SSL debugging on JBoss. IP-address > was replaced by FQDN but still JBoss rejects connection. > Then SSL debug had been enabled on JBoss 7.1.1: > > [oracle@duo ~]$ curl -v "https://rootca.teka.kz:8442/ejbca" -E > /home/oracle/CSR_EJBCA_duo2/certs_x509/duo.cer > --key /home/oracle/CSR_EJBCA_duo2/duo/duo.teka.kz.key --pass welcome123 > --cacert /home/oracle/BTAIpotekaCA.cacert.pem > .... > 21:10:53,179 INFO [stdout] (http--0.0.0.0-8442-Acceptor-0) Is initial > handshake: true > 21:10:53,180 INFO [stdout] (http--0.0.0.0-8442-Acceptor-0) Is secure > renegotiation: false > 21:10:53,183 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, > setSoTimeout(60000) called > 21:10:53,187 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, > READ: SSL v2, contentType = Handshake, translated length = 95 > 21:10:53,190 INFO [stdout] (http--0.0.0.0-8442-1) *** ClientHello, TLSv1 > ..... > 21:10:53,286 INFO [stdout] (http--0.0.0.0-8442-1) *** ServerHello, TLSv1 > ..... > 21:10:53,550 INFO [stdout] (http--0.0.0.0-8442-1) *** ServerHelloDone > 21:10:53,552 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, > WRITE: TLSv1 Handshake, length = 2722 > 21:10:53,561 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, > READ: TLSv1 Alert, length = 2 > 21:10:53,563 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, > RECV TLSv1 ALERT: fatal, unknown_ca > 21:10:53,564 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, > called closeSocket() > 21:10:53,566 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, > handling exception: javax.net.ssl.SSLHandshakeException: Received fatal > alert: unknown_ca > 21:10:53,567 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, > IOException in getSession(): javax.net.ssl.SSLHandshakeException: Received > fatal alert: > unknown_ca <-------!!!!!!! > 21:10:53,577 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, > called close() > > JBoss SSL-certificate is for CN=rootca.teka.kz which belongs to the CA > named "ROOTCA.TEKA.KZ <http://rootca.teka.kz/>". > BUT I run "curl" utlity for CA named "BTA Ipoteka CA" - all certificates > used in "curl" options are emitted by CA "BTA Ipoteka CA": > > [oracle@duo ~]$ curl -v "https://rootca.teka.kz:8442/ejbca" -E > /home/oracle/CSR_EJBCA_duo2/certs_x509/duo.cer \ > --key /home/oracle/CSR_EJBCA_duo2/duo/duo.teka.kz.key --pass welcome123 \ > --cacert /home/oracle/BTAIpotekaCA.cacert.pem > > I cannot use CA "ROOTCA.TEKA.KZ <http://rootca.teka.kz/>" as it has too > strong key which is not supported by my eToken Client; I had to create one > more CA "BTA Ipoteka CA" with shorter key length. > What steps to do if certificates for customer devices are emitted by CA > "BTA Ipoteka CA" but initial CA is "ROOTCA.TEKA.KZ <http://rootca.teka.kz/>" > and JBoss certificate is for initial CA. > Probably some reconfiguration are to be done on JBoss to let one receive > requests for new CA also ? > > thank you for your great job, Timur. > > > > 2014-06-07 17:07 GMT+06:00 Branko Majic <br...@ma...>: > > > On Fri, 6 Jun 2014 23:06:26 +0600 > > Тимур <tim...@gm...> wrote: > > > > > Hello, dears > > > > > > I have successfuly installed EJBCA 6.1.1, JBoss 7.1.1.Final, openjdk 6, > > > Oracle 9.2.0.5, ojdbc6.jar, on Ubuntu Linux ("13.04, Raring Ringtail"). > > No > > > any deployment and > > > installation mistakes for this software combination. I have successfully > > > created all profiles , add entuty and I have issued my first > > > SSL-certificate and write one to USB HSM with eToken Client. So, I have > > > full-functional EJBCA 6.1.1 at present. > > > I have a custom java-application which uses eToken authentication and > > this > > > java-application worked fine with previous version of EJBCA and I need to > > > organize connectivity between this java-application and EJBCA. There is a > > > parameter for EJBCA URL in java-application config file and I pointed out > > > this parameter to "https://10.62.2.88:8443/ejbca". > > > Java-application uses jdk cacerts and I imported issued certificate with > > CA > > > certificate of EJBCA to cacerts but no connection yet. > > > Checking connectivity to EJBCA by curl utility also gives negative > > result: > > > > > > CA-certificate in PEM-format: > > > > > > [oracle@duo ~]$ curl -v "https://10.62.2.88:8443/ejbca" -E > > > /home/oracle/CSR_EJBCA_duo2/certs_x509/duo.cer --key > > > /home/oracle/CSR_EJBCA_duo2/duo/duo.teka.kz.key --pass > > > > > > welcome123 --cacert /home/oracle/BTAIpotekaCA.cacert.pem > > > * About to connect() to 10.62.2.88 port 8443 > > > * Trying 10.62.2.88... * connected > > > * Connected to 10.62.2.88 (10.62.2.88) port 8443 > > > * successfully set certificate verify locations: > > > * CAfile: /home/oracle/BTAIpotekaCA.cacert.pem > > > CApath: none > > > * SSL certificate problem, verify that the CA cert is OK. Details: > > > error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate > > verify > > > failed > > > > > > CA-certificate in BASE-64 format: > > > > > > [oracle@duo ~]$ curl -v "https://10.62.2.88:8443/ejbca" -E > > > /home/oracle/CSR_EJBCA_duo2/certs_x509/duo.cer --key > > > /home/oracle/CSR_EJBCA_duo2/duo/duo.teka.kz.key --pass > > > > > > welcome123 --cacert /home/oracle/BTAIpotekaCA.cacert-base64.cer --sslv3 > > > --trace-ascii /tmp/curl.log > > > curl: (60) SSL certificate problem, verify that the CA cert is OK. > > Details: > > > error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate > > verify > > > failed > > > More details here: http://curl.haxx.se/docs/sslcerts.html > > > > > > EJBCA console log contains no records to understand why no connectivity > > to > > > EJBCA. > > > Could you please to help to find out which URL must be used to connect to > > > EJBCA for authentication ? If "https://10.62.2.88:8443/ejbca" is > > correct > > > what's the reason > > > of trouble with EJBCA connection ? > > > > > > thank you, Timur. > > > > Hello Timur, > > > > The problem you are facing happens during the TLS handshake between the > > server and client, where (at least) client is unable to verify the > > certificate presented by JBoss. > > > > Since the TLS is handled by JBoss, you won't get any useful logging > > messages from EJBCA. In fact, not even JBoss as such will produce any > > useful debugging info. You could try enabling debugging of TLS > > handshake via JAVA_OPTS, though. > > > > I've noticed you are using the IP address for connecting to JBoss/EJBCA > > - are you sure that you have this IP address specified in your server > > certificate (on JBoss)? If not, that is your problem. The IP, FQDN, or > > hostname used for connecting has to be part of subjectAltName DNS name > > (or, if subjectAltName DNS name is not present, CN has to be used). > > > > As a side-note, you should avoid using IP address in certificates or > > for TLS connections in general, and instead rely on FQDN or hostname, > > with FQDN being the recommended thing to use. > > > > I hope this explanation will help you a bit :) > > > > Best regards > > Hello Timur, If you are getting a validation error on port 8442, that is probably the client-side validation failing. Keep in mind that if you deploy EJBCA on JBoss using default ports, port 8442 does _not_ require client certificate authentication. You could test if JBoss will return anything at all to you on port 8442 with wget --no-check-certificate (just to see if content gets served), and then try to figure out why your client fails to validate the server certificate. If the JBoss certificate was issued by ROOTCA.TEKA.KZ, you will most definitively need to have this CA certificate in the truststore of your client. As for trusted client certificates on (for EJBCA commonly) port 8443, you will need to update the JBoss truststore to contain the new CA certificate (used for issuing client certificates). Best regards -- Branko Majic Jabber: br...@ma... Please use only Free formats when sending attachments to me. Бранко Мајић Џабер: br...@ma... Молим вас да додатке шаљете искључиво у слободним форматима. |
|
From: Тимур <tim...@gm...> - 2014-06-07 17:04:45
|
Hello, Branko ! Thank you for your good advice about SSL debugging on JBoss. IP-address was replaced by FQDN but still JBoss rejects connection. Then SSL debug had been enabled on JBoss 7.1.1: [oracle@duo ~]$ curl -v "https://rootca.teka.kz:8442/ejbca" -E /home/oracle/CSR_EJBCA_duo2/certs_x509/duo.cer --key /home/oracle/CSR_EJBCA_duo2/duo/duo.teka.kz.key --pass welcome123 --cacert /home/oracle/BTAIpotekaCA.cacert.pem .... 21:10:53,179 INFO [stdout] (http--0.0.0.0-8442-Acceptor-0) Is initial handshake: true 21:10:53,180 INFO [stdout] (http--0.0.0.0-8442-Acceptor-0) Is secure renegotiation: false 21:10:53,183 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, setSoTimeout(60000) called 21:10:53,187 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, READ: SSL v2, contentType = Handshake, translated length = 95 21:10:53,190 INFO [stdout] (http--0.0.0.0-8442-1) *** ClientHello, TLSv1 ..... 21:10:53,286 INFO [stdout] (http--0.0.0.0-8442-1) *** ServerHello, TLSv1 ..... 21:10:53,550 INFO [stdout] (http--0.0.0.0-8442-1) *** ServerHelloDone 21:10:53,552 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, WRITE: TLSv1 Handshake, length = 2722 21:10:53,561 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, READ: TLSv1 Alert, length = 2 21:10:53,563 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, RECV TLSv1 ALERT: fatal, unknown_ca 21:10:53,564 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, called closeSocket() 21:10:53,566 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, handling exception: javax.net.ssl.SSLHandshakeException: Received fatal alert: unknown_ca 21:10:53,567 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, IOException in getSession(): javax.net.ssl.SSLHandshakeException: Received fatal alert: unknown_ca <-------!!!!!!! 21:10:53,577 INFO [stdout] (http--0.0.0.0-8442-1) http--0.0.0.0-8442-1, called close() JBoss SSL-certificate is for CN=rootca.teka.kz which belongs to the CA named "ROOTCA.TEKA.KZ <http://rootca.teka.kz/>". BUT I run "curl" utlity for CA named "BTA Ipoteka CA" - all certificates used in "curl" options are emitted by CA "BTA Ipoteka CA": [oracle@duo ~]$ curl -v "https://rootca.teka.kz:8442/ejbca" -E /home/oracle/CSR_EJBCA_duo2/certs_x509/duo.cer \ --key /home/oracle/CSR_EJBCA_duo2/duo/duo.teka.kz.key --pass welcome123 \ --cacert /home/oracle/BTAIpotekaCA.cacert.pem I cannot use CA "ROOTCA.TEKA.KZ <http://rootca.teka.kz/>" as it has too strong key which is not supported by my eToken Client; I had to create one more CA "BTA Ipoteka CA" with shorter key length. What steps to do if certificates for customer devices are emitted by CA "BTA Ipoteka CA" but initial CA is "ROOTCA.TEKA.KZ <http://rootca.teka.kz/>" and JBoss certificate is for initial CA. Probably some reconfiguration are to be done on JBoss to let one receive requests for new CA also ? thank you for your great job, Timur. 2014-06-07 17:07 GMT+06:00 Branko Majic <br...@ma...>: > On Fri, 6 Jun 2014 23:06:26 +0600 > Тимур <tim...@gm...> wrote: > > > Hello, dears > > > > I have successfuly installed EJBCA 6.1.1, JBoss 7.1.1.Final, openjdk 6, > > Oracle 9.2.0.5, ojdbc6.jar, on Ubuntu Linux ("13.04, Raring Ringtail"). > No > > any deployment and > > installation mistakes for this software combination. I have successfully > > created all profiles , add entuty and I have issued my first > > SSL-certificate and write one to USB HSM with eToken Client. So, I have > > full-functional EJBCA 6.1.1 at present. > > I have a custom java-application which uses eToken authentication and > this > > java-application worked fine with previous version of EJBCA and I need to > > organize connectivity between this java-application and EJBCA. There is a > > parameter for EJBCA URL in java-application config file and I pointed out > > this parameter to "https://10.62.2.88:8443/ejbca". > > Java-application uses jdk cacerts and I imported issued certificate with > CA > > certificate of EJBCA to cacerts but no connection yet. > > Checking connectivity to EJBCA by curl utility also gives negative > result: > > > > CA-certificate in PEM-format: > > > > [oracle@duo ~]$ curl -v "https://10.62.2.88:8443/ejbca" -E > > /home/oracle/CSR_EJBCA_duo2/certs_x509/duo.cer --key > > /home/oracle/CSR_EJBCA_duo2/duo/duo.teka.kz.key --pass > > > > welcome123 --cacert /home/oracle/BTAIpotekaCA.cacert.pem > > * About to connect() to 10.62.2.88 port 8443 > > * Trying 10.62.2.88... * connected > > * Connected to 10.62.2.88 (10.62.2.88) port 8443 > > * successfully set certificate verify locations: > > * CAfile: /home/oracle/BTAIpotekaCA.cacert.pem > > CApath: none > > * SSL certificate problem, verify that the CA cert is OK. Details: > > error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate > verify > > failed > > > > CA-certificate in BASE-64 format: > > > > [oracle@duo ~]$ curl -v "https://10.62.2.88:8443/ejbca" -E > > /home/oracle/CSR_EJBCA_duo2/certs_x509/duo.cer --key > > /home/oracle/CSR_EJBCA_duo2/duo/duo.teka.kz.key --pass > > > > welcome123 --cacert /home/oracle/BTAIpotekaCA.cacert-base64.cer --sslv3 > > --trace-ascii /tmp/curl.log > > curl: (60) SSL certificate problem, verify that the CA cert is OK. > Details: > > error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate > verify > > failed > > More details here: http://curl.haxx.se/docs/sslcerts.html > > > > EJBCA console log contains no records to understand why no connectivity > to > > EJBCA. > > Could you please to help to find out which URL must be used to connect to > > EJBCA for authentication ? If "https://10.62.2.88:8443/ejbca" is > correct > > what's the reason > > of trouble with EJBCA connection ? > > > > thank you, Timur. > > Hello Timur, > > The problem you are facing happens during the TLS handshake between the > server and client, where (at least) client is unable to verify the > certificate presented by JBoss. > > Since the TLS is handled by JBoss, you won't get any useful logging > messages from EJBCA. In fact, not even JBoss as such will produce any > useful debugging info. You could try enabling debugging of TLS > handshake via JAVA_OPTS, though. > > I've noticed you are using the IP address for connecting to JBoss/EJBCA > - are you sure that you have this IP address specified in your server > certificate (on JBoss)? If not, that is your problem. The IP, FQDN, or > hostname used for connecting has to be part of subjectAltName DNS name > (or, if subjectAltName DNS name is not present, CN has to be used). > > As a side-note, you should avoid using IP address in certificates or > for TLS connections in general, and instead rely on FQDN or hostname, > with FQDN being the recommended thing to use. > > I hope this explanation will help you a bit :) > > Best regards > > -- > Branko Majic > Jabber: br...@ma... > Please use only Free formats when sending attachments to me. > > Бранко Мајић > Џабер: br...@ma... > Молим вас да додатке шаљете искључиво у слободним форматима. > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > |
|
From: Branko M. <br...@ma...> - 2014-06-07 11:26:08
|
On Fri, 30 May 2014 18:03:14 +0000
"SIMI Michael P. Schieferer" <si...@di...> wrote:
> Michael P. Schieferer schrieb am 30.05.2014 20:03
> _____________________________________________________________________
>
> Hi!
>
> I want to install EJBCA 6.1.1 on a Raspberry Pi using Jboss 7 AS. The Application Server is up and running (provides samples work fine). But the "ant deploy" always fails in target "jee:deployServicesJBoss7" without a meaningful error message ("returned 1").
>
> The JBoss error logs state an exception
>
> 18:45:38,309 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 3) JBAS014612: Operation ("composite") failed - address: ([]): java.lang.IllegalArgumentException
>
>
> Has anyone yet successfully deployed EJBCA on a Raspberry Pi?
>
> Thanks, Michael
> Mit freundlichen Gr??en | Best Regards
>
> Michael P. Schieferer
> Stv. IT-Leitung
> IT
>
Hello Michael,
Is this using all default property files (i.e. no configuration options
changed)?
What exact version of JBoss are you using?
You could try passing the ant -v or -d options to get more verbose
output in order to figure out what's going wrong.
Have you set correctly the hostname on the Pi, and configured it
properly in /etc/hosts ? I've had some problems if hostname was not
the first entry on the /etc/hosts 127.0.0.1 line, for example
(unrelated to Pi).
Best regards
--
Branko Majic
Jabber: br...@ma...
Please use only Free formats when sending attachments to me.
Бранко Мајић
Џабер: br...@ma...
Молим вас да додатке шаљете искључиво у слободним форматима.
|
|
From: Branko M. <br...@ma...> - 2014-06-07 11:25:46
|
On Fri, 6 Jun 2014 23:06:26 +0600
Тимур <tim...@gm...> wrote:
> Hello, dears
>
> I have successfuly installed EJBCA 6.1.1, JBoss 7.1.1.Final, openjdk 6,
> Oracle 9.2.0.5, ojdbc6.jar, on Ubuntu Linux ("13.04, Raring Ringtail"). No
> any deployment and
> installation mistakes for this software combination. I have successfully
> created all profiles , add entuty and I have issued my first
> SSL-certificate and write one to USB HSM with eToken Client. So, I have
> full-functional EJBCA 6.1.1 at present.
> I have a custom java-application which uses eToken authentication and this
> java-application worked fine with previous version of EJBCA and I need to
> organize connectivity between this java-application and EJBCA. There is a
> parameter for EJBCA URL in java-application config file and I pointed out
> this parameter to "https://10.62.2.88:8443/ejbca".
> Java-application uses jdk cacerts and I imported issued certificate with CA
> certificate of EJBCA to cacerts but no connection yet.
> Checking connectivity to EJBCA by curl utility also gives negative result:
>
> CA-certificate in PEM-format:
>
> [oracle@duo ~]$ curl -v "https://10.62.2.88:8443/ejbca" -E
> /home/oracle/CSR_EJBCA_duo2/certs_x509/duo.cer --key
> /home/oracle/CSR_EJBCA_duo2/duo/duo.teka.kz.key --pass
>
> welcome123 --cacert /home/oracle/BTAIpotekaCA.cacert.pem
> * About to connect() to 10.62.2.88 port 8443
> * Trying 10.62.2.88... * connected
> * Connected to 10.62.2.88 (10.62.2.88) port 8443
> * successfully set certificate verify locations:
> * CAfile: /home/oracle/BTAIpotekaCA.cacert.pem
> CApath: none
> * SSL certificate problem, verify that the CA cert is OK. Details:
> error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify
> failed
>
> CA-certificate in BASE-64 format:
>
> [oracle@duo ~]$ curl -v "https://10.62.2.88:8443/ejbca" -E
> /home/oracle/CSR_EJBCA_duo2/certs_x509/duo.cer --key
> /home/oracle/CSR_EJBCA_duo2/duo/duo.teka.kz.key --pass
>
> welcome123 --cacert /home/oracle/BTAIpotekaCA.cacert-base64.cer --sslv3
> --trace-ascii /tmp/curl.log
> curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
> error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify
> failed
> More details here: http://curl.haxx.se/docs/sslcerts.html
>
> EJBCA console log contains no records to understand why no connectivity to
> EJBCA.
> Could you please to help to find out which URL must be used to connect to
> EJBCA for authentication ? If "https://10.62.2.88:8443/ejbca" is correct
> what's the reason
> of trouble with EJBCA connection ?
>
> thank you, Timur.
Hello Timur,
The problem you are facing happens during the TLS handshake between the
server and client, where (at least) client is unable to verify the
certificate presented by JBoss.
Since the TLS is handled by JBoss, you won't get any useful logging
messages from EJBCA. In fact, not even JBoss as such will produce any
useful debugging info. You could try enabling debugging of TLS
handshake via JAVA_OPTS, though.
I've noticed you are using the IP address for connecting to JBoss/EJBCA
- are you sure that you have this IP address specified in your server
certificate (on JBoss)? If not, that is your problem. The IP, FQDN, or
hostname used for connecting has to be part of subjectAltName DNS name
(or, if subjectAltName DNS name is not present, CN has to be used).
As a side-note, you should avoid using IP address in certificates or
for TLS connections in general, and instead rely on FQDN or hostname,
with FQDN being the recommended thing to use.
I hope this explanation will help you a bit :)
Best regards
--
Branko Majic
Jabber: br...@ma...
Please use only Free formats when sending attachments to me.
Бранко Мајић
Џабер: br...@ma...
Молим вас да додатке шаљете искључиво у слободним форматима.
|
|
From: Branko M. <br...@ma...> - 2014-06-07 11:25:46
|
Hm... I don't know what the issue might be based on the output you provided, but one way to make debugging easier would be to, instead of running ant install straight away, use the EJBCA CLI (after deploy and restart of JBoss) to see if it can access anything. I.e. (assuming below paths are correct, of course): cd /opt/ejbca/ bin/ejbca.sh ca listcas The above command should work even before ant install (default CLI user gets generated on the first deployment of EJBCA app in an empty database). Perhaps make sure to start out with a fresh database (truncate all tables at least) as well. Best regards On Thu, 05 Jun 2014 18:27:49 +0300 Pavel Bychykhin <byc...@ht...> wrote: > Hi All, > > I'm trying to install a new instance of EJBCA (6.1.1). > My system is: FreeBSD 9.2, Jboss 7.1.1, OpenJDK 1.7.0_55, PostgreSQL 9.3. > `ant deploy' finishes with success and I able to see a database tables > after that. > > `ant install finishes with failure. Here is the error message, which I > observe on Jboss console: > 10:35:56,077 INFO > [org.cesecore.authorization.control.AccessControlSessionBean] (EJB > default - 1) Authorization failed for Internal GlobalConfiguration Admin > of type AlwaysAllowLocalAuthenticationToken for resource / > 10:35:56,078 ERROR [org.jboss.ejb3.invocation] (EJB default - 1) > JBAS014134: EJB Invocation failed on component > GlobalConfigurationSessionBean for method public abstract > org.ejbca.config.Configuration > org.ejbca.core.ejb.config.GlobalConfigurationSession.getCachedConfiguration(java.lang.String): > java.lang.RuntimeException: Internal admin was denied access. This > should not be able to happen. > > And the script output is: > ejbca:install: > > ejbca:initCA: > [echo] Initializing CA with 'ManagementCA' > 'CN=ManagementCA,O=EJBCA Sample,C=SE' 'soft' <ca.tokenpassword hidden> > '2048' 'RSA' '3650' 'null' 'SHA256WithRSA' -superadmincn 'SuperAdmin'... > > [java] Could not run execute method for class ca > [java] java.lang.RuntimeException: Internal admin was denied > access. This should not be able to happen. > > Could you please help me to find out an issue. > Thanks in advance. > -- Branko Majic Jabber: br...@ma... Please use only Free formats when sending attachments to me. Бранко Мајић Џабер: br...@ma... Молим вас да додатке шаљете искључиво у слободним форматима. |
|
From: Branko M. <br...@ma...> - 2014-06-07 11:20:47
|
At least the Apache Ant 1.8.2 binary zip from the official project page should work with EJBCA build scripts. Perhaps you could try using that version? How did you install the Apache Ant 1.9.4? Did you download it from Apache project page, or did you install the distro one? If you happen to discover that EJBCA builds ok with Ant 1.8.2, but not with 1.9.4, it would be useful if you got back to us with that info :) Best regards On Thu, 05 Jun 2014 19:06:12 +0200 Tomas Gustavsson <to...@pr...> wrote: > > It looks like there is a problem with your version of ant I think. > > Ru "ant -version" > > Cheers, > Tomas > > On 2014-06-04 16:13, Harish S.C wrote: > > Hi, > > I am trying to install EJBCA in redhat server. I am using oracle jdk 7 > > updadte 60 with jce extension and ant 1.9.4. I am trying to install in > > JBoss 7.1.1 final with default configuration. When I run ant deploy, I > > am running into following problem. ANy hint on where I am going wrong ? > > > > websphere-specials: > > > > customejbca.message: > > > > appserver.error.message: > > [echo] jndi.properties.file: > > /home/hsalemchandr/ejbca/ejbca_ce_6_1_1/conf/jndi.properties.jboss7 > > > > signjar: > > [echo] Specify -Dsignjar.keystore=/path/keystore.jks if you want > > to sign the release. > > > > customejbca.message: > > > > appserver.error.message: > > [echo] jndi.properties.file: > > /home/hsalemchandr/ejbca/ejbca_ce_6_1_1/conf/jndi.properties.jboss7 > > > > signjar.internal: > > > > build: > > > > inputDatabasePassword: > > Please enter the password to the database. Default works for H2. [sa] > > > > deploy: > > > > customejbca.message: > > > > appserver.error.message: > > [echo] jndi.properties.file: > > /home/hsalemchandr/ejbca/ejbca_ce_6_1_1/conf/jndi.properties.jboss7 > > > > jee:undeployJBoss7: > > > > BUILD FAILED > > /home/hsalemchandr/ejbca/ejbca_ce_6_1_1/build.xml:646: The following > > error occurred while executing this line: > > /home/hsalemchandr/ejbca/ejbca_ce_6_1_1/bin/jboss.xml:443: The following > > error occurred while executing this line: > > /home/hsalemchandr/ejbca/ejbca_ce_6_1_1/bin/jboss.xml:568: Problem: > > failed to create task or type local > > Cause: The name is undefined. > > Action: Check the spelling. > > Action: Check that any custom tasks/types have been declared. > > Action: Check that any <presetdef>/<macrodef> declarations have taken place. > > > > Regards, > > Harish > > > > > > ------------------------------------------------------------------------------ > > Learn Graph Databases - Download FREE O'Reilly Book > > "Graph Databases" is the definitive new guide to graph databases and their > > applications. Written by three acclaimed leaders in the field, > > this first edition is now available. Download your free book today! > > http://p.sf.net/sfu/NeoTech > > > > > > > > _______________________________________________ > > Ejbca-develop mailing list > > Ejb...@li... > > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop -- Branko Majic Jabber: br...@ma... Please use only Free formats when sending attachments to me. Бранко Мајић Џабер: br...@ma... Молим вас да додатке шаљете искључиво у слободним форматима. |
|
From: Тимур <tim...@gm...> - 2014-06-06 17:06:34
|
Hello, dears
I have successfuly installed EJBCA 6.1.1, JBoss 7.1.1.Final, openjdk 6,
Oracle 9.2.0.5, ojdbc6.jar, on Ubuntu Linux ("13.04, Raring Ringtail"). No
any deployment and
installation mistakes for this software combination. I have successfully
created all profiles , add entuty and I have issued my first
SSL-certificate and write one to USB HSM with eToken Client. So, I have
full-functional EJBCA 6.1.1 at present.
I have a custom java-application which uses eToken authentication and this
java-application worked fine with previous version of EJBCA and I need to
organize connectivity between this java-application and EJBCA. There is a
parameter for EJBCA URL in java-application config file and I pointed out
this parameter to "https://10.62.2.88:8443/ejbca".
Java-application uses jdk cacerts and I imported issued certificate with CA
certificate of EJBCA to cacerts but no connection yet.
Checking connectivity to EJBCA by curl utility also gives negative result:
CA-certificate in PEM-format:
[oracle@duo ~]$ curl -v "https://10.62.2.88:8443/ejbca" -E
/home/oracle/CSR_EJBCA_duo2/certs_x509/duo.cer --key
/home/oracle/CSR_EJBCA_duo2/duo/duo.teka.kz.key --pass
welcome123 --cacert /home/oracle/BTAIpotekaCA.cacert.pem
* About to connect() to 10.62.2.88 port 8443
* Trying 10.62.2.88... * connected
* Connected to 10.62.2.88 (10.62.2.88) port 8443
* successfully set certificate verify locations:
* CAfile: /home/oracle/BTAIpotekaCA.cacert.pem
CApath: none
* SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify
failed
CA-certificate in BASE-64 format:
[oracle@duo ~]$ curl -v "https://10.62.2.88:8443/ejbca" -E
/home/oracle/CSR_EJBCA_duo2/certs_x509/duo.cer --key
/home/oracle/CSR_EJBCA_duo2/duo/duo.teka.kz.key --pass
welcome123 --cacert /home/oracle/BTAIpotekaCA.cacert-base64.cer --sslv3
--trace-ascii /tmp/curl.log
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify
failed
More details here: http://curl.haxx.se/docs/sslcerts.html
EJBCA console log contains no records to understand why no connectivity to
EJBCA.
Could you please to help to find out which URL must be used to connect to
EJBCA for authentication ? If "https://10.62.2.88:8443/ejbca" is correct
what's the reason
of trouble with EJBCA connection ?
thank you, Timur.
|
|
From: Tomas G. <to...@pr...> - 2014-06-05 17:06:22
|
It looks like there is a problem with your version of ant I think. Ru "ant -version" Cheers, Tomas On 2014-06-04 16:13, Harish S.C wrote: > Hi, > I am trying to install EJBCA in redhat server. I am using oracle jdk 7 > updadte 60 with jce extension and ant 1.9.4. I am trying to install in > JBoss 7.1.1 final with default configuration. When I run ant deploy, I > am running into following problem. ANy hint on where I am going wrong ? > > websphere-specials: > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: > /home/hsalemchandr/ejbca/ejbca_ce_6_1_1/conf/jndi.properties.jboss7 > > signjar: > [echo] Specify -Dsignjar.keystore=/path/keystore.jks if you want > to sign the release. > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: > /home/hsalemchandr/ejbca/ejbca_ce_6_1_1/conf/jndi.properties.jboss7 > > signjar.internal: > > build: > > inputDatabasePassword: > Please enter the password to the database. Default works for H2. [sa] > > deploy: > > customejbca.message: > > appserver.error.message: > [echo] jndi.properties.file: > /home/hsalemchandr/ejbca/ejbca_ce_6_1_1/conf/jndi.properties.jboss7 > > jee:undeployJBoss7: > > BUILD FAILED > /home/hsalemchandr/ejbca/ejbca_ce_6_1_1/build.xml:646: The following > error occurred while executing this line: > /home/hsalemchandr/ejbca/ejbca_ce_6_1_1/bin/jboss.xml:443: The following > error occurred while executing this line: > /home/hsalemchandr/ejbca/ejbca_ce_6_1_1/bin/jboss.xml:568: Problem: > failed to create task or type local > Cause: The name is undefined. > Action: Check the spelling. > Action: Check that any custom tasks/types have been declared. > Action: Check that any <presetdef>/<macrodef> declarations have taken place. > > Regards, > Harish > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > > > > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > |
|
From: Pavel B. <byc...@ht...> - 2014-06-05 15:44:38
|
Hi All,
I'm trying to install a new instance of EJBCA (6.1.1).
My system is: FreeBSD 9.2, Jboss 7.1.1, OpenJDK 1.7.0_55, PostgreSQL 9.3.
`ant deploy' finishes with success and I able to see a database tables
after that.
`ant install finishes with failure. Here is the error message, which I
observe on Jboss console:
10:35:56,077 INFO
[org.cesecore.authorization.control.AccessControlSessionBean] (EJB
default - 1) Authorization failed for Internal GlobalConfiguration Admin
of type AlwaysAllowLocalAuthenticationToken for resource /
10:35:56,078 ERROR [org.jboss.ejb3.invocation] (EJB default - 1)
JBAS014134: EJB Invocation failed on component
GlobalConfigurationSessionBean for method public abstract
org.ejbca.config.Configuration
org.ejbca.core.ejb.config.GlobalConfigurationSession.getCachedConfiguration(java.lang.String):
java.lang.RuntimeException: Internal admin was denied access. This
should not be able to happen.
And the script output is:
ejbca:install:
ejbca:initCA:
[echo] Initializing CA with 'ManagementCA'
'CN=ManagementCA,O=EJBCA Sample,C=SE' 'soft' <ca.tokenpassword hidden>
'2048' 'RSA' '3650' 'null' 'SHA256WithRSA' -superadmincn 'SuperAdmin'...
[java] Could not run execute method for class ca
[java] java.lang.RuntimeException: Internal admin was denied
access. This should not be able to happen.
Could you please help me to find out an issue.
Thanks in advance.
--
Best regards,
Pavel
|
|
From: Harish S.C <bte...@gm...> - 2014-06-04 14:13:24
|
Hi,
I am trying to install EJBCA in redhat server. I am using oracle jdk 7
updadte 60 with jce extension and ant 1.9.4. I am trying to install in
JBoss 7.1.1 final with default configuration. When I run ant deploy, I am
running into following problem. ANy hint on where I am going wrong ?
websphere-specials:
customejbca.message:
appserver.error.message:
[echo] jndi.properties.file:
/home/hsalemchandr/ejbca/ejbca_ce_6_1_1/conf/jndi.properties.jboss7
signjar:
[echo] Specify -Dsignjar.keystore=/path/keystore.jks if you want to
sign the release.
customejbca.message:
appserver.error.message:
[echo] jndi.properties.file:
/home/hsalemchandr/ejbca/ejbca_ce_6_1_1/conf/jndi.properties.jboss7
signjar.internal:
build:
inputDatabasePassword:
Please enter the password to the database. Default works for H2. [sa]
deploy:
customejbca.message:
appserver.error.message:
[echo] jndi.properties.file:
/home/hsalemchandr/ejbca/ejbca_ce_6_1_1/conf/jndi.properties.jboss7
jee:undeployJBoss7:
BUILD FAILED
/home/hsalemchandr/ejbca/ejbca_ce_6_1_1/build.xml:646: The following error
occurred while executing this line:
/home/hsalemchandr/ejbca/ejbca_ce_6_1_1/bin/jboss.xml:443: The following
error occurred while executing this line:
/home/hsalemchandr/ejbca/ejbca_ce_6_1_1/bin/jboss.xml:568: Problem: failed
to create task or type local
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
Regards,
Harish
|
|
From: Marcus C. <mar...@ne...> - 2014-06-03 10:13:31
|
Hi EJBCA, attached is the pics,it might be filtered earlier. Thanks Warmest Regards, Marcus Cher NETRUST PTE LTD 70 Bendemeer Road #05-03 Luzerne Singapore 339940 Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net Products from Netrust: SSL| Code Signing Certificates |2 Factor Authentication | Email Encryption | Hard Disk Encryption | File Encryption | NAM Singpass Authentication | Netrust Digital Signer | Personal and Organization Certificates -----Original Message----- From: Marcus Cher [mailto:mar...@ne...] Sent: Tuesday, 3 June, 2014 5:05 PM To: ejb...@li... Subject: Re: [Ejbca-develop] " No request certificate chain for CA with id -1174989992 and DN 'CN=Aucto'."error Hi EJBCA, I am trying to create a CA signed by another external CA. I created/export the pkcs10 and then get it signed by my CA. and I get the ".der" certificate from my CA(please see the attached "aaa.der") I tried to get my .der with all kinds of combination(in capture1 and 2.png). Next, I import the cert by going to CA-> edit CAs-> "received certificate response" tab, browse to aaa.der and click " received certificate response" button, I am getting the error below. No request certificate chain for CA with id -1174989992 and DN 'CN=Aucto'. Please help. Thanks Warmest Regards, Marcus Cher NETRUST PTE LTD 70 Bendemeer Road #05-03 Luzerne Singapore 339940 Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net Products from Netrust: SSL| Code Signing Certificates |2 Factor Authentication | Email SSL| Encryption | Hard Disk Encryption | File Encryption | NAM Singpass Authentication | Netrust Digital Signer | Personal and Organization Certificates -----Original Message----- From: Marcus Cher [mailto:mar...@ne...] Sent: Monday, 2 June, 2014 5:37 PM To: ejb...@li... Subject: Re: [Ejbca-develop] add certificate to a User using RA I have just enroll a User using the RA->add end entity, when I click view certificate, it says there is no certificate in database, how can I add a certificate to this user? Thanks Warmest Regards, Marcus Cher NETRUST PTE LTD 70 Bendemeer Road #05-03 Luzerne Singapore 339940 Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net Products from Netrust: SSL| Code Signing Certificates |2 Factor Authentication | Email SSL| Encryption | Hard Disk Encryption | File Encryption | NAM Singpass Authentication | Netrust Digital Signer | Personal and Organization Certificates -----Original Message----- From: Marcus Cher [mailto:mar...@ne...] Sent: Monday, 2 June, 2014 3:50 PM To: 'ejb...@li...' Subject: RE: [Ejbca-develop] EJBCA ant instal fail Hi Tomas, I have successfully set up EJBCA,(please attached) I am curious where can I get the enrolment codes, if I want to issue "Certificate enrollment from a CSR"? is it from the RA? can I use a third party or a EJBCA RA? is there a installation guide to deploy an RA to get the Enrollment code codes? I am new to this. Thanks Warmest Regards, Marcus Cher NETRUST PTE LTD 70 Bendemeer Road #05-03 Luzerne Singapore 339940 Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net Products from Netrust: SSL| Code Signing Certificates |2 Factor Authentication | Email SSL| Encryption | Hard Disk Encryption | File Encryption | NAM Singpass SSL| Authentication | Netrust Digital Signer | Personal and Organization SSL| Certificates -----Original Message----- From: Tomas Gustavsson [mailto:to...@pr...] Sent: Friday, 30 May, 2014 3:14 PM To: ejb...@li... Subject: Re: [Ejbca-develop] EJBCA ant instal fail All looks good there. Cheers, Tomas ********** PrimeKey Solutions AB Anderstorpsvägen 16, 171 54 Solna, Sweden Mob: +46 (0)707421096 Internet: www.primekey.se Twitter: twitter.com/primekeyPKI ********** On 2014-05-30 08:57, Marcus Cher wrote: > Hi Tomas, > I have re-install everything from scractch and I got 2 terminal > message in attached belong to jboss and ejbca. > > Is this normal or considered successfully deployed and installed > ejbca?. I have completed step 9 of > (http://www.ejbca.org/docs/installation.html#JBoss%205). > > Thanks alot for your advice. > > Warmest Regards, > Marcus Cher > > NETRUST PTE LTD > 70 Bendemeer Road #05-03 Luzerne Singapore 339940 Tel +65 6212 1388 | > Fax +65 6212 1366 |Website http://www.netrust.net > > Products from Netrust: > SSL| Code Signing Certificates |2 Factor Authentication | Email > SSL| Encryption | > Hard Disk Encryption | File Encryption | NAM Singpass Authentication | > Netrust Digital Signer | Personal and Organization Certificates > > > -----Original Message----- > From: Tomas Gustavsson [mailto:to...@pr...] > Sent: Thursday, 29 May, 2014 9:36 PM > To: ejb...@li... > Subject: Re: [Ejbca-develop] EJBCA ant instal fail > > > If you are unexperienced I think you will have better luck going for > the Quick Install guide. > http://ejbca.org/docs/installation.html#Ubuntu%20quick%20start > > Adding MySQL to the mix will only make things more complicated for you. > > Are you sure the JBoss errors you get was not given before you run ant > install? Since your first message at ant install is "No EJB receiver > available" meaning there is no EJBCA on the server side. > > Perhaps you have errors during ant deploy? > > (note that you can not use a single core VM for installation as noted > in the quick start guide). > > You can also use the pre-installed virtual machine if you just want to > test things. > > /Tomas > > On 2014-05-29 15:10, Marcus Cher wrote: >> my jboss was running properly, something like >> 79 services running out of 200 services. >> after I uninstall i get this. >> I will be using this link to try again later. >> >> >> http://www.linux-tin.org/EJBCA+unter+Verwendung+von+MySQL >> >> it's in german , if I am not wrong, but it can be translated using >> google-translate. >> >> I am not sure if SQL is needed. >> because in the earlier installation attempt, I didn't install sql >> >> Thanks >> Warmest Regards, >> Marcus Cher >> >> NETRUST PTE LTD >> 70 Bendemeer Road #05-03 Luzerne Singapore 339940 Tel +65 6212 1388 | >> Fax +65 6212 1366 |Website http://www.netrust.net >> >> Products from Netrust: >> SSL| Code Signing Certificates |2 Factor Authentication | Email Encryption > | >> Hard Disk Encryption | File Encryption | NAM Singpass Authentication >> | Netrust Digital Signer | Personal and Organization Certificates >> >> -----Original Message----- >> From: Tomas Gustavsson [mailto:to...@pr...] >> Sent: Thursday, 29 May, 2014 9:00 PM >> To: ejb...@li... >> Subject: Re: [Ejbca-develop] EJBCA ant instal fail >> >> >> Your JBoss did to start properly. Before trying to run 'ant install' >> you need to check the JBoss starts ok. You probably have better >> describing error message much earlier in the jboss log. >> >> Cheers, >> Tomas >> >> On 2014-05-29 11:54, Marcus Cher wrote: >>> Hi EJBCA, >>> >>> I am using >>> >>> ejbca_ce_6_0_3 >>> >>> jboss-as-7.1.1.Final >>> >>> my Jboss was running, >>> >>> I tried to install using the command "ant install". >>> >>> _The Jboss errors are as below:_ >>> >>> 02:27:27,107 INFO [org.jboss.as.server] (DeploymentScanner-threads >>> - 2) >>> JBAS015870: Deploy of deployment "ejbca.ear" was rolled back with >>> failure message {"JBAS014671: Failed services" => >>> {"jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment >>> \"adminweb.war\" of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POS >> T_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"ejbca-ejb.jar\" >>> of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\". >> POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment >>> \"cesecore-ejb.jar\" of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\". >> POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment >>> \"ejbca-ws-ejb.jar\" of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POS >> T_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"publicweb.war\" >>> of deployment \"ejbca.ear\""}} >>> >>> 02:27:27,220 INFO [org.jboss.as.server.deployment] (MSC service >>> thread >>> 1-1) JBAS015877: Stopped deployment publicweb.war in 108ms >>> >>> 02:27:27,221 INFO [org.jboss.as.server.deployment] (MSC service >>> thread >>> 1-1) JBAS015877: Stopped deployment status.war in 109ms >>> >>> 02:27:27,222 INFO [org.jboss.as.server.deployment] (MSC service >>> thread >>> 1-1) JBAS015877: Stopped deployment webdist.war in 110ms >>> >>> 02:27:27,222 INFO [org.jboss.as.server.deployment] (MSC service >>> thread >>> 1-1) JBAS015877: Stopped deployment healthcheck.war in 111ms >>> >>> 02:27:27,223 INFO [org.jboss.as.server.deployment] (MSC service >>> thread >>> 1-1) JBAS015877: Stopped deployment cmp.war in 112ms >>> >>> 02:27:27,224 INFO [org.jboss.as.server.deployment] (MSC service >>> thread >>> 1-1) JBAS015877: Stopped deployment doc.war in 113ms >>> >>> 02:27:27,225 INFO [org.jboss.as.server.deployment] (MSC service >>> thread >>> 1-1) JBAS015877: Stopped deployment clearcache.war in 113ms >>> >>> 02:27:27,226 INFO [org.jboss.as.server.deployment] (MSC service >>> thread >>> 1-1) JBAS015877: Stopped deployment scep.war in 114ms >>> >>> 02:27:27,234 INFO [org.jboss.as.server.deployment] (MSC service >>> thread >>> 1-5) JBAS015877: Stopped deployment ejbca-ejb.jar in 122ms >>> >>> 02:27:27,234 INFO [org.jboss.as.server.deployment] (MSC service >>> thread >>> 1-2) JBAS015877: Stopped deployment cesecore-ejb.jar in 123ms >>> >>> 02:27:27,238 INFO [org.jboss.as.server.deployment] (MSC service >>> thread >>> 1-5) JBAS015877: Stopped deployment ejbca-ws-ejb.jar in 126ms >>> >>> 02:27:27,264 INFO [org.jboss.as.server.deployment] (MSC service >>> thread >>> 1-4) JBAS015877: Stopped deployment adminweb.war in 152ms >>> >>> 02:27:27,296 INFO [org.jboss.as.server.deployment] (MSC service >>> thread >>> 1-4) JBAS015877: Stopped deployment ejbca.ear in 185ms >>> >>> 02:27:27,301 INFO [org.jboss.as.controller] >>> (DeploymentScanner-threads >>> - 2) JBAS014774: Service status report >>> >>> JBAS014775: New missing/unsatisfied dependencies: >>> >>> service jboss.naming.context.java.module.ejbca.adminweb (missing) >>> dependents: [service >>> jboss.naming.context.java.module.ejbca.adminweb.ValidatorFactory, >>> service jboss.naming.context.java.module.ejbca.adminweb.Validator] >>> >>> JBAS014777: Services which failed to start: service >>> jboss.deployment.subunit."ejbca.ear"."adminweb.war".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."adminweb.war".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment "adminweb.war" >>> of deployment "ejbca.ear" >>> >>> service >>> jboss.deployment.subunit."ejbca.ear"."ejbca-ejb.jar".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."ejbca-ejb.jar".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment "ejbca-ejb.jar" >>> of deployment "ejbca.ear" >>> >>> service >>> jboss.deployment.subunit."ejbca.ear"."cesecore-ejb.jar".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."cesecore-ejb.jar".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment "cesecore-ejb.jar" >>> of deployment "ejbca.ear" >>> >>> service >>> jboss.deployment.subunit."ejbca.ear"."ejbca-ws-ejb.jar".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."ejbca-ws-ejb.jar".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment "ejbca-ws-ejb.jar" >>> of deployment "ejbca.ear" >>> >>> service >>> jboss.deployment.subunit."ejbca.ear"."publicweb.war".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."publicweb.war".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment "publicweb.war" >>> of deployment "ejbca.ear" >>> >>> 02:27:27,316 ERROR [org.jboss.as.server.deployment.scanner] >>> (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation >>> failed and was rolled back. Steps that failed:" => {"Operation >>> step-2" => >>> {"JBAS014671: Failed services" => >>> {"jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment >>> \"adminweb.war\" of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POS >> T_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"ejbca-ejb.jar\" >>> of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\". >> POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment >>> \"cesecore-ejb.jar\" of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\". >> POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment >>> \"ejbca-ws-ejb.jar\" of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POS >> T_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"publicweb.war\" >>> of deployment \"ejbca.ear\""}}}} >>> >>> _EJBCA errors below:_ >>> >>> ejbca:init: >>> >>> [echo] >>> >>> [echo] ------------------- CA Properties ---------------- >>> >>> [echo] ca.name : ManagementCA >>> >>> [echo] ca.dn : CN=ManagementCA,O=EJBCA > Sample,C=SE >>> >>> [echo] ca.tokentype : soft >>> >>> [echo] ca.keytype : RSA >>> >>> [echo] ca.keyspec : 2048 >>> >>> [echo] ca.signaturealgorithm : SHA1WithRSA >>> >>> [echo] ca.validity : 3650 >>> >>> [echo] ca.policy : null >>> >>> [echo] ca.tokenproperties : >>> >>> [echo] httpsserver.hostname : localhost >>> >>> [echo] httpsserver.dn : CN=localhost,O=EJBCA Sample,C=SE >>> >>> [echo] superadmin.cn : SuperAdmin >>> >>> [echo] superadmin.dn : CN=SuperAdmin >>> >>> [echo] superadmin.batch : true >>> >>> [echo] appserver.home : /home/marcus/jboss-as-7.1.1.Final >>> >>> [echo] >>> >>> ejbca:install: >>> >>> ejbca:initCA: >>> >>> [echo] Initializing CA with 'ManagementCA' >>> 'CN=ManagementCA,O=EJBCA Sample,C=SE' 'soft' <ca.tokenpassword hidden> >>> '2048' 'RSA' '3650' 'null' 'SHA1WithRSA' -superadmincn 'SuperAdmin'... >>> >>> [java] Could not run execute method for class ca >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@18e5a5f >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> org.ejbca.ui.cli.ca.CaInitCommand.execute(CaInitCommand.java:131) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> ejbca:adminweb: >>> >>> [java] Could not run execute method for class ra >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@1095fd3 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.ra.AddEndEntityCommand.execute(AddEndEntityCommand.java:79) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> [java] Could not run execute method for class ra >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@cb560b >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.ra.SetCleartextPasswordCommand.execute(SetCleartextPassword >> Command.java:45) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> [echo] batch tomcat >>> >>> [java] Could not run execute method for class null >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@1866a29 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> org.ejbca.ui.cli.batch.BatchMakeP12.execute(BatchMakeP12.java:91) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java >>> :67) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> [java] Could not run execute method for class ra >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@19613a1 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.ra.AddEndEntityCommand.execute(AddEndEntityCommand.java:79) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> [java] Could not run execute method for class ra >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@16c65a9 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.ra.SetCleartextPasswordCommand.execute(SetCleartextPassword >> Command.java:45) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> ejbca:batchsuperadmin: >>> >>> [echo] batch superadmin >>> >>> [java] Could not run execute method for class null >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@723a14 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> org.ejbca.ui.cli.batch.BatchMakeP12.execute(BatchMakeP12.java:91) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java >>> :67) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> BUILD FAILED >>> >>> /home/marcus/ejbca_ce_6_0_3/build.xml:60: The following error >>> occurred while executing this line: >>> >>> /home/marcus/ejbca_ce_6_0_3/build.xml:66: The following error >>> occurred while executing this line: >>> >>> /home/marcus/ejbca_ce_6_0_3/bin/cli.xml:96: The following error >>> occurred while executing this line: >>> >>> /home/marcus/ejbca_ce_6_0_3/bin/cli.xml:137: Batch generation failed! >>> >>> anyone encounter this before and how to solve this? I am stuck for >>> days >>> >>> Thanks a lot. >>> >>> Warmest Regards, >>> >>> Marcus Cher >>> >>> *NETRUST PTE LTD* >>> >>> 70 Bendemeer Road #05-03 Luzerne Singapore 339940 >>> >>> Tel +65 6212 1388 | Fax +65 6212 1366 |Website >>> http://www.netrust.net <http://www.netrust.net/> >>> >>> *Products from Netrust:* >>> >>> SSL| Code Signing Certificates |2 Factor Authentication | Email >>> Encryption | Hard Disk Encryption | File Encryption | NAM Singpass >>> Authentication | Netrust Digital Signer | Personal and Organization >>> Certificates >>> >>> >>> >>> >> > ---------------------------------------------------------------------------- >> -- >>> Time is money. Stop wasting it! Get your web API in 5 minutes. >>> www.restlet.com/download >>> http://p.sf.net/sfu/restlet >>> >>> >>> >>> _______________________________________________ >>> Ejbca-develop mailing list >>> Ejb...@li... >>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>> >> >> > ---------------------------------------------------------------------------- >> -- >> Time is money. Stop wasting it! Get your web API in 5 minutes. >> www.restlet.com/download >> http://p.sf.net/sfu/restlet >> _______________________________________________ >> Ejbca-develop mailing list >> Ejb...@li... >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >> >> >> > ---------------------------------------------------------------------------- > -- >> Time is money. Stop wasting it! Get your web API in 5 minutes. >> www.restlet.com/download >> http://p.sf.net/sfu/restlet >> _______________________________________________ >> Ejbca-develop mailing list >> Ejb...@li... >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >> > > ---------------------------------------------------------------------------- > -- > Time is money. Stop wasting it! Get your web API in 5 minutes. > www.restlet.com/download > http://p.sf.net/sfu/restlet > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > > ---------------------------------------------------------------------------- -- > Time is money. Stop wasting it! Get your web API in 5 minutes. > www.restlet.com/download > http://p.sf.net/sfu/restlet > > > > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > ---------------------------------------------------------------------------- -- Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet _______________________________________________ Ejbca-develop mailing list Ejb...@li... https://lists.sourceforge.net/lists/listinfo/ejbca-develop ---------------------------------------------------------------------------- -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ Ejbca-develop mailing list Ejb...@li... https://lists.sourceforge.net/lists/listinfo/ejbca-develop |
|
From: ejbca-support <ejb...@pr...> - 2014-06-03 09:25:17
|
On 2014-06-03 11:04, Marcus Cher wrote: > Hi EJBCA, > > I am trying to create a CA signed by another external CA. > > I created/export the pkcs10 and then get it signed by my CA. > and I get the ".der" certificate from > my CA(please see the attached "aaa.der") > > I tried to get my .der with all kinds of combination(in capture1 and 2.png). > Next, I import the cert by going to CA-> edit CAs-> "received certificate > response" tab, browse to aaa.der and click " received certificate response" > button, I am getting the error below. > > No request certificate chain for CA with id -1174989992 and DN 'CN=Aucto'. > > Please help. I'm not sure about this but you may need to import the root CA cert as well. I guess the status of your CA is waiting for response or something like that? Anders > > Thanks > Warmest Regards, > Marcus Cher > > NETRUST PTE LTD > 70 Bendemeer Road #05-03 Luzerne Singapore 339940 > Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net > > Products from Netrust: > SSL| Code Signing Certificates |2 Factor Authentication | Email Encryption | > Hard Disk Encryption | File Encryption | NAM Singpass Authentication | > Netrust Digital Signer | Personal and Organization Certificates > > -----Original Message----- > From: Marcus Cher [mailto:mar...@ne...] > Sent: Monday, 2 June, 2014 5:37 PM > To: ejb...@li... > Subject: Re: [Ejbca-develop] add certificate to a User using RA > > I have just enroll a User using the RA->add end entity, when I click view > certificate, it says there is no certificate in database, how can I add a > certificate to this user? > > Thanks > Warmest Regards, > Marcus Cher > > NETRUST PTE LTD > 70 Bendemeer Road #05-03 Luzerne Singapore 339940 > Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net > > Products from Netrust: > SSL| Code Signing Certificates |2 Factor Authentication | Email Encryption | > Hard Disk Encryption | File Encryption | NAM Singpass Authentication | > Netrust Digital Signer | Personal and Organization Certificates > > > -----Original Message----- > From: Marcus Cher [mailto:mar...@ne...] > Sent: Monday, 2 June, 2014 3:50 PM > To: 'ejb...@li...' > Subject: RE: [Ejbca-develop] EJBCA ant instal fail > > Hi Tomas, > I have successfully set up EJBCA,(please attached) I am curious where can I > get the enrolment codes, if I want to issue "Certificate enrollment from a > CSR"? > is it from the RA? can I use a third party or a EJBCA RA? > is there a installation guide to deploy an RA to get the Enrollment code > codes? > I am new to this. > > > Thanks > Warmest Regards, > Marcus Cher > > NETRUST PTE LTD > 70 Bendemeer Road #05-03 Luzerne Singapore 339940 Tel +65 6212 1388 | Fax > +65 6212 1366 |Website http://www.netrust.net > > Products from Netrust: > SSL| Code Signing Certificates |2 Factor Authentication | Email > SSL| Encryption | Hard Disk Encryption | File Encryption | NAM Singpass > SSL| Authentication | Netrust Digital Signer | Personal and Organization > SSL| Certificates > > -----Original Message----- > From: Tomas Gustavsson [mailto:to...@pr...] > Sent: Friday, 30 May, 2014 3:14 PM > To: ejb...@li... > Subject: Re: [Ejbca-develop] EJBCA ant instal fail > > > All looks good there. > > Cheers, > Tomas > ********** > PrimeKey Solutions AB > Anderstorpsvägen 16, 171 54 Solna, Sweden > Mob: +46 (0)707421096 > Internet: www.primekey.se > Twitter: twitter.com/primekeyPKI > ********** > > On 2014-05-30 08:57, Marcus Cher wrote: >> Hi Tomas, >> I have re-install everything from scractch and I got 2 terminal message in >> attached belong to jboss and ejbca. >> >> Is this normal or considered successfully deployed and installed ejbca?. I >> have completed step 9 of >> (http://www.ejbca.org/docs/installation.html#JBoss%205). >> >> Thanks alot for your advice. >> >> Warmest Regards, >> Marcus Cher >> >> NETRUST PTE LTD >> 70 Bendemeer Road #05-03 Luzerne Singapore 339940 >> Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net >> >> Products from Netrust: >> SSL| Code Signing Certificates |2 Factor Authentication | Email Encryption > | >> Hard Disk Encryption | File Encryption | NAM Singpass Authentication | >> Netrust Digital Signer | Personal and Organization Certificates >> >> >> -----Original Message----- >> From: Tomas Gustavsson [mailto:to...@pr...] >> Sent: Thursday, 29 May, 2014 9:36 PM >> To: ejb...@li... >> Subject: Re: [Ejbca-develop] EJBCA ant instal fail >> >> >> If you are unexperienced I think you will have better luck going for the >> Quick Install guide. >> http://ejbca.org/docs/installation.html#Ubuntu%20quick%20start >> >> Adding MySQL to the mix will only make things more complicated for you. >> >> Are you sure the JBoss errors you get was not given before you run ant >> install? Since your first message at ant install is "No EJB receiver >> available" meaning there is no EJBCA on the server side. >> >> Perhaps you have errors during ant deploy? >> >> (note that you can not use a single core VM for installation as noted in >> the quick start guide). >> >> You can also use the pre-installed virtual machine if you just want to >> test things. >> >> /Tomas >> >> On 2014-05-29 15:10, Marcus Cher wrote: >>> my jboss was running properly, something like >>> 79 services running out of 200 services. >>> after I uninstall i get this. >>> I will be using this link to try again later. >>> >>> >>> http://www.linux-tin.org/EJBCA+unter+Verwendung+von+MySQL >>> >>> it's in german , if I am not wrong, but it can be translated using >>> google-translate. >>> >>> I am not sure if SQL is needed. >>> because in the earlier installation attempt, I didn't install sql >>> >>> Thanks >>> Warmest Regards, >>> Marcus Cher >>> >>> NETRUST PTE LTD >>> 70 Bendemeer Road #05-03 Luzerne Singapore 339940 >>> Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net >>> >>> Products from Netrust: >>> SSL| Code Signing Certificates |2 Factor Authentication | Email > Encryption >> | >>> Hard Disk Encryption | File Encryption | NAM Singpass Authentication | >>> Netrust Digital Signer | Personal and Organization Certificates >>> >>> -----Original Message----- >>> From: Tomas Gustavsson [mailto:to...@pr...] >>> Sent: Thursday, 29 May, 2014 9:00 PM >>> To: ejb...@li... >>> Subject: Re: [Ejbca-develop] EJBCA ant instal fail >>> >>> >>> Your JBoss did to start properly. Before trying to run 'ant install' you >>> need to check the JBoss starts ok. You probably have better describing >>> error message much earlier in the jboss log. >>> >>> Cheers, >>> Tomas >>> >>> On 2014-05-29 11:54, Marcus Cher wrote: >>>> Hi EJBCA, >>>> >>>> I am using >>>> >>>> ejbca_ce_6_0_3 >>>> >>>> jboss-as-7.1.1.Final >>>> >>>> my Jboss was running, >>>> >>>> I tried to install using the command "ant install". >>>> >>>> _The Jboss errors are as below:_ >>>> >>>> 02:27:27,107 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) >>>> JBAS015870: Deploy of deployment "ejbca.ear" was rolled back with >>>> failure message {"JBAS014671: Failed services" => >>>> {"jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE" >>>> => "org.jboss.msc.service.StartException in service >>>> jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE: >>>> Failed to process phase POST_MODULE of subdeployment \"adminweb.war\" of >>>> deployment >>>> >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POS >>> T_MODULE" >>>> => "org.jboss.msc.service.StartException in service >>>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POST_MODULE: >>>> Failed to process phase POST_MODULE of subdeployment \"ejbca-ejb.jar\" >>>> of deployment >>>> >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\". >>> POST_MODULE" >>>> => "org.jboss.msc.service.StartException in service >>>> jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\".POST_MODULE: >>>> Failed to process phase POST_MODULE of subdeployment >>>> \"cesecore-ejb.jar\" of deployment >>>> >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\". >>> POST_MODULE" >>>> => "org.jboss.msc.service.StartException in service >>>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\".POST_MODULE: >>>> Failed to process phase POST_MODULE of subdeployment >>>> \"ejbca-ws-ejb.jar\" of deployment >>>> >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POS >>> T_MODULE" >>>> => "org.jboss.msc.service.StartException in service >>>> jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POST_MODULE: >>>> Failed to process phase POST_MODULE of subdeployment \"publicweb.war\" >>>> of deployment \"ejbca.ear\""}} >>>> >>>> 02:27:27,220 INFO [org.jboss.as.server.deployment] (MSC service thread >>>> 1-1) JBAS015877: Stopped deployment publicweb.war in 108ms >>>> >>>> 02:27:27,221 INFO [org.jboss.as.server.deployment] (MSC service thread >>>> 1-1) JBAS015877: Stopped deployment status.war in 109ms >>>> >>>> 02:27:27,222 INFO [org.jboss.as.server.deployment] (MSC service thread >>>> 1-1) JBAS015877: Stopped deployment webdist.war in 110ms >>>> >>>> 02:27:27,222 INFO [org.jboss.as.server.deployment] (MSC service thread >>>> 1-1) JBAS015877: Stopped deployment healthcheck.war in 111ms >>>> >>>> 02:27:27,223 INFO [org.jboss.as.server.deployment] (MSC service thread >>>> 1-1) JBAS015877: Stopped deployment cmp.war in 112ms >>>> >>>> 02:27:27,224 INFO [org.jboss.as.server.deployment] (MSC service thread >>>> 1-1) JBAS015877: Stopped deployment doc.war in 113ms >>>> >>>> 02:27:27,225 INFO [org.jboss.as.server.deployment] (MSC service thread >>>> 1-1) JBAS015877: Stopped deployment clearcache.war in 113ms >>>> >>>> 02:27:27,226 INFO [org.jboss.as.server.deployment] (MSC service thread >>>> 1-1) JBAS015877: Stopped deployment scep.war in 114ms >>>> >>>> 02:27:27,234 INFO [org.jboss.as.server.deployment] (MSC service thread >>>> 1-5) JBAS015877: Stopped deployment ejbca-ejb.jar in 122ms >>>> >>>> 02:27:27,234 INFO [org.jboss.as.server.deployment] (MSC service thread >>>> 1-2) JBAS015877: Stopped deployment cesecore-ejb.jar in 123ms >>>> >>>> 02:27:27,238 INFO [org.jboss.as.server.deployment] (MSC service thread >>>> 1-5) JBAS015877: Stopped deployment ejbca-ws-ejb.jar in 126ms >>>> >>>> 02:27:27,264 INFO [org.jboss.as.server.deployment] (MSC service thread >>>> 1-4) JBAS015877: Stopped deployment adminweb.war in 152ms >>>> >>>> 02:27:27,296 INFO [org.jboss.as.server.deployment] (MSC service thread >>>> 1-4) JBAS015877: Stopped deployment ejbca.ear in 185ms >>>> >>>> 02:27:27,301 INFO [org.jboss.as.controller] (DeploymentScanner-threads >>>> - 2) JBAS014774: Service status report >>>> >>>> JBAS014775: New missing/unsatisfied dependencies: >>>> >>>> service jboss.naming.context.java.module.ejbca.adminweb > (missing) >>>> dependents: [service >>>> jboss.naming.context.java.module.ejbca.adminweb.ValidatorFactory, >>>> service jboss.naming.context.java.module.ejbca.adminweb.Validator] >>>> >>>> JBAS014777: Services which failed to start: service >>>> jboss.deployment.subunit."ejbca.ear"."adminweb.war".POST_MODULE: >>>> org.jboss.msc.service.StartException in service >>>> jboss.deployment.subunit."ejbca.ear"."adminweb.war".POST_MODULE: Failed >>>> to process phase POST_MODULE of subdeployment "adminweb.war" of >>>> deployment "ejbca.ear" >>>> >>>> service >>>> jboss.deployment.subunit."ejbca.ear"."ejbca-ejb.jar".POST_MODULE: >>>> org.jboss.msc.service.StartException in service >>>> jboss.deployment.subunit."ejbca.ear"."ejbca-ejb.jar".POST_MODULE: Failed >>>> to process phase POST_MODULE of subdeployment "ejbca-ejb.jar" of >>>> deployment "ejbca.ear" >>>> >>>> service >>>> jboss.deployment.subunit."ejbca.ear"."cesecore-ejb.jar".POST_MODULE: >>>> org.jboss.msc.service.StartException in service >>>> jboss.deployment.subunit."ejbca.ear"."cesecore-ejb.jar".POST_MODULE: >>>> Failed to process phase POST_MODULE of subdeployment "cesecore-ejb.jar" >>>> of deployment "ejbca.ear" >>>> >>>> service >>>> jboss.deployment.subunit."ejbca.ear"."ejbca-ws-ejb.jar".POST_MODULE: >>>> org.jboss.msc.service.StartException in service >>>> jboss.deployment.subunit."ejbca.ear"."ejbca-ws-ejb.jar".POST_MODULE: >>>> Failed to process phase POST_MODULE of subdeployment "ejbca-ws-ejb.jar" >>>> of deployment "ejbca.ear" >>>> >>>> service >>>> jboss.deployment.subunit."ejbca.ear"."publicweb.war".POST_MODULE: >>>> org.jboss.msc.service.StartException in service >>>> jboss.deployment.subunit."ejbca.ear"."publicweb.war".POST_MODULE: Failed >>>> to process phase POST_MODULE of subdeployment "publicweb.war" of >>>> deployment "ejbca.ear" >>>> >>>> 02:27:27,316 ERROR [org.jboss.as.server.deployment.scanner] >>>> (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed >>>> and was rolled back. Steps that failed:" => {"Operation step-2" => >>>> {"JBAS014671: Failed services" => >>>> {"jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE" >>>> => "org.jboss.msc.service.StartException in service >>>> jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE: >>>> Failed to process phase POST_MODULE of subdeployment \"adminweb.war\" of >>>> deployment >>>> >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POS >>> T_MODULE" >>>> => "org.jboss.msc.service.StartException in service >>>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POST_MODULE: >>>> Failed to process phase POST_MODULE of subdeployment \"ejbca-ejb.jar\" >>>> of deployment >>>> >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\". >>> POST_MODULE" >>>> => "org.jboss.msc.service.StartException in service >>>> jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\".POST_MODULE: >>>> Failed to process phase POST_MODULE of subdeployment >>>> \"cesecore-ejb.jar\" of deployment >>>> >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\". >>> POST_MODULE" >>>> => "org.jboss.msc.service.StartException in service >>>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\".POST_MODULE: >>>> Failed to process phase POST_MODULE of subdeployment >>>> \"ejbca-ws-ejb.jar\" of deployment >>>> >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POS >>> T_MODULE" >>>> => "org.jboss.msc.service.StartException in service >>>> jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POST_MODULE: >>>> Failed to process phase POST_MODULE of subdeployment \"publicweb.war\" >>>> of deployment \"ejbca.ear\""}}}} >>>> >>>> _EJBCA errors below:_ >>>> >>>> ejbca:init: >>>> >>>> [echo] >>>> >>>> [echo] ------------------- CA Properties ---------------- >>>> >>>> [echo] ca.name : ManagementCA >>>> >>>> [echo] ca.dn : CN=ManagementCA,O=EJBCA >> Sample,C=SE >>>> >>>> [echo] ca.tokentype : soft >>>> >>>> [echo] ca.keytype : RSA >>>> >>>> [echo] ca.keyspec : 2048 >>>> >>>> [echo] ca.signaturealgorithm : SHA1WithRSA >>>> >>>> [echo] ca.validity : 3650 >>>> >>>> [echo] ca.policy : null >>>> >>>> [echo] ca.tokenproperties : >>>> >>>> [echo] httpsserver.hostname : localhost >>>> >>>> [echo] httpsserver.dn : CN=localhost,O=EJBCA Sample,C=SE >>>> >>>> [echo] superadmin.cn : SuperAdmin >>>> >>>> [echo] superadmin.dn : CN=SuperAdmin >>>> >>>> [echo] superadmin.batch : true >>>> >>>> [echo] appserver.home : > /home/marcus/jboss-as-7.1.1.Final >>>> >>>> [echo] >>>> >>>> ejbca:install: >>>> >>>> ejbca:initCA: >>>> >>>> [echo] Initializing CA with 'ManagementCA' >>>> 'CN=ManagementCA,O=EJBCA Sample,C=SE' 'soft' <ca.tokenpassword hidden> >>>> '2048' 'RSA' '3650' 'null' 'SHA1WithRSA' -superadmincn 'SuperAdmin'... >>>> >>>> [java] Could not run execute method for class ca >>>> >>>> [java] java.lang.IllegalStateException: No EJB receiver > available >>>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>>> combination for invocation context >>>> org.jboss.ejb.client.EJBClientInvocationContext@18e5a5f >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >>> va:584) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >>> r.java:119) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >>> ionContext.java:181) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >>> :136) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >>> :121) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >>> 04) >>>> >>>> [java] at > com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>>> Source) >>>> >>>> [java] at >>>> >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >>> va:123) >>>> >>>> [java] at >>>> org.ejbca.ui.cli.ca.CaInitCommand.execute(CaInitCommand.java:131) >>>> >>>> [java] at >>>> >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>>> >>>> [java] at >>>> > org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>>> >>>> [java] at >> org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>>> >>>> [java] Java Result: 1 >>>> >>>> ejbca:adminweb: >>>> >>>> [java] Could not run execute method for class ra >>>> >>>> [java] java.lang.IllegalStateException: No EJB receiver > available >>>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>>> combination for invocation context >>>> org.jboss.ejb.client.EJBClientInvocationContext@1095fd3 >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >>> va:584) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >>> r.java:119) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >>> ionContext.java:181) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >>> :136) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >>> :121) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >>> 04) >>>> >>>> [java] at > com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>>> Source) >>>> >>>> [java] at >>>> >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >>> va:123) >>>> >>>> [java] at >>>> >>> >> > org.ejbca.ui.cli.ra.AddEndEntityCommand.execute(AddEndEntityCommand.java:79) >>>> >>>> [java] at >>>> >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>>> >>>> [java] at >>>> > org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>>> >>>> [java] at >> org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>>> >>>> [java] Java Result: 1 >>>> >>>> [java] Could not run execute method for class ra >>>> >>>> [java] java.lang.IllegalStateException: No EJB receiver > available >>>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>>> combination for invocation context >>>> org.jboss.ejb.client.EJBClientInvocationContext@cb560b >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >>> va:584) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >>> r.java:119) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >>> ionContext.java:181) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >>> :136) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >>> :121) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >>> 04) >>>> >>>> [java] at > com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>>> Source) >>>> >>>> [java] at >>>> >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >>> va:123) >>>> >>>> [java] at >>>> >>> >> > org.ejbca.ui.cli.ra.SetCleartextPasswordCommand.execute(SetCleartextPassword >>> Command.java:45) >>>> >>>> [java] at >>>> >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>>> >>>> [java] at >>>> > org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>>> >>>> [java] at >> org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>>> >>>> [java] Java Result: 1 >>>> >>>> [echo] batch tomcat >>>> >>>> [java] Could not run execute method for class null >>>> >>>> [java] java.lang.IllegalStateException: No EJB receiver > available >>>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>>> combination for invocation context >>>> org.jboss.ejb.client.EJBClientInvocationContext@1866a29 >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >>> va:584) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >>> r.java:119) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >>> ionContext.java:181) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >>> :136) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >>> :121) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >>> 04) >>>> >>>> [java] at > com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>>> Source) >>>> >>>> [java] at >>>> >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >>> va:123) >>>> >>>> [java] at >>>> org.ejbca.ui.cli.batch.BatchMakeP12.execute(BatchMakeP12.java:91) >>>> >>>> [java] at >>>> >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>>> >>>> [java] at >>>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:67) >>>> >>>> [java] at >> org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>>> >>>> [java] Java Result: 1 >>>> >>>> [java] Could not run execute method for class ra >>>> >>>> [java] java.lang.IllegalStateException: No EJB receiver > available >>>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>>> combination for invocation context >>>> org.jboss.ejb.client.EJBClientInvocationContext@19613a1 >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >>> va:584) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >>> r.java:119) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >>> ionContext.java:181) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >>> :136) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >>> :121) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >>> 04) >>>> >>>> [java] at > com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>>> Source) >>>> >>>> [java] at >>>> >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >>> va:123) >>>> >>>> [java] at >>>> >>> >> > org.ejbca.ui.cli.ra.AddEndEntityCommand.execute(AddEndEntityCommand.java:79) >>>> >>>> [java] at >>>> >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>>> >>>> [java] at >>>> > org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>>> >>>> [java] at >> org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>>> >>>> [java] Java Result: 1 >>>> >>>> [java] Could not run execute method for class ra >>>> >>>> [java] java.lang.IllegalStateException: No EJB receiver > available >>>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>>> combination for invocation context >>>> org.jboss.ejb.client.EJBClientInvocationContext@16c65a9 >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >>> va:584) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >>> r.java:119) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >>> ionContext.java:181) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >>> :136) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >>> :121) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >>> 04) >>>> >>>> [java] at > com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>>> Source) >>>> >>>> [java] at >>>> >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >>> va:123) >>>> >>>> [java] at >>>> >>> >> > org.ejbca.ui.cli.ra.SetCleartextPasswordCommand.execute(SetCleartextPassword >>> Command.java:45) >>>> >>>> [java] at >>>> >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>>> >>>> [java] at >>>> > org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>>> >>>> [java] at >> org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>>> >>>> [java] Java Result: 1 >>>> >>>> ejbca:batchsuperadmin: >>>> >>>> [echo] batch superadmin >>>> >>>> [java] Could not run execute method for class null >>>> >>>> [java] java.lang.IllegalStateException: No EJB receiver > available >>>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>>> combination for invocation context >>>> org.jboss.ejb.client.EJBClientInvocationContext@723a14 >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >>> va:584) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >>> r.java:119) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >>> ionContext.java:181) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >>> :136) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >>> :121) >>>> >>>> [java] at >>>> >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >>> 04) >>>> >>>> [java] at > com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>>> Source) >>>> >>>> [java] at >>>> >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >>> va:123) >>>> >>>> [java] at >>>> org.ejbca.ui.cli.batch.BatchMakeP12.execute(BatchMakeP12.java:91) >>>> >>>> [java] at >>>> >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>>> >>>> [java] at >>>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:67) >>>> >>>> [java] at >> org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>>> >>>> [java] Java Result: 1 >>>> >>>> BUILD FAILED >>>> >>>> /home/marcus/ejbca_ce_6_0_3/build.xml:60: The following error occurred >>>> while executing this line: >>>> >>>> /home/marcus/ejbca_ce_6_0_3/build.xml:66: The following error occurred >>>> while executing this line: >>>> >>>> /home/marcus/ejbca_ce_6_0_3/bin/cli.xml:96: The following error occurred >>>> while executing this line: >>>> >>>> /home/marcus/ejbca_ce_6_0_3/bin/cli.xml:137: Batch generation failed! >>>> >>>> anyone encounter this before and how to solve this? I am stuck for days >>>> >>>> Thanks a lot. >>>> >>>> Warmest Regards, >>>> >>>> Marcus Cher >>>> >>>> *NETRUST PTE LTD* >>>> >>>> 70 Bendemeer Road #05-03 Luzerne Singapore 339940 >>>> >>>> Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net >>>> <http://www.netrust.net/> >>>> >>>> *Products from Netrust:* >>>> >>>> SSL| Code Signing Certificates |2 Factor Authentication | Email >>>> Encryption | Hard Disk Encryption | File Encryption | NAM Singpass >>>> Authentication | Netrust Digital Signer | Personal and Organization >>>> Certificates >>>> >>>> >>>> >>>> >>> >> > ---------------------------------------------------------------------------- >>> -- >>>> Time is money. Stop wasting it! Get your web API in 5 minutes. >>>> www.restlet.com/download >>>> http://p.sf.net/sfu/restlet >>>> >>>> >>>> >>>> _______________________________________________ >>>> Ejbca-develop mailing list >>>> Ejb...@li... >>>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>>> >>> >>> >> > ---------------------------------------------------------------------------- >>> -- >>> Time is money. Stop wasting it! Get your web API in 5 minutes. >>> www.restlet.com/download >>> http://p.sf.net/sfu/restlet >>> _______________________________________________ >>> Ejbca-develop mailing list >>> Ejb...@li... >>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>> >>> >>> >> > ---------------------------------------------------------------------------- >> -- >>> Time is money. Stop wasting it! Get your web API in 5 minutes. >>> www.restlet.com/download >>> http://p.sf.net/sfu/restlet >>> _______________________________________________ >>> Ejbca-develop mailing list >>> Ejb...@li... >>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>> >> >> > ---------------------------------------------------------------------------- >> -- >> Time is money. Stop wasting it! Get your web API in 5 minutes. >> www.restlet.com/download >> http://p.sf.net/sfu/restlet >> _______________________________________________ >> Ejbca-develop mailing list >> Ejb...@li... >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >> >> >> >> > ---------------------------------------------------------------------------- > -- >> Time is money. Stop wasting it! Get your web API in 5 minutes. >> www.restlet.com/download >> http://p.sf.net/sfu/restlet >> >> >> >> _______________________________________________ >> Ejbca-develop mailing list >> Ejb...@li... >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >> > > ---------------------------------------------------------------------------- > -- > Time is money. Stop wasting it! Get your web API in 5 minutes. > www.restlet.com/download > http://p.sf.net/sfu/restlet > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > ---------------------------------------------------------------------------- > -- > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > > > > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > |
|
From: Marcus C. <mar...@ne...> - 2014-06-03 09:05:12
|
Hi EJBCA, I am trying to create a CA signed by another external CA. I created/export the pkcs10 and then get it signed by my CA. and I get the ".der" certificate from my CA(please see the attached "aaa.der") I tried to get my .der with all kinds of combination(in capture1 and 2.png). Next, I import the cert by going to CA-> edit CAs-> "received certificate response" tab, browse to aaa.der and click " received certificate response" button, I am getting the error below. No request certificate chain for CA with id -1174989992 and DN 'CN=Aucto'. Please help. Thanks Warmest Regards, Marcus Cher NETRUST PTE LTD 70 Bendemeer Road #05-03 Luzerne Singapore 339940 Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net Products from Netrust: SSL| Code Signing Certificates |2 Factor Authentication | Email Encryption | Hard Disk Encryption | File Encryption | NAM Singpass Authentication | Netrust Digital Signer | Personal and Organization Certificates -----Original Message----- From: Marcus Cher [mailto:mar...@ne...] Sent: Monday, 2 June, 2014 5:37 PM To: ejb...@li... Subject: Re: [Ejbca-develop] add certificate to a User using RA I have just enroll a User using the RA->add end entity, when I click view certificate, it says there is no certificate in database, how can I add a certificate to this user? Thanks Warmest Regards, Marcus Cher NETRUST PTE LTD 70 Bendemeer Road #05-03 Luzerne Singapore 339940 Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net Products from Netrust: SSL| Code Signing Certificates |2 Factor Authentication | Email Encryption | Hard Disk Encryption | File Encryption | NAM Singpass Authentication | Netrust Digital Signer | Personal and Organization Certificates -----Original Message----- From: Marcus Cher [mailto:mar...@ne...] Sent: Monday, 2 June, 2014 3:50 PM To: 'ejb...@li...' Subject: RE: [Ejbca-develop] EJBCA ant instal fail Hi Tomas, I have successfully set up EJBCA,(please attached) I am curious where can I get the enrolment codes, if I want to issue "Certificate enrollment from a CSR"? is it from the RA? can I use a third party or a EJBCA RA? is there a installation guide to deploy an RA to get the Enrollment code codes? I am new to this. Thanks Warmest Regards, Marcus Cher NETRUST PTE LTD 70 Bendemeer Road #05-03 Luzerne Singapore 339940 Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net Products from Netrust: SSL| Code Signing Certificates |2 Factor Authentication | Email SSL| Encryption | Hard Disk Encryption | File Encryption | NAM Singpass SSL| Authentication | Netrust Digital Signer | Personal and Organization SSL| Certificates -----Original Message----- From: Tomas Gustavsson [mailto:to...@pr...] Sent: Friday, 30 May, 2014 3:14 PM To: ejb...@li... Subject: Re: [Ejbca-develop] EJBCA ant instal fail All looks good there. Cheers, Tomas ********** PrimeKey Solutions AB Anderstorpsvägen 16, 171 54 Solna, Sweden Mob: +46 (0)707421096 Internet: www.primekey.se Twitter: twitter.com/primekeyPKI ********** On 2014-05-30 08:57, Marcus Cher wrote: > Hi Tomas, > I have re-install everything from scractch and I got 2 terminal message in > attached belong to jboss and ejbca. > > Is this normal or considered successfully deployed and installed ejbca?. I > have completed step 9 of > (http://www.ejbca.org/docs/installation.html#JBoss%205). > > Thanks alot for your advice. > > Warmest Regards, > Marcus Cher > > NETRUST PTE LTD > 70 Bendemeer Road #05-03 Luzerne Singapore 339940 > Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net > > Products from Netrust: > SSL| Code Signing Certificates |2 Factor Authentication | Email Encryption | > Hard Disk Encryption | File Encryption | NAM Singpass Authentication | > Netrust Digital Signer | Personal and Organization Certificates > > > -----Original Message----- > From: Tomas Gustavsson [mailto:to...@pr...] > Sent: Thursday, 29 May, 2014 9:36 PM > To: ejb...@li... > Subject: Re: [Ejbca-develop] EJBCA ant instal fail > > > If you are unexperienced I think you will have better luck going for the > Quick Install guide. > http://ejbca.org/docs/installation.html#Ubuntu%20quick%20start > > Adding MySQL to the mix will only make things more complicated for you. > > Are you sure the JBoss errors you get was not given before you run ant > install? Since your first message at ant install is "No EJB receiver > available" meaning there is no EJBCA on the server side. > > Perhaps you have errors during ant deploy? > > (note that you can not use a single core VM for installation as noted in > the quick start guide). > > You can also use the pre-installed virtual machine if you just want to > test things. > > /Tomas > > On 2014-05-29 15:10, Marcus Cher wrote: >> my jboss was running properly, something like >> 79 services running out of 200 services. >> after I uninstall i get this. >> I will be using this link to try again later. >> >> >> http://www.linux-tin.org/EJBCA+unter+Verwendung+von+MySQL >> >> it's in german , if I am not wrong, but it can be translated using >> google-translate. >> >> I am not sure if SQL is needed. >> because in the earlier installation attempt, I didn't install sql >> >> Thanks >> Warmest Regards, >> Marcus Cher >> >> NETRUST PTE LTD >> 70 Bendemeer Road #05-03 Luzerne Singapore 339940 >> Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net >> >> Products from Netrust: >> SSL| Code Signing Certificates |2 Factor Authentication | Email Encryption > | >> Hard Disk Encryption | File Encryption | NAM Singpass Authentication | >> Netrust Digital Signer | Personal and Organization Certificates >> >> -----Original Message----- >> From: Tomas Gustavsson [mailto:to...@pr...] >> Sent: Thursday, 29 May, 2014 9:00 PM >> To: ejb...@li... >> Subject: Re: [Ejbca-develop] EJBCA ant instal fail >> >> >> Your JBoss did to start properly. Before trying to run 'ant install' you >> need to check the JBoss starts ok. You probably have better describing >> error message much earlier in the jboss log. >> >> Cheers, >> Tomas >> >> On 2014-05-29 11:54, Marcus Cher wrote: >>> Hi EJBCA, >>> >>> I am using >>> >>> ejbca_ce_6_0_3 >>> >>> jboss-as-7.1.1.Final >>> >>> my Jboss was running, >>> >>> I tried to install using the command "ant install". >>> >>> _The Jboss errors are as below:_ >>> >>> 02:27:27,107 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) >>> JBAS015870: Deploy of deployment "ejbca.ear" was rolled back with >>> failure message {"JBAS014671: Failed services" => >>> {"jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"adminweb.war\" of >>> deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POS >> T_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"ejbca-ejb.jar\" >>> of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\". >> POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment >>> \"cesecore-ejb.jar\" of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\". >> POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment >>> \"ejbca-ws-ejb.jar\" of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POS >> T_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"publicweb.war\" >>> of deployment \"ejbca.ear\""}} >>> >>> 02:27:27,220 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment publicweb.war in 108ms >>> >>> 02:27:27,221 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment status.war in 109ms >>> >>> 02:27:27,222 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment webdist.war in 110ms >>> >>> 02:27:27,222 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment healthcheck.war in 111ms >>> >>> 02:27:27,223 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment cmp.war in 112ms >>> >>> 02:27:27,224 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment doc.war in 113ms >>> >>> 02:27:27,225 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment clearcache.war in 113ms >>> >>> 02:27:27,226 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment scep.war in 114ms >>> >>> 02:27:27,234 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-5) JBAS015877: Stopped deployment ejbca-ejb.jar in 122ms >>> >>> 02:27:27,234 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-2) JBAS015877: Stopped deployment cesecore-ejb.jar in 123ms >>> >>> 02:27:27,238 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-5) JBAS015877: Stopped deployment ejbca-ws-ejb.jar in 126ms >>> >>> 02:27:27,264 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-4) JBAS015877: Stopped deployment adminweb.war in 152ms >>> >>> 02:27:27,296 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-4) JBAS015877: Stopped deployment ejbca.ear in 185ms >>> >>> 02:27:27,301 INFO [org.jboss.as.controller] (DeploymentScanner-threads >>> - 2) JBAS014774: Service status report >>> >>> JBAS014775: New missing/unsatisfied dependencies: >>> >>> service jboss.naming.context.java.module.ejbca.adminweb (missing) >>> dependents: [service >>> jboss.naming.context.java.module.ejbca.adminweb.ValidatorFactory, >>> service jboss.naming.context.java.module.ejbca.adminweb.Validator] >>> >>> JBAS014777: Services which failed to start: service >>> jboss.deployment.subunit."ejbca.ear"."adminweb.war".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."adminweb.war".POST_MODULE: Failed >>> to process phase POST_MODULE of subdeployment "adminweb.war" of >>> deployment "ejbca.ear" >>> >>> service >>> jboss.deployment.subunit."ejbca.ear"."ejbca-ejb.jar".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."ejbca-ejb.jar".POST_MODULE: Failed >>> to process phase POST_MODULE of subdeployment "ejbca-ejb.jar" of >>> deployment "ejbca.ear" >>> >>> service >>> jboss.deployment.subunit."ejbca.ear"."cesecore-ejb.jar".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."cesecore-ejb.jar".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment "cesecore-ejb.jar" >>> of deployment "ejbca.ear" >>> >>> service >>> jboss.deployment.subunit."ejbca.ear"."ejbca-ws-ejb.jar".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."ejbca-ws-ejb.jar".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment "ejbca-ws-ejb.jar" >>> of deployment "ejbca.ear" >>> >>> service >>> jboss.deployment.subunit."ejbca.ear"."publicweb.war".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."publicweb.war".POST_MODULE: Failed >>> to process phase POST_MODULE of subdeployment "publicweb.war" of >>> deployment "ejbca.ear" >>> >>> 02:27:27,316 ERROR [org.jboss.as.server.deployment.scanner] >>> (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed >>> and was rolled back. Steps that failed:" => {"Operation step-2" => >>> {"JBAS014671: Failed services" => >>> {"jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"adminweb.war\" of >>> deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POS >> T_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"ejbca-ejb.jar\" >>> of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\". >> POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment >>> \"cesecore-ejb.jar\" of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\". >> POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment >>> \"ejbca-ws-ejb.jar\" of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POS >> T_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"publicweb.war\" >>> of deployment \"ejbca.ear\""}}}} >>> >>> _EJBCA errors below:_ >>> >>> ejbca:init: >>> >>> [echo] >>> >>> [echo] ------------------- CA Properties ---------------- >>> >>> [echo] ca.name : ManagementCA >>> >>> [echo] ca.dn : CN=ManagementCA,O=EJBCA > Sample,C=SE >>> >>> [echo] ca.tokentype : soft >>> >>> [echo] ca.keytype : RSA >>> >>> [echo] ca.keyspec : 2048 >>> >>> [echo] ca.signaturealgorithm : SHA1WithRSA >>> >>> [echo] ca.validity : 3650 >>> >>> [echo] ca.policy : null >>> >>> [echo] ca.tokenproperties : >>> >>> [echo] httpsserver.hostname : localhost >>> >>> [echo] httpsserver.dn : CN=localhost,O=EJBCA Sample,C=SE >>> >>> [echo] superadmin.cn : SuperAdmin >>> >>> [echo] superadmin.dn : CN=SuperAdmin >>> >>> [echo] superadmin.batch : true >>> >>> [echo] appserver.home : /home/marcus/jboss-as-7.1.1.Final >>> >>> [echo] >>> >>> ejbca:install: >>> >>> ejbca:initCA: >>> >>> [echo] Initializing CA with 'ManagementCA' >>> 'CN=ManagementCA,O=EJBCA Sample,C=SE' 'soft' <ca.tokenpassword hidden> >>> '2048' 'RSA' '3650' 'null' 'SHA1WithRSA' -superadmincn 'SuperAdmin'... >>> >>> [java] Could not run execute method for class ca >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@18e5a5f >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> org.ejbca.ui.cli.ca.CaInitCommand.execute(CaInitCommand.java:131) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> ejbca:adminweb: >>> >>> [java] Could not run execute method for class ra >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@1095fd3 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.ra.AddEndEntityCommand.execute(AddEndEntityCommand.java:79) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> [java] Could not run execute method for class ra >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@cb560b >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.ra.SetCleartextPasswordCommand.execute(SetCleartextPassword >> Command.java:45) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> [echo] batch tomcat >>> >>> [java] Could not run execute method for class null >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@1866a29 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> org.ejbca.ui.cli.batch.BatchMakeP12.execute(BatchMakeP12.java:91) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:67) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> [java] Could not run execute method for class ra >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@19613a1 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.ra.AddEndEntityCommand.execute(AddEndEntityCommand.java:79) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> [java] Could not run execute method for class ra >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@16c65a9 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.ra.SetCleartextPasswordCommand.execute(SetCleartextPassword >> Command.java:45) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> ejbca:batchsuperadmin: >>> >>> [echo] batch superadmin >>> >>> [java] Could not run execute method for class null >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@723a14 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> org.ejbca.ui.cli.batch.BatchMakeP12.execute(BatchMakeP12.java:91) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:67) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> BUILD FAILED >>> >>> /home/marcus/ejbca_ce_6_0_3/build.xml:60: The following error occurred >>> while executing this line: >>> >>> /home/marcus/ejbca_ce_6_0_3/build.xml:66: The following error occurred >>> while executing this line: >>> >>> /home/marcus/ejbca_ce_6_0_3/bin/cli.xml:96: The following error occurred >>> while executing this line: >>> >>> /home/marcus/ejbca_ce_6_0_3/bin/cli.xml:137: Batch generation failed! >>> >>> anyone encounter this before and how to solve this? I am stuck for days >>> >>> Thanks a lot. >>> >>> Warmest Regards, >>> >>> Marcus Cher >>> >>> *NETRUST PTE LTD* >>> >>> 70 Bendemeer Road #05-03 Luzerne Singapore 339940 >>> >>> Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net >>> <http://www.netrust.net/> >>> >>> *Products from Netrust:* >>> >>> SSL| Code Signing Certificates |2 Factor Authentication | Email >>> Encryption | Hard Disk Encryption | File Encryption | NAM Singpass >>> Authentication | Netrust Digital Signer | Personal and Organization >>> Certificates >>> >>> >>> >>> >> > ---------------------------------------------------------------------------- >> -- >>> Time is money. Stop wasting it! Get your web API in 5 minutes. >>> www.restlet.com/download >>> http://p.sf.net/sfu/restlet >>> >>> >>> >>> _______________________________________________ >>> Ejbca-develop mailing list >>> Ejb...@li... >>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>> >> >> > ---------------------------------------------------------------------------- >> -- >> Time is money. Stop wasting it! Get your web API in 5 minutes. >> www.restlet.com/download >> http://p.sf.net/sfu/restlet >> _______________________________________________ >> Ejbca-develop mailing list >> Ejb...@li... >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >> >> >> > ---------------------------------------------------------------------------- > -- >> Time is money. Stop wasting it! Get your web API in 5 minutes. >> www.restlet.com/download >> http://p.sf.net/sfu/restlet >> _______________________________________________ >> Ejbca-develop mailing list >> Ejb...@li... >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >> > > ---------------------------------------------------------------------------- > -- > Time is money. Stop wasting it! Get your web API in 5 minutes. > www.restlet.com/download > http://p.sf.net/sfu/restlet > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > > ---------------------------------------------------------------------------- -- > Time is money. Stop wasting it! Get your web API in 5 minutes. > www.restlet.com/download > http://p.sf.net/sfu/restlet > > > > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > ---------------------------------------------------------------------------- -- Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet _______________________________________________ Ejbca-develop mailing list Ejb...@li... https://lists.sourceforge.net/lists/listinfo/ejbca-develop ---------------------------------------------------------------------------- -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ Ejbca-develop mailing list Ejb...@li... https://lists.sourceforge.net/lists/listinfo/ejbca-develop |
|
From: Marcus C. <mar...@ne...> - 2014-06-02 09:37:26
|
I have just enroll a User using the RA->add end entity, when I click view certificate, it says there is no certificate in database, how can I add a certificate to this user? Thanks Warmest Regards, Marcus Cher NETRUST PTE LTD 70 Bendemeer Road #05-03 Luzerne Singapore 339940 Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net Products from Netrust: SSL| Code Signing Certificates |2 Factor Authentication | Email Encryption | Hard Disk Encryption | File Encryption | NAM Singpass Authentication | Netrust Digital Signer | Personal and Organization Certificates -----Original Message----- From: Marcus Cher [mailto:mar...@ne...] Sent: Monday, 2 June, 2014 3:50 PM To: 'ejb...@li...' Subject: RE: [Ejbca-develop] EJBCA ant instal fail Hi Tomas, I have successfully set up EJBCA,(please attached) I am curious where can I get the enrolment codes, if I want to issue "Certificate enrollment from a CSR"? is it from the RA? can I use a third party or a EJBCA RA? is there a installation guide to deploy an RA to get the Enrollment code codes? I am new to this. Thanks Warmest Regards, Marcus Cher NETRUST PTE LTD 70 Bendemeer Road #05-03 Luzerne Singapore 339940 Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net Products from Netrust: SSL| Code Signing Certificates |2 Factor Authentication | Email SSL| Encryption | Hard Disk Encryption | File Encryption | NAM Singpass SSL| Authentication | Netrust Digital Signer | Personal and Organization SSL| Certificates -----Original Message----- From: Tomas Gustavsson [mailto:to...@pr...] Sent: Friday, 30 May, 2014 3:14 PM To: ejb...@li... Subject: Re: [Ejbca-develop] EJBCA ant instal fail All looks good there. Cheers, Tomas ********** PrimeKey Solutions AB Anderstorpsvägen 16, 171 54 Solna, Sweden Mob: +46 (0)707421096 Internet: www.primekey.se Twitter: twitter.com/primekeyPKI ********** On 2014-05-30 08:57, Marcus Cher wrote: > Hi Tomas, > I have re-install everything from scractch and I got 2 terminal message in > attached belong to jboss and ejbca. > > Is this normal or considered successfully deployed and installed ejbca?. I > have completed step 9 of > (http://www.ejbca.org/docs/installation.html#JBoss%205). > > Thanks alot for your advice. > > Warmest Regards, > Marcus Cher > > NETRUST PTE LTD > 70 Bendemeer Road #05-03 Luzerne Singapore 339940 > Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net > > Products from Netrust: > SSL| Code Signing Certificates |2 Factor Authentication | Email Encryption | > Hard Disk Encryption | File Encryption | NAM Singpass Authentication | > Netrust Digital Signer | Personal and Organization Certificates > > > -----Original Message----- > From: Tomas Gustavsson [mailto:to...@pr...] > Sent: Thursday, 29 May, 2014 9:36 PM > To: ejb...@li... > Subject: Re: [Ejbca-develop] EJBCA ant instal fail > > > If you are unexperienced I think you will have better luck going for the > Quick Install guide. > http://ejbca.org/docs/installation.html#Ubuntu%20quick%20start > > Adding MySQL to the mix will only make things more complicated for you. > > Are you sure the JBoss errors you get was not given before you run ant > install? Since your first message at ant install is "No EJB receiver > available" meaning there is no EJBCA on the server side. > > Perhaps you have errors during ant deploy? > > (note that you can not use a single core VM for installation as noted in > the quick start guide). > > You can also use the pre-installed virtual machine if you just want to > test things. > > /Tomas > > On 2014-05-29 15:10, Marcus Cher wrote: >> my jboss was running properly, something like >> 79 services running out of 200 services. >> after I uninstall i get this. >> I will be using this link to try again later. >> >> >> http://www.linux-tin.org/EJBCA+unter+Verwendung+von+MySQL >> >> it's in german , if I am not wrong, but it can be translated using >> google-translate. >> >> I am not sure if SQL is needed. >> because in the earlier installation attempt, I didn't install sql >> >> Thanks >> Warmest Regards, >> Marcus Cher >> >> NETRUST PTE LTD >> 70 Bendemeer Road #05-03 Luzerne Singapore 339940 >> Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net >> >> Products from Netrust: >> SSL| Code Signing Certificates |2 Factor Authentication | Email Encryption > | >> Hard Disk Encryption | File Encryption | NAM Singpass Authentication | >> Netrust Digital Signer | Personal and Organization Certificates >> >> -----Original Message----- >> From: Tomas Gustavsson [mailto:to...@pr...] >> Sent: Thursday, 29 May, 2014 9:00 PM >> To: ejb...@li... >> Subject: Re: [Ejbca-develop] EJBCA ant instal fail >> >> >> Your JBoss did to start properly. Before trying to run 'ant install' you >> need to check the JBoss starts ok. You probably have better describing >> error message much earlier in the jboss log. >> >> Cheers, >> Tomas >> >> On 2014-05-29 11:54, Marcus Cher wrote: >>> Hi EJBCA, >>> >>> I am using >>> >>> ejbca_ce_6_0_3 >>> >>> jboss-as-7.1.1.Final >>> >>> my Jboss was running, >>> >>> I tried to install using the command "ant install". >>> >>> _The Jboss errors are as below:_ >>> >>> 02:27:27,107 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) >>> JBAS015870: Deploy of deployment "ejbca.ear" was rolled back with >>> failure message {"JBAS014671: Failed services" => >>> {"jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"adminweb.war\" of >>> deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POS >> T_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"ejbca-ejb.jar\" >>> of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\". >> POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment >>> \"cesecore-ejb.jar\" of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\". >> POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment >>> \"ejbca-ws-ejb.jar\" of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POS >> T_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"publicweb.war\" >>> of deployment \"ejbca.ear\""}} >>> >>> 02:27:27,220 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment publicweb.war in 108ms >>> >>> 02:27:27,221 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment status.war in 109ms >>> >>> 02:27:27,222 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment webdist.war in 110ms >>> >>> 02:27:27,222 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment healthcheck.war in 111ms >>> >>> 02:27:27,223 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment cmp.war in 112ms >>> >>> 02:27:27,224 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment doc.war in 113ms >>> >>> 02:27:27,225 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment clearcache.war in 113ms >>> >>> 02:27:27,226 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment scep.war in 114ms >>> >>> 02:27:27,234 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-5) JBAS015877: Stopped deployment ejbca-ejb.jar in 122ms >>> >>> 02:27:27,234 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-2) JBAS015877: Stopped deployment cesecore-ejb.jar in 123ms >>> >>> 02:27:27,238 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-5) JBAS015877: Stopped deployment ejbca-ws-ejb.jar in 126ms >>> >>> 02:27:27,264 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-4) JBAS015877: Stopped deployment adminweb.war in 152ms >>> >>> 02:27:27,296 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-4) JBAS015877: Stopped deployment ejbca.ear in 185ms >>> >>> 02:27:27,301 INFO [org.jboss.as.controller] (DeploymentScanner-threads >>> - 2) JBAS014774: Service status report >>> >>> JBAS014775: New missing/unsatisfied dependencies: >>> >>> service jboss.naming.context.java.module.ejbca.adminweb (missing) >>> dependents: [service >>> jboss.naming.context.java.module.ejbca.adminweb.ValidatorFactory, >>> service jboss.naming.context.java.module.ejbca.adminweb.Validator] >>> >>> JBAS014777: Services which failed to start: service >>> jboss.deployment.subunit."ejbca.ear"."adminweb.war".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."adminweb.war".POST_MODULE: Failed >>> to process phase POST_MODULE of subdeployment "adminweb.war" of >>> deployment "ejbca.ear" >>> >>> service >>> jboss.deployment.subunit."ejbca.ear"."ejbca-ejb.jar".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."ejbca-ejb.jar".POST_MODULE: Failed >>> to process phase POST_MODULE of subdeployment "ejbca-ejb.jar" of >>> deployment "ejbca.ear" >>> >>> service >>> jboss.deployment.subunit."ejbca.ear"."cesecore-ejb.jar".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."cesecore-ejb.jar".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment "cesecore-ejb.jar" >>> of deployment "ejbca.ear" >>> >>> service >>> jboss.deployment.subunit."ejbca.ear"."ejbca-ws-ejb.jar".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."ejbca-ws-ejb.jar".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment "ejbca-ws-ejb.jar" >>> of deployment "ejbca.ear" >>> >>> service >>> jboss.deployment.subunit."ejbca.ear"."publicweb.war".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."publicweb.war".POST_MODULE: Failed >>> to process phase POST_MODULE of subdeployment "publicweb.war" of >>> deployment "ejbca.ear" >>> >>> 02:27:27,316 ERROR [org.jboss.as.server.deployment.scanner] >>> (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed >>> and was rolled back. Steps that failed:" => {"Operation step-2" => >>> {"JBAS014671: Failed services" => >>> {"jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"adminweb.war\" of >>> deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POS >> T_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"ejbca-ejb.jar\" >>> of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\". >> POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment >>> \"cesecore-ejb.jar\" of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\". >> POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment >>> \"ejbca-ws-ejb.jar\" of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POS >> T_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"publicweb.war\" >>> of deployment \"ejbca.ear\""}}}} >>> >>> _EJBCA errors below:_ >>> >>> ejbca:init: >>> >>> [echo] >>> >>> [echo] ------------------- CA Properties ---------------- >>> >>> [echo] ca.name : ManagementCA >>> >>> [echo] ca.dn : CN=ManagementCA,O=EJBCA > Sample,C=SE >>> >>> [echo] ca.tokentype : soft >>> >>> [echo] ca.keytype : RSA >>> >>> [echo] ca.keyspec : 2048 >>> >>> [echo] ca.signaturealgorithm : SHA1WithRSA >>> >>> [echo] ca.validity : 3650 >>> >>> [echo] ca.policy : null >>> >>> [echo] ca.tokenproperties : >>> >>> [echo] httpsserver.hostname : localhost >>> >>> [echo] httpsserver.dn : CN=localhost,O=EJBCA Sample,C=SE >>> >>> [echo] superadmin.cn : SuperAdmin >>> >>> [echo] superadmin.dn : CN=SuperAdmin >>> >>> [echo] superadmin.batch : true >>> >>> [echo] appserver.home : /home/marcus/jboss-as-7.1.1.Final >>> >>> [echo] >>> >>> ejbca:install: >>> >>> ejbca:initCA: >>> >>> [echo] Initializing CA with 'ManagementCA' >>> 'CN=ManagementCA,O=EJBCA Sample,C=SE' 'soft' <ca.tokenpassword hidden> >>> '2048' 'RSA' '3650' 'null' 'SHA1WithRSA' -superadmincn 'SuperAdmin'... >>> >>> [java] Could not run execute method for class ca >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@18e5a5f >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> org.ejbca.ui.cli.ca.CaInitCommand.execute(CaInitCommand.java:131) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> ejbca:adminweb: >>> >>> [java] Could not run execute method for class ra >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@1095fd3 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.ra.AddEndEntityCommand.execute(AddEndEntityCommand.java:79) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> [java] Could not run execute method for class ra >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@cb560b >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.ra.SetCleartextPasswordCommand.execute(SetCleartextPassword >> Command.java:45) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> [echo] batch tomcat >>> >>> [java] Could not run execute method for class null >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@1866a29 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> org.ejbca.ui.cli.batch.BatchMakeP12.execute(BatchMakeP12.java:91) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:67) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> [java] Could not run execute method for class ra >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@19613a1 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.ra.AddEndEntityCommand.execute(AddEndEntityCommand.java:79) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> [java] Could not run execute method for class ra >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@16c65a9 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.ra.SetCleartextPasswordCommand.execute(SetCleartextPassword >> Command.java:45) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> ejbca:batchsuperadmin: >>> >>> [echo] batch superadmin >>> >>> [java] Could not run execute method for class null >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@723a14 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> org.ejbca.ui.cli.batch.BatchMakeP12.execute(BatchMakeP12.java:91) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:67) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> BUILD FAILED >>> >>> /home/marcus/ejbca_ce_6_0_3/build.xml:60: The following error occurred >>> while executing this line: >>> >>> /home/marcus/ejbca_ce_6_0_3/build.xml:66: The following error occurred >>> while executing this line: >>> >>> /home/marcus/ejbca_ce_6_0_3/bin/cli.xml:96: The following error occurred >>> while executing this line: >>> >>> /home/marcus/ejbca_ce_6_0_3/bin/cli.xml:137: Batch generation failed! >>> >>> anyone encounter this before and how to solve this? I am stuck for days >>> >>> Thanks a lot. >>> >>> Warmest Regards, >>> >>> Marcus Cher >>> >>> *NETRUST PTE LTD* >>> >>> 70 Bendemeer Road #05-03 Luzerne Singapore 339940 >>> >>> Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net >>> <http://www.netrust.net/> >>> >>> *Products from Netrust:* >>> >>> SSL| Code Signing Certificates |2 Factor Authentication | Email >>> Encryption | Hard Disk Encryption | File Encryption | NAM Singpass >>> Authentication | Netrust Digital Signer | Personal and Organization >>> Certificates >>> >>> >>> >>> >> > ---------------------------------------------------------------------------- >> -- >>> Time is money. Stop wasting it! Get your web API in 5 minutes. >>> www.restlet.com/download >>> http://p.sf.net/sfu/restlet >>> >>> >>> >>> _______________________________________________ >>> Ejbca-develop mailing list >>> Ejb...@li... >>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>> >> >> > ---------------------------------------------------------------------------- >> -- >> Time is money. Stop wasting it! Get your web API in 5 minutes. >> www.restlet.com/download >> http://p.sf.net/sfu/restlet >> _______________________________________________ >> Ejbca-develop mailing list >> Ejb...@li... >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >> >> >> > ---------------------------------------------------------------------------- > -- >> Time is money. Stop wasting it! Get your web API in 5 minutes. >> www.restlet.com/download >> http://p.sf.net/sfu/restlet >> _______________________________________________ >> Ejbca-develop mailing list >> Ejb...@li... >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >> > > ---------------------------------------------------------------------------- > -- > Time is money. Stop wasting it! Get your web API in 5 minutes. > www.restlet.com/download > http://p.sf.net/sfu/restlet > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > > ---------------------------------------------------------------------------- -- > Time is money. Stop wasting it! Get your web API in 5 minutes. > www.restlet.com/download > http://p.sf.net/sfu/restlet > > > > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > ---------------------------------------------------------------------------- -- Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet _______________________________________________ Ejbca-develop mailing list Ejb...@li... https://lists.sourceforge.net/lists/listinfo/ejbca-develop |
|
From: Marcus C. <mar...@ne...> - 2014-06-02 07:50:14
|
Hi Tomas, I have successfully set up EJBCA,(please attached) I am curious where can I get the enrolment codes, if I want to issue "Certificate enrollment from a CSR"? is it from the RA? can I use a third party or a EJBCA RA? is there a installation guide to deploy an RA to get the Enrollment code codes? I am new to this. Thanks Warmest Regards, Marcus Cher NETRUST PTE LTD 70 Bendemeer Road #05-03 Luzerne Singapore 339940 Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net Products from Netrust: SSL| Code Signing Certificates |2 Factor Authentication | Email Encryption | Hard Disk Encryption | File Encryption | NAM Singpass Authentication | Netrust Digital Signer | Personal and Organization Certificates -----Original Message----- From: Tomas Gustavsson [mailto:to...@pr...] Sent: Friday, 30 May, 2014 3:14 PM To: ejb...@li... Subject: Re: [Ejbca-develop] EJBCA ant instal fail All looks good there. Cheers, Tomas ********** PrimeKey Solutions AB Anderstorpsvägen 16, 171 54 Solna, Sweden Mob: +46 (0)707421096 Internet: www.primekey.se Twitter: twitter.com/primekeyPKI ********** On 2014-05-30 08:57, Marcus Cher wrote: > Hi Tomas, > I have re-install everything from scractch and I got 2 terminal message in > attached belong to jboss and ejbca. > > Is this normal or considered successfully deployed and installed ejbca?. I > have completed step 9 of > (http://www.ejbca.org/docs/installation.html#JBoss%205). > > Thanks alot for your advice. > > Warmest Regards, > Marcus Cher > > NETRUST PTE LTD > 70 Bendemeer Road #05-03 Luzerne Singapore 339940 > Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net > > Products from Netrust: > SSL| Code Signing Certificates |2 Factor Authentication | Email Encryption | > Hard Disk Encryption | File Encryption | NAM Singpass Authentication | > Netrust Digital Signer | Personal and Organization Certificates > > > -----Original Message----- > From: Tomas Gustavsson [mailto:to...@pr...] > Sent: Thursday, 29 May, 2014 9:36 PM > To: ejb...@li... > Subject: Re: [Ejbca-develop] EJBCA ant instal fail > > > If you are unexperienced I think you will have better luck going for the > Quick Install guide. > http://ejbca.org/docs/installation.html#Ubuntu%20quick%20start > > Adding MySQL to the mix will only make things more complicated for you. > > Are you sure the JBoss errors you get was not given before you run ant > install? Since your first message at ant install is "No EJB receiver > available" meaning there is no EJBCA on the server side. > > Perhaps you have errors during ant deploy? > > (note that you can not use a single core VM for installation as noted in > the quick start guide). > > You can also use the pre-installed virtual machine if you just want to > test things. > > /Tomas > > On 2014-05-29 15:10, Marcus Cher wrote: >> my jboss was running properly, something like >> 79 services running out of 200 services. >> after I uninstall i get this. >> I will be using this link to try again later. >> >> >> http://www.linux-tin.org/EJBCA+unter+Verwendung+von+MySQL >> >> it's in german , if I am not wrong, but it can be translated using >> google-translate. >> >> I am not sure if SQL is needed. >> because in the earlier installation attempt, I didn't install sql >> >> Thanks >> Warmest Regards, >> Marcus Cher >> >> NETRUST PTE LTD >> 70 Bendemeer Road #05-03 Luzerne Singapore 339940 >> Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net >> >> Products from Netrust: >> SSL| Code Signing Certificates |2 Factor Authentication | Email Encryption > | >> Hard Disk Encryption | File Encryption | NAM Singpass Authentication | >> Netrust Digital Signer | Personal and Organization Certificates >> >> -----Original Message----- >> From: Tomas Gustavsson [mailto:to...@pr...] >> Sent: Thursday, 29 May, 2014 9:00 PM >> To: ejb...@li... >> Subject: Re: [Ejbca-develop] EJBCA ant instal fail >> >> >> Your JBoss did to start properly. Before trying to run 'ant install' you >> need to check the JBoss starts ok. You probably have better describing >> error message much earlier in the jboss log. >> >> Cheers, >> Tomas >> >> On 2014-05-29 11:54, Marcus Cher wrote: >>> Hi EJBCA, >>> >>> I am using >>> >>> ejbca_ce_6_0_3 >>> >>> jboss-as-7.1.1.Final >>> >>> my Jboss was running, >>> >>> I tried to install using the command "ant install". >>> >>> _The Jboss errors are as below:_ >>> >>> 02:27:27,107 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) >>> JBAS015870: Deploy of deployment "ejbca.ear" was rolled back with >>> failure message {"JBAS014671: Failed services" => >>> {"jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"adminweb.war\" of >>> deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POS >> T_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"ejbca-ejb.jar\" >>> of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\". >> POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment >>> \"cesecore-ejb.jar\" of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\". >> POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment >>> \"ejbca-ws-ejb.jar\" of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POS >> T_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"publicweb.war\" >>> of deployment \"ejbca.ear\""}} >>> >>> 02:27:27,220 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment publicweb.war in 108ms >>> >>> 02:27:27,221 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment status.war in 109ms >>> >>> 02:27:27,222 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment webdist.war in 110ms >>> >>> 02:27:27,222 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment healthcheck.war in 111ms >>> >>> 02:27:27,223 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment cmp.war in 112ms >>> >>> 02:27:27,224 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment doc.war in 113ms >>> >>> 02:27:27,225 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment clearcache.war in 113ms >>> >>> 02:27:27,226 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment scep.war in 114ms >>> >>> 02:27:27,234 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-5) JBAS015877: Stopped deployment ejbca-ejb.jar in 122ms >>> >>> 02:27:27,234 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-2) JBAS015877: Stopped deployment cesecore-ejb.jar in 123ms >>> >>> 02:27:27,238 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-5) JBAS015877: Stopped deployment ejbca-ws-ejb.jar in 126ms >>> >>> 02:27:27,264 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-4) JBAS015877: Stopped deployment adminweb.war in 152ms >>> >>> 02:27:27,296 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-4) JBAS015877: Stopped deployment ejbca.ear in 185ms >>> >>> 02:27:27,301 INFO [org.jboss.as.controller] (DeploymentScanner-threads >>> - 2) JBAS014774: Service status report >>> >>> JBAS014775: New missing/unsatisfied dependencies: >>> >>> service jboss.naming.context.java.module.ejbca.adminweb (missing) >>> dependents: [service >>> jboss.naming.context.java.module.ejbca.adminweb.ValidatorFactory, >>> service jboss.naming.context.java.module.ejbca.adminweb.Validator] >>> >>> JBAS014777: Services which failed to start: service >>> jboss.deployment.subunit."ejbca.ear"."adminweb.war".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."adminweb.war".POST_MODULE: Failed >>> to process phase POST_MODULE of subdeployment "adminweb.war" of >>> deployment "ejbca.ear" >>> >>> service >>> jboss.deployment.subunit."ejbca.ear"."ejbca-ejb.jar".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."ejbca-ejb.jar".POST_MODULE: Failed >>> to process phase POST_MODULE of subdeployment "ejbca-ejb.jar" of >>> deployment "ejbca.ear" >>> >>> service >>> jboss.deployment.subunit."ejbca.ear"."cesecore-ejb.jar".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."cesecore-ejb.jar".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment "cesecore-ejb.jar" >>> of deployment "ejbca.ear" >>> >>> service >>> jboss.deployment.subunit."ejbca.ear"."ejbca-ws-ejb.jar".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."ejbca-ws-ejb.jar".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment "ejbca-ws-ejb.jar" >>> of deployment "ejbca.ear" >>> >>> service >>> jboss.deployment.subunit."ejbca.ear"."publicweb.war".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."publicweb.war".POST_MODULE: Failed >>> to process phase POST_MODULE of subdeployment "publicweb.war" of >>> deployment "ejbca.ear" >>> >>> 02:27:27,316 ERROR [org.jboss.as.server.deployment.scanner] >>> (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed >>> and was rolled back. Steps that failed:" => {"Operation step-2" => >>> {"JBAS014671: Failed services" => >>> {"jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"adminweb.war\" of >>> deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POS >> T_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"ejbca-ejb.jar\" >>> of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\". >> POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment >>> \"cesecore-ejb.jar\" of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\". >> POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment >>> \"ejbca-ws-ejb.jar\" of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POS >> T_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"publicweb.war\" >>> of deployment \"ejbca.ear\""}}}} >>> >>> _EJBCA errors below:_ >>> >>> ejbca:init: >>> >>> [echo] >>> >>> [echo] ------------------- CA Properties ---------------- >>> >>> [echo] ca.name : ManagementCA >>> >>> [echo] ca.dn : CN=ManagementCA,O=EJBCA > Sample,C=SE >>> >>> [echo] ca.tokentype : soft >>> >>> [echo] ca.keytype : RSA >>> >>> [echo] ca.keyspec : 2048 >>> >>> [echo] ca.signaturealgorithm : SHA1WithRSA >>> >>> [echo] ca.validity : 3650 >>> >>> [echo] ca.policy : null >>> >>> [echo] ca.tokenproperties : >>> >>> [echo] httpsserver.hostname : localhost >>> >>> [echo] httpsserver.dn : CN=localhost,O=EJBCA Sample,C=SE >>> >>> [echo] superadmin.cn : SuperAdmin >>> >>> [echo] superadmin.dn : CN=SuperAdmin >>> >>> [echo] superadmin.batch : true >>> >>> [echo] appserver.home : /home/marcus/jboss-as-7.1.1.Final >>> >>> [echo] >>> >>> ejbca:install: >>> >>> ejbca:initCA: >>> >>> [echo] Initializing CA with 'ManagementCA' >>> 'CN=ManagementCA,O=EJBCA Sample,C=SE' 'soft' <ca.tokenpassword hidden> >>> '2048' 'RSA' '3650' 'null' 'SHA1WithRSA' -superadmincn 'SuperAdmin'... >>> >>> [java] Could not run execute method for class ca >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@18e5a5f >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> org.ejbca.ui.cli.ca.CaInitCommand.execute(CaInitCommand.java:131) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> ejbca:adminweb: >>> >>> [java] Could not run execute method for class ra >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@1095fd3 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.ra.AddEndEntityCommand.execute(AddEndEntityCommand.java:79) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> [java] Could not run execute method for class ra >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@cb560b >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.ra.SetCleartextPasswordCommand.execute(SetCleartextPassword >> Command.java:45) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> [echo] batch tomcat >>> >>> [java] Could not run execute method for class null >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@1866a29 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> org.ejbca.ui.cli.batch.BatchMakeP12.execute(BatchMakeP12.java:91) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:67) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> [java] Could not run execute method for class ra >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@19613a1 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.ra.AddEndEntityCommand.execute(AddEndEntityCommand.java:79) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> [java] Could not run execute method for class ra >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@16c65a9 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.ra.SetCleartextPasswordCommand.execute(SetCleartextPassword >> Command.java:45) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> ejbca:batchsuperadmin: >>> >>> [echo] batch superadmin >>> >>> [java] Could not run execute method for class null >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@723a14 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> org.ejbca.ui.cli.batch.BatchMakeP12.execute(BatchMakeP12.java:91) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:67) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> BUILD FAILED >>> >>> /home/marcus/ejbca_ce_6_0_3/build.xml:60: The following error occurred >>> while executing this line: >>> >>> /home/marcus/ejbca_ce_6_0_3/build.xml:66: The following error occurred >>> while executing this line: >>> >>> /home/marcus/ejbca_ce_6_0_3/bin/cli.xml:96: The following error occurred >>> while executing this line: >>> >>> /home/marcus/ejbca_ce_6_0_3/bin/cli.xml:137: Batch generation failed! >>> >>> anyone encounter this before and how to solve this? I am stuck for days >>> >>> Thanks a lot. >>> >>> Warmest Regards, >>> >>> Marcus Cher >>> >>> *NETRUST PTE LTD* >>> >>> 70 Bendemeer Road #05-03 Luzerne Singapore 339940 >>> >>> Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net >>> <http://www.netrust.net/> >>> >>> *Products from Netrust:* >>> >>> SSL| Code Signing Certificates |2 Factor Authentication | Email >>> Encryption | Hard Disk Encryption | File Encryption | NAM Singpass >>> Authentication | Netrust Digital Signer | Personal and Organization >>> Certificates >>> >>> >>> >>> >> > ---------------------------------------------------------------------------- >> -- >>> Time is money. Stop wasting it! Get your web API in 5 minutes. >>> www.restlet.com/download >>> http://p.sf.net/sfu/restlet >>> >>> >>> >>> _______________________________________________ >>> Ejbca-develop mailing list >>> Ejb...@li... >>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>> >> >> > ---------------------------------------------------------------------------- >> -- >> Time is money. Stop wasting it! Get your web API in 5 minutes. >> www.restlet.com/download >> http://p.sf.net/sfu/restlet >> _______________________________________________ >> Ejbca-develop mailing list >> Ejb...@li... >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >> >> >> > ---------------------------------------------------------------------------- > -- >> Time is money. Stop wasting it! Get your web API in 5 minutes. >> www.restlet.com/download >> http://p.sf.net/sfu/restlet >> _______________________________________________ >> Ejbca-develop mailing list >> Ejb...@li... >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >> > > ---------------------------------------------------------------------------- > -- > Time is money. Stop wasting it! Get your web API in 5 minutes. > www.restlet.com/download > http://p.sf.net/sfu/restlet > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > > ---------------------------------------------------------------------------- -- > Time is money. Stop wasting it! Get your web API in 5 minutes. > www.restlet.com/download > http://p.sf.net/sfu/restlet > > > > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > ---------------------------------------------------------------------------- -- Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet _______________________________________________ Ejbca-develop mailing list Ejb...@li... https://lists.sourceforge.net/lists/listinfo/ejbca-develop |
|
From: SIMI M. P. S. <si...@di...> - 2014-05-30 18:19:44
|
Michael P. Schieferer schrieb am 30.05.2014 20:03
_____________________________________________________________________
Hi!
I want to install EJBCA 6.1.1 on a Raspberry Pi using Jboss 7 AS. The Application Server is up and running (provides samples work fine). But the "ant deploy" always fails in target "jee:deployServicesJBoss7" without a meaningful error message ("returned 1").
The JBoss error logs state an exception
18:45:38,309 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 3) JBAS014612: Operation ("composite") failed - address: ([]): java.lang.IllegalArgumentException
Has anyone yet successfully deployed EJBCA on a Raspberry Pi?
Thanks, Michael
Mit freundlichen Gr??en | Best Regards
Michael P. Schieferer
Stv. IT-Leitung
IT
Digital Elektronik Ges.m.b.H | Berchtesgadner Str. 10 | 5083 St. Leonhard / Salzburg | ?sterreich
phone: +43 (6246) 8966 - 617 | Mobil: +43 (664) 5464026 | Fax: +43 (6246) 8966 - 10
E-Mail: si...@di... | Web: http://www.digital-elektronik.com
Gesch?ftsf?hrer: Richard Auer | UID ATU34880803 | FN 66287g | DVR 0686778 | Gerichtsstand Salzburg
--
The information contained in this email is confidential. It is
intended solely for the addressee. Access to this email by anyone
else is unauthorized. If you are not the intended recipient, any form
of disclosure, reproduction, distribution or any action taken or
refrained from in reliance on it, is prohibited and my be unlawful.
Please notify the sender immediately. Any opinion containing is those
of the author and respresents not necesariliy the opinion of
Digital Elektronik Ges.m.b.H.
Neither Digital Elektronik Ges.m.b.H nor the sender (Michael P. Schieferer) take
responsibility for any viruses, although we check our mails with
up-to-date virus scanner. It is incumbent on your responsibility
to check the mail and its attachments.
Attachement(s)
Sent: 30.05.2014 20:03 by Michael P. Schieferer
|
|
From: Miguel A. R. <mar...@sa...> - 2014-05-30 12:16:41
|
Sorry, This email this post is not in this topic. Thanks, Miguel El 30/05/14 09:09, Miguel Angel Robledo escribió: > Tomas, > > The error is on the spanish translation of the menues on web > interface. For example, I see "Básicas" when the correct form is > "Básicas". > I attach a screen capture for reference. > > > > Thanks! > Regards, > > Miguel > > -- > Ing. Miguel Angel Robledo > Infraestructura de Firma Digital > Secretaría de Tecnologías para la Gestión > Ministerio de Gobierno y Reforma del Estado > Provincia de Santa Fe > San Martín 2466 3° Piso (S3000FSB) Santa Fe > +54 342 4508700/4574891 int 5132 > > El 15/04/14 13:15, Andreas Kuehne escribió: >> Hi Miguel, >>> I wish to run ejbca with a soft ca.tokentype to store keys . Is possible >>> then, in a short time, migrate these keys to hardware hsm? >> once you create the keys outside a HSM they must be considered unsecure >> forever! Importing into an HSM don't make them 'better' ... consider >> creating a new key pair once the HSM is installed. >> >> Greetings, >> >> Andreas >> > > > > ------------------------------------------------------------------------------ > Time is money. Stop wasting it! Get your web API in 5 minutes. > www.restlet.com/download > http://p.sf.net/sfu/restlet > > > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop -- Ing. Miguel Angel Robledo Infraestructura de Firma Digital Secretaría de Tecnologías para la Gestión Ministerio de Gobierno y Reforma del Estado Provincia de Santa Fe San Martín 2466 3° Piso (S3000FSB) Santa Fe +54 342 4508700/4574891 int 5132 |
|
From: Miguel A. R. <mar...@sa...> - 2014-05-30 12:14:27
|
Tomas, The error is on the spanish translation of the menues on web interface. For example, I see "Básicas" when the correct form is "Básicas". I attach a screen capture for reference. Thanks! Regards, Miguel -- Ing. Miguel Angel Robledo Infraestructura de Firma Digital Secretaría de Tecnologías para la Gestión Ministerio de Gobierno y Reforma del Estado Provincia de Santa Fe San Martín 2466 3° Piso (S3000FSB) Santa Fe +54 342 4508700/4574891 int 5132 El 28/05/14 10:19, Tomas Gustavsson escribió: > Where is your specific error, i.e. what are you doing? > > There is a known issue in 6.1.1 for the public web/UTF-8. > https://jira.primekey.se/browse/ECA-3514 > > Cheers, > Tomas > > On 2014-05-28 14:50, Miguel Angel Robledo wrote: >> Hi , >> >> I installed ejbca 6.1.1 on jboss 7.1.1 with mysql 5.5 and all encoding >> configuration is UTF8 and I use spanish language on the web interface >> but i have problem with character encoding because some character are >> wrong represented. >> >> I have locale system on UTF8, mysql database and tables is >> utf8_general_ci and i config web.contentencoding=UTF-8 on web.properties >> and >> database.url=jdbc:mysql://127.0.0.1:3306/ejbca_db?characterEncoding=UTF-8 on >> database.properties . >> >> What is my configuration's error? Can any help me? >> >> Thanking You ! >> Regards , >> >> Miguel >> >> >> >> ------------------------------------------------------------------------------ >> Time is money. Stop wasting it! Get your web API in 5 minutes. >> www.restlet.com/download >> http://p.sf.net/sfu/restlet >> >> >> >> _______________________________________________ >> Ejbca-develop mailing list >> Ejb...@li... >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >> > ------------------------------------------------------------------------------ > Time is money. Stop wasting it! Get your web API in 5 minutes. > www.restlet.com/download > http://p.sf.net/sfu/restlet > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop -- Ing. Miguel Angel Robledo Infraestructura de Firma Digital Secretaría de Tecnologías para la Gestión Ministerio de Gobierno y Reforma del Estado Provincia de Santa Fe San Martín 2466 3° Piso (S3000FSB) Santa Fe +54 342 4508700/4574891 int 5132 |
|
From: Miguel A. R. <mar...@sa...> - 2014-05-30 12:09:55
|
Tomas, The error is on the spanish translation of the menues on web interface. For example, I see "Básicas" when the correct form is "Básicas". I attach a screen capture for reference. Thanks! Regards, Miguel -- Ing. Miguel Angel Robledo Infraestructura de Firma Digital Secretaría de Tecnologías para la Gestión Ministerio de Gobierno y Reforma del Estado Provincia de Santa Fe San Martín 2466 3° Piso (S3000FSB) Santa Fe +54 342 4508700/4574891 int 5132 El 15/04/14 13:15, Andreas Kuehne escribió: > Hi Miguel, >> I wish to run ejbca with a soft ca.tokentype to store keys . Is possible >> then, in a short time, migrate these keys to hardware hsm? > once you create the keys outside a HSM they must be considered unsecure > forever! Importing into an HSM don't make them 'better' ... consider > creating a new key pair once the HSM is installed. > > Greetings, > > Andreas > |
|
From: Tomas G. <to...@pr...> - 2014-05-30 07:14:00
|
All looks good there. Cheers, Tomas ********** PrimeKey Solutions AB Anderstorpsvägen 16, 171 54 Solna, Sweden Mob: +46 (0)707421096 Internet: www.primekey.se Twitter: twitter.com/primekeyPKI ********** On 2014-05-30 08:57, Marcus Cher wrote: > Hi Tomas, > I have re-install everything from scractch and I got 2 terminal message in > attached belong to jboss and ejbca. > > Is this normal or considered successfully deployed and installed ejbca?. I > have completed step 9 of > (http://www.ejbca.org/docs/installation.html#JBoss%205). > > Thanks alot for your advice. > > Warmest Regards, > Marcus Cher > > NETRUST PTE LTD > 70 Bendemeer Road #05-03 Luzerne Singapore 339940 > Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net > > Products from Netrust: > SSL| Code Signing Certificates |2 Factor Authentication | Email Encryption | > Hard Disk Encryption | File Encryption | NAM Singpass Authentication | > Netrust Digital Signer | Personal and Organization Certificates > > > -----Original Message----- > From: Tomas Gustavsson [mailto:to...@pr...] > Sent: Thursday, 29 May, 2014 9:36 PM > To: ejb...@li... > Subject: Re: [Ejbca-develop] EJBCA ant instal fail > > > If you are unexperienced I think you will have better luck going for the > Quick Install guide. > http://ejbca.org/docs/installation.html#Ubuntu%20quick%20start > > Adding MySQL to the mix will only make things more complicated for you. > > Are you sure the JBoss errors you get was not given before you run ant > install? Since your first message at ant install is "No EJB receiver > available" meaning there is no EJBCA on the server side. > > Perhaps you have errors during ant deploy? > > (note that you can not use a single core VM for installation as noted in > the quick start guide). > > You can also use the pre-installed virtual machine if you just want to > test things. > > /Tomas > > On 2014-05-29 15:10, Marcus Cher wrote: >> my jboss was running properly, something like >> 79 services running out of 200 services. >> after I uninstall i get this. >> I will be using this link to try again later. >> >> >> http://www.linux-tin.org/EJBCA+unter+Verwendung+von+MySQL >> >> it's in german , if I am not wrong, but it can be translated using >> google-translate. >> >> I am not sure if SQL is needed. >> because in the earlier installation attempt, I didn't install sql >> >> Thanks >> Warmest Regards, >> Marcus Cher >> >> NETRUST PTE LTD >> 70 Bendemeer Road #05-03 Luzerne Singapore 339940 >> Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net >> >> Products from Netrust: >> SSL| Code Signing Certificates |2 Factor Authentication | Email Encryption > | >> Hard Disk Encryption | File Encryption | NAM Singpass Authentication | >> Netrust Digital Signer | Personal and Organization Certificates >> >> -----Original Message----- >> From: Tomas Gustavsson [mailto:to...@pr...] >> Sent: Thursday, 29 May, 2014 9:00 PM >> To: ejb...@li... >> Subject: Re: [Ejbca-develop] EJBCA ant instal fail >> >> >> Your JBoss did to start properly. Before trying to run 'ant install' you >> need to check the JBoss starts ok. You probably have better describing >> error message much earlier in the jboss log. >> >> Cheers, >> Tomas >> >> On 2014-05-29 11:54, Marcus Cher wrote: >>> Hi EJBCA, >>> >>> I am using >>> >>> ejbca_ce_6_0_3 >>> >>> jboss-as-7.1.1.Final >>> >>> my Jboss was running, >>> >>> I tried to install using the command "ant install". >>> >>> _The Jboss errors are as below:_ >>> >>> 02:27:27,107 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) >>> JBAS015870: Deploy of deployment "ejbca.ear" was rolled back with >>> failure message {"JBAS014671: Failed services" => >>> {"jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"adminweb.war\" of >>> deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POS >> T_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"ejbca-ejb.jar\" >>> of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\". >> POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment >>> \"cesecore-ejb.jar\" of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\". >> POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment >>> \"ejbca-ws-ejb.jar\" of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POS >> T_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"publicweb.war\" >>> of deployment \"ejbca.ear\""}} >>> >>> 02:27:27,220 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment publicweb.war in 108ms >>> >>> 02:27:27,221 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment status.war in 109ms >>> >>> 02:27:27,222 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment webdist.war in 110ms >>> >>> 02:27:27,222 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment healthcheck.war in 111ms >>> >>> 02:27:27,223 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment cmp.war in 112ms >>> >>> 02:27:27,224 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment doc.war in 113ms >>> >>> 02:27:27,225 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment clearcache.war in 113ms >>> >>> 02:27:27,226 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment scep.war in 114ms >>> >>> 02:27:27,234 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-5) JBAS015877: Stopped deployment ejbca-ejb.jar in 122ms >>> >>> 02:27:27,234 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-2) JBAS015877: Stopped deployment cesecore-ejb.jar in 123ms >>> >>> 02:27:27,238 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-5) JBAS015877: Stopped deployment ejbca-ws-ejb.jar in 126ms >>> >>> 02:27:27,264 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-4) JBAS015877: Stopped deployment adminweb.war in 152ms >>> >>> 02:27:27,296 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-4) JBAS015877: Stopped deployment ejbca.ear in 185ms >>> >>> 02:27:27,301 INFO [org.jboss.as.controller] (DeploymentScanner-threads >>> - 2) JBAS014774: Service status report >>> >>> JBAS014775: New missing/unsatisfied dependencies: >>> >>> service jboss.naming.context.java.module.ejbca.adminweb (missing) >>> dependents: [service >>> jboss.naming.context.java.module.ejbca.adminweb.ValidatorFactory, >>> service jboss.naming.context.java.module.ejbca.adminweb.Validator] >>> >>> JBAS014777: Services which failed to start: service >>> jboss.deployment.subunit."ejbca.ear"."adminweb.war".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."adminweb.war".POST_MODULE: Failed >>> to process phase POST_MODULE of subdeployment "adminweb.war" of >>> deployment "ejbca.ear" >>> >>> service >>> jboss.deployment.subunit."ejbca.ear"."ejbca-ejb.jar".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."ejbca-ejb.jar".POST_MODULE: Failed >>> to process phase POST_MODULE of subdeployment "ejbca-ejb.jar" of >>> deployment "ejbca.ear" >>> >>> service >>> jboss.deployment.subunit."ejbca.ear"."cesecore-ejb.jar".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."cesecore-ejb.jar".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment "cesecore-ejb.jar" >>> of deployment "ejbca.ear" >>> >>> service >>> jboss.deployment.subunit."ejbca.ear"."ejbca-ws-ejb.jar".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."ejbca-ws-ejb.jar".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment "ejbca-ws-ejb.jar" >>> of deployment "ejbca.ear" >>> >>> service >>> jboss.deployment.subunit."ejbca.ear"."publicweb.war".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."publicweb.war".POST_MODULE: Failed >>> to process phase POST_MODULE of subdeployment "publicweb.war" of >>> deployment "ejbca.ear" >>> >>> 02:27:27,316 ERROR [org.jboss.as.server.deployment.scanner] >>> (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed >>> and was rolled back. Steps that failed:" => {"Operation step-2" => >>> {"JBAS014671: Failed services" => >>> {"jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"adminweb.war\" of >>> deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POS >> T_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"ejbca-ejb.jar\" >>> of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\". >> POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment >>> \"cesecore-ejb.jar\" of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\". >> POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment >>> \"ejbca-ws-ejb.jar\" of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POS >> T_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"publicweb.war\" >>> of deployment \"ejbca.ear\""}}}} >>> >>> _EJBCA errors below:_ >>> >>> ejbca:init: >>> >>> [echo] >>> >>> [echo] ------------------- CA Properties ---------------- >>> >>> [echo] ca.name : ManagementCA >>> >>> [echo] ca.dn : CN=ManagementCA,O=EJBCA > Sample,C=SE >>> >>> [echo] ca.tokentype : soft >>> >>> [echo] ca.keytype : RSA >>> >>> [echo] ca.keyspec : 2048 >>> >>> [echo] ca.signaturealgorithm : SHA1WithRSA >>> >>> [echo] ca.validity : 3650 >>> >>> [echo] ca.policy : null >>> >>> [echo] ca.tokenproperties : >>> >>> [echo] httpsserver.hostname : localhost >>> >>> [echo] httpsserver.dn : CN=localhost,O=EJBCA Sample,C=SE >>> >>> [echo] superadmin.cn : SuperAdmin >>> >>> [echo] superadmin.dn : CN=SuperAdmin >>> >>> [echo] superadmin.batch : true >>> >>> [echo] appserver.home : /home/marcus/jboss-as-7.1.1.Final >>> >>> [echo] >>> >>> ejbca:install: >>> >>> ejbca:initCA: >>> >>> [echo] Initializing CA with 'ManagementCA' >>> 'CN=ManagementCA,O=EJBCA Sample,C=SE' 'soft' <ca.tokenpassword hidden> >>> '2048' 'RSA' '3650' 'null' 'SHA1WithRSA' -superadmincn 'SuperAdmin'... >>> >>> [java] Could not run execute method for class ca >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@18e5a5f >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> org.ejbca.ui.cli.ca.CaInitCommand.execute(CaInitCommand.java:131) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> ejbca:adminweb: >>> >>> [java] Could not run execute method for class ra >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@1095fd3 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.ra.AddEndEntityCommand.execute(AddEndEntityCommand.java:79) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> [java] Could not run execute method for class ra >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@cb560b >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.ra.SetCleartextPasswordCommand.execute(SetCleartextPassword >> Command.java:45) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> [echo] batch tomcat >>> >>> [java] Could not run execute method for class null >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@1866a29 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> org.ejbca.ui.cli.batch.BatchMakeP12.execute(BatchMakeP12.java:91) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:67) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> [java] Could not run execute method for class ra >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@19613a1 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.ra.AddEndEntityCommand.execute(AddEndEntityCommand.java:79) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> [java] Could not run execute method for class ra >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@16c65a9 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.ra.SetCleartextPasswordCommand.execute(SetCleartextPassword >> Command.java:45) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> ejbca:batchsuperadmin: >>> >>> [echo] batch superadmin >>> >>> [java] Could not run execute method for class null >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@723a14 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> org.ejbca.ui.cli.batch.BatchMakeP12.execute(BatchMakeP12.java:91) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:67) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> BUILD FAILED >>> >>> /home/marcus/ejbca_ce_6_0_3/build.xml:60: The following error occurred >>> while executing this line: >>> >>> /home/marcus/ejbca_ce_6_0_3/build.xml:66: The following error occurred >>> while executing this line: >>> >>> /home/marcus/ejbca_ce_6_0_3/bin/cli.xml:96: The following error occurred >>> while executing this line: >>> >>> /home/marcus/ejbca_ce_6_0_3/bin/cli.xml:137: Batch generation failed! >>> >>> anyone encounter this before and how to solve this? I am stuck for days >>> >>> Thanks a lot. >>> >>> Warmest Regards, >>> >>> Marcus Cher >>> >>> *NETRUST PTE LTD* >>> >>> 70 Bendemeer Road #05-03 Luzerne Singapore 339940 >>> >>> Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net >>> <http://www.netrust.net/> >>> >>> *Products from Netrust:* >>> >>> SSL| Code Signing Certificates |2 Factor Authentication | Email >>> Encryption | Hard Disk Encryption | File Encryption | NAM Singpass >>> Authentication | Netrust Digital Signer | Personal and Organization >>> Certificates >>> >>> >>> >>> >> > ---------------------------------------------------------------------------- >> -- >>> Time is money. Stop wasting it! Get your web API in 5 minutes. >>> www.restlet.com/download >>> http://p.sf.net/sfu/restlet >>> >>> >>> >>> _______________________________________________ >>> Ejbca-develop mailing list >>> Ejb...@li... >>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>> >> >> > ---------------------------------------------------------------------------- >> -- >> Time is money. Stop wasting it! Get your web API in 5 minutes. >> www.restlet.com/download >> http://p.sf.net/sfu/restlet >> _______________________________________________ >> Ejbca-develop mailing list >> Ejb...@li... >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >> >> >> > ---------------------------------------------------------------------------- > -- >> Time is money. Stop wasting it! Get your web API in 5 minutes. >> www.restlet.com/download >> http://p.sf.net/sfu/restlet >> _______________________________________________ >> Ejbca-develop mailing list >> Ejb...@li... >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >> > > ---------------------------------------------------------------------------- > -- > Time is money. Stop wasting it! Get your web API in 5 minutes. > www.restlet.com/download > http://p.sf.net/sfu/restlet > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > > ------------------------------------------------------------------------------ > Time is money. Stop wasting it! Get your web API in 5 minutes. > www.restlet.com/download > http://p.sf.net/sfu/restlet > > > > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > |
|
From: Marcus C. <mar...@ne...> - 2014-05-30 06:57:23
|
Hi Tomas, I have re-install everything from scractch and I got 2 terminal message in attached belong to jboss and ejbca. Is this normal or considered successfully deployed and installed ejbca?. I have completed step 9 of (http://www.ejbca.org/docs/installation.html#JBoss%205). Thanks alot for your advice. Warmest Regards, Marcus Cher NETRUST PTE LTD 70 Bendemeer Road #05-03 Luzerne Singapore 339940 Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net Products from Netrust: SSL| Code Signing Certificates |2 Factor Authentication | Email Encryption | Hard Disk Encryption | File Encryption | NAM Singpass Authentication | Netrust Digital Signer | Personal and Organization Certificates -----Original Message----- From: Tomas Gustavsson [mailto:to...@pr...] Sent: Thursday, 29 May, 2014 9:36 PM To: ejb...@li... Subject: Re: [Ejbca-develop] EJBCA ant instal fail If you are unexperienced I think you will have better luck going for the Quick Install guide. http://ejbca.org/docs/installation.html#Ubuntu%20quick%20start Adding MySQL to the mix will only make things more complicated for you. Are you sure the JBoss errors you get was not given before you run ant install? Since your first message at ant install is "No EJB receiver available" meaning there is no EJBCA on the server side. Perhaps you have errors during ant deploy? (note that you can not use a single core VM for installation as noted in the quick start guide). You can also use the pre-installed virtual machine if you just want to test things. /Tomas On 2014-05-29 15:10, Marcus Cher wrote: > my jboss was running properly, something like > 79 services running out of 200 services. > after I uninstall i get this. > I will be using this link to try again later. > > > http://www.linux-tin.org/EJBCA+unter+Verwendung+von+MySQL > > it's in german , if I am not wrong, but it can be translated using > google-translate. > > I am not sure if SQL is needed. > because in the earlier installation attempt, I didn't install sql > > Thanks > Warmest Regards, > Marcus Cher > > NETRUST PTE LTD > 70 Bendemeer Road #05-03 Luzerne Singapore 339940 > Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net > > Products from Netrust: > SSL| Code Signing Certificates |2 Factor Authentication | Email Encryption | > Hard Disk Encryption | File Encryption | NAM Singpass Authentication | > Netrust Digital Signer | Personal and Organization Certificates > > -----Original Message----- > From: Tomas Gustavsson [mailto:to...@pr...] > Sent: Thursday, 29 May, 2014 9:00 PM > To: ejb...@li... > Subject: Re: [Ejbca-develop] EJBCA ant instal fail > > > Your JBoss did to start properly. Before trying to run 'ant install' you > need to check the JBoss starts ok. You probably have better describing > error message much earlier in the jboss log. > > Cheers, > Tomas > > On 2014-05-29 11:54, Marcus Cher wrote: >> Hi EJBCA, >> >> I am using >> >> ejbca_ce_6_0_3 >> >> jboss-as-7.1.1.Final >> >> my Jboss was running, >> >> I tried to install using the command "ant install". >> >> _The Jboss errors are as below:_ >> >> 02:27:27,107 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) >> JBAS015870: Deploy of deployment "ejbca.ear" was rolled back with >> failure message {"JBAS014671: Failed services" => >> {"jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE" >> => "org.jboss.msc.service.StartException in service >> jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE: >> Failed to process phase POST_MODULE of subdeployment \"adminweb.war\" of >> deployment >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POS > T_MODULE" >> => "org.jboss.msc.service.StartException in service >> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POST_MODULE: >> Failed to process phase POST_MODULE of subdeployment \"ejbca-ejb.jar\" >> of deployment >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\". > POST_MODULE" >> => "org.jboss.msc.service.StartException in service >> jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\".POST_MODULE: >> Failed to process phase POST_MODULE of subdeployment >> \"cesecore-ejb.jar\" of deployment >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\". > POST_MODULE" >> => "org.jboss.msc.service.StartException in service >> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\".POST_MODULE: >> Failed to process phase POST_MODULE of subdeployment >> \"ejbca-ws-ejb.jar\" of deployment >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POS > T_MODULE" >> => "org.jboss.msc.service.StartException in service >> jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POST_MODULE: >> Failed to process phase POST_MODULE of subdeployment \"publicweb.war\" >> of deployment \"ejbca.ear\""}} >> >> 02:27:27,220 INFO [org.jboss.as.server.deployment] (MSC service thread >> 1-1) JBAS015877: Stopped deployment publicweb.war in 108ms >> >> 02:27:27,221 INFO [org.jboss.as.server.deployment] (MSC service thread >> 1-1) JBAS015877: Stopped deployment status.war in 109ms >> >> 02:27:27,222 INFO [org.jboss.as.server.deployment] (MSC service thread >> 1-1) JBAS015877: Stopped deployment webdist.war in 110ms >> >> 02:27:27,222 INFO [org.jboss.as.server.deployment] (MSC service thread >> 1-1) JBAS015877: Stopped deployment healthcheck.war in 111ms >> >> 02:27:27,223 INFO [org.jboss.as.server.deployment] (MSC service thread >> 1-1) JBAS015877: Stopped deployment cmp.war in 112ms >> >> 02:27:27,224 INFO [org.jboss.as.server.deployment] (MSC service thread >> 1-1) JBAS015877: Stopped deployment doc.war in 113ms >> >> 02:27:27,225 INFO [org.jboss.as.server.deployment] (MSC service thread >> 1-1) JBAS015877: Stopped deployment clearcache.war in 113ms >> >> 02:27:27,226 INFO [org.jboss.as.server.deployment] (MSC service thread >> 1-1) JBAS015877: Stopped deployment scep.war in 114ms >> >> 02:27:27,234 INFO [org.jboss.as.server.deployment] (MSC service thread >> 1-5) JBAS015877: Stopped deployment ejbca-ejb.jar in 122ms >> >> 02:27:27,234 INFO [org.jboss.as.server.deployment] (MSC service thread >> 1-2) JBAS015877: Stopped deployment cesecore-ejb.jar in 123ms >> >> 02:27:27,238 INFO [org.jboss.as.server.deployment] (MSC service thread >> 1-5) JBAS015877: Stopped deployment ejbca-ws-ejb.jar in 126ms >> >> 02:27:27,264 INFO [org.jboss.as.server.deployment] (MSC service thread >> 1-4) JBAS015877: Stopped deployment adminweb.war in 152ms >> >> 02:27:27,296 INFO [org.jboss.as.server.deployment] (MSC service thread >> 1-4) JBAS015877: Stopped deployment ejbca.ear in 185ms >> >> 02:27:27,301 INFO [org.jboss.as.controller] (DeploymentScanner-threads >> - 2) JBAS014774: Service status report >> >> JBAS014775: New missing/unsatisfied dependencies: >> >> service jboss.naming.context.java.module.ejbca.adminweb (missing) >> dependents: [service >> jboss.naming.context.java.module.ejbca.adminweb.ValidatorFactory, >> service jboss.naming.context.java.module.ejbca.adminweb.Validator] >> >> JBAS014777: Services which failed to start: service >> jboss.deployment.subunit."ejbca.ear"."adminweb.war".POST_MODULE: >> org.jboss.msc.service.StartException in service >> jboss.deployment.subunit."ejbca.ear"."adminweb.war".POST_MODULE: Failed >> to process phase POST_MODULE of subdeployment "adminweb.war" of >> deployment "ejbca.ear" >> >> service >> jboss.deployment.subunit."ejbca.ear"."ejbca-ejb.jar".POST_MODULE: >> org.jboss.msc.service.StartException in service >> jboss.deployment.subunit."ejbca.ear"."ejbca-ejb.jar".POST_MODULE: Failed >> to process phase POST_MODULE of subdeployment "ejbca-ejb.jar" of >> deployment "ejbca.ear" >> >> service >> jboss.deployment.subunit."ejbca.ear"."cesecore-ejb.jar".POST_MODULE: >> org.jboss.msc.service.StartException in service >> jboss.deployment.subunit."ejbca.ear"."cesecore-ejb.jar".POST_MODULE: >> Failed to process phase POST_MODULE of subdeployment "cesecore-ejb.jar" >> of deployment "ejbca.ear" >> >> service >> jboss.deployment.subunit."ejbca.ear"."ejbca-ws-ejb.jar".POST_MODULE: >> org.jboss.msc.service.StartException in service >> jboss.deployment.subunit."ejbca.ear"."ejbca-ws-ejb.jar".POST_MODULE: >> Failed to process phase POST_MODULE of subdeployment "ejbca-ws-ejb.jar" >> of deployment "ejbca.ear" >> >> service >> jboss.deployment.subunit."ejbca.ear"."publicweb.war".POST_MODULE: >> org.jboss.msc.service.StartException in service >> jboss.deployment.subunit."ejbca.ear"."publicweb.war".POST_MODULE: Failed >> to process phase POST_MODULE of subdeployment "publicweb.war" of >> deployment "ejbca.ear" >> >> 02:27:27,316 ERROR [org.jboss.as.server.deployment.scanner] >> (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed >> and was rolled back. Steps that failed:" => {"Operation step-2" => >> {"JBAS014671: Failed services" => >> {"jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE" >> => "org.jboss.msc.service.StartException in service >> jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE: >> Failed to process phase POST_MODULE of subdeployment \"adminweb.war\" of >> deployment >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POS > T_MODULE" >> => "org.jboss.msc.service.StartException in service >> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POST_MODULE: >> Failed to process phase POST_MODULE of subdeployment \"ejbca-ejb.jar\" >> of deployment >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\". > POST_MODULE" >> => "org.jboss.msc.service.StartException in service >> jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\".POST_MODULE: >> Failed to process phase POST_MODULE of subdeployment >> \"cesecore-ejb.jar\" of deployment >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\". > POST_MODULE" >> => "org.jboss.msc.service.StartException in service >> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\".POST_MODULE: >> Failed to process phase POST_MODULE of subdeployment >> \"ejbca-ws-ejb.jar\" of deployment >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POS > T_MODULE" >> => "org.jboss.msc.service.StartException in service >> jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POST_MODULE: >> Failed to process phase POST_MODULE of subdeployment \"publicweb.war\" >> of deployment \"ejbca.ear\""}}}} >> >> _EJBCA errors below:_ >> >> ejbca:init: >> >> [echo] >> >> [echo] ------------------- CA Properties ---------------- >> >> [echo] ca.name : ManagementCA >> >> [echo] ca.dn : CN=ManagementCA,O=EJBCA Sample,C=SE >> >> [echo] ca.tokentype : soft >> >> [echo] ca.keytype : RSA >> >> [echo] ca.keyspec : 2048 >> >> [echo] ca.signaturealgorithm : SHA1WithRSA >> >> [echo] ca.validity : 3650 >> >> [echo] ca.policy : null >> >> [echo] ca.tokenproperties : >> >> [echo] httpsserver.hostname : localhost >> >> [echo] httpsserver.dn : CN=localhost,O=EJBCA Sample,C=SE >> >> [echo] superadmin.cn : SuperAdmin >> >> [echo] superadmin.dn : CN=SuperAdmin >> >> [echo] superadmin.batch : true >> >> [echo] appserver.home : /home/marcus/jboss-as-7.1.1.Final >> >> [echo] >> >> ejbca:install: >> >> ejbca:initCA: >> >> [echo] Initializing CA with 'ManagementCA' >> 'CN=ManagementCA,O=EJBCA Sample,C=SE' 'soft' <ca.tokenpassword hidden> >> '2048' 'RSA' '3650' 'null' 'SHA1WithRSA' -superadmincn 'SuperAdmin'... >> >> [java] Could not run execute method for class ca >> >> [java] java.lang.IllegalStateException: No EJB receiver available >> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >> combination for invocation context >> org.jboss.ejb.client.EJBClientInvocationContext@18e5a5f >> >> [java] at >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja > va:584) >> >> [java] at >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto > r.java:119) >> >> [java] at >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat > ionContext.java:181) >> >> [java] at >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java > :136) >> >> [java] at >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java > :121) >> >> [java] at >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 > 04) >> >> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >> Source) >> >> [java] at >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja > va:123) >> >> [java] at >> org.ejbca.ui.cli.ca.CaInitCommand.execute(CaInitCommand.java:131) >> >> [java] at >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >> >> [java] at >> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >> >> [java] at org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >> >> [java] Java Result: 1 >> >> ejbca:adminweb: >> >> [java] Could not run execute method for class ra >> >> [java] java.lang.IllegalStateException: No EJB receiver available >> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >> combination for invocation context >> org.jboss.ejb.client.EJBClientInvocationContext@1095fd3 >> >> [java] at >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja > va:584) >> >> [java] at >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto > r.java:119) >> >> [java] at >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat > ionContext.java:181) >> >> [java] at >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java > :136) >> >> [java] at >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java > :121) >> >> [java] at >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 > 04) >> >> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >> Source) >> >> [java] at >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja > va:123) >> >> [java] at >> > org.ejbca.ui.cli.ra.AddEndEntityCommand.execute(AddEndEntityCommand.java:79) >> >> [java] at >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >> >> [java] at >> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >> >> [java] at org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >> >> [java] Java Result: 1 >> >> [java] Could not run execute method for class ra >> >> [java] java.lang.IllegalStateException: No EJB receiver available >> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >> combination for invocation context >> org.jboss.ejb.client.EJBClientInvocationContext@cb560b >> >> [java] at >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja > va:584) >> >> [java] at >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto > r.java:119) >> >> [java] at >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat > ionContext.java:181) >> >> [java] at >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java > :136) >> >> [java] at >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java > :121) >> >> [java] at >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 > 04) >> >> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >> Source) >> >> [java] at >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja > va:123) >> >> [java] at >> > org.ejbca.ui.cli.ra.SetCleartextPasswordCommand.execute(SetCleartextPassword > Command.java:45) >> >> [java] at >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >> >> [java] at >> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >> >> [java] at org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >> >> [java] Java Result: 1 >> >> [echo] batch tomcat >> >> [java] Could not run execute method for class null >> >> [java] java.lang.IllegalStateException: No EJB receiver available >> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >> combination for invocation context >> org.jboss.ejb.client.EJBClientInvocationContext@1866a29 >> >> [java] at >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja > va:584) >> >> [java] at >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto > r.java:119) >> >> [java] at >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat > ionContext.java:181) >> >> [java] at >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java > :136) >> >> [java] at >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java > :121) >> >> [java] at >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 > 04) >> >> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >> Source) >> >> [java] at >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja > va:123) >> >> [java] at >> org.ejbca.ui.cli.batch.BatchMakeP12.execute(BatchMakeP12.java:91) >> >> [java] at >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >> >> [java] at >> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:67) >> >> [java] at org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >> >> [java] Java Result: 1 >> >> [java] Could not run execute method for class ra >> >> [java] java.lang.IllegalStateException: No EJB receiver available >> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >> combination for invocation context >> org.jboss.ejb.client.EJBClientInvocationContext@19613a1 >> >> [java] at >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja > va:584) >> >> [java] at >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto > r.java:119) >> >> [java] at >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat > ionContext.java:181) >> >> [java] at >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java > :136) >> >> [java] at >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java > :121) >> >> [java] at >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 > 04) >> >> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >> Source) >> >> [java] at >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja > va:123) >> >> [java] at >> > org.ejbca.ui.cli.ra.AddEndEntityCommand.execute(AddEndEntityCommand.java:79) >> >> [java] at >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >> >> [java] at >> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >> >> [java] at org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >> >> [java] Java Result: 1 >> >> [java] Could not run execute method for class ra >> >> [java] java.lang.IllegalStateException: No EJB receiver available >> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >> combination for invocation context >> org.jboss.ejb.client.EJBClientInvocationContext@16c65a9 >> >> [java] at >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja > va:584) >> >> [java] at >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto > r.java:119) >> >> [java] at >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat > ionContext.java:181) >> >> [java] at >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java > :136) >> >> [java] at >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java > :121) >> >> [java] at >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 > 04) >> >> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >> Source) >> >> [java] at >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja > va:123) >> >> [java] at >> > org.ejbca.ui.cli.ra.SetCleartextPasswordCommand.execute(SetCleartextPassword > Command.java:45) >> >> [java] at >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >> >> [java] at >> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >> >> [java] at org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >> >> [java] Java Result: 1 >> >> ejbca:batchsuperadmin: >> >> [echo] batch superadmin >> >> [java] Could not run execute method for class null >> >> [java] java.lang.IllegalStateException: No EJB receiver available >> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >> combination for invocation context >> org.jboss.ejb.client.EJBClientInvocationContext@723a14 >> >> [java] at >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja > va:584) >> >> [java] at >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto > r.java:119) >> >> [java] at >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat > ionContext.java:181) >> >> [java] at >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java > :136) >> >> [java] at >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java > :121) >> >> [java] at >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 > 04) >> >> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >> Source) >> >> [java] at >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja > va:123) >> >> [java] at >> org.ejbca.ui.cli.batch.BatchMakeP12.execute(BatchMakeP12.java:91) >> >> [java] at >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >> >> [java] at >> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:67) >> >> [java] at org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >> >> [java] Java Result: 1 >> >> BUILD FAILED >> >> /home/marcus/ejbca_ce_6_0_3/build.xml:60: The following error occurred >> while executing this line: >> >> /home/marcus/ejbca_ce_6_0_3/build.xml:66: The following error occurred >> while executing this line: >> >> /home/marcus/ejbca_ce_6_0_3/bin/cli.xml:96: The following error occurred >> while executing this line: >> >> /home/marcus/ejbca_ce_6_0_3/bin/cli.xml:137: Batch generation failed! >> >> anyone encounter this before and how to solve this? I am stuck for days >> >> Thanks a lot. >> >> Warmest Regards, >> >> Marcus Cher >> >> *NETRUST PTE LTD* >> >> 70 Bendemeer Road #05-03 Luzerne Singapore 339940 >> >> Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net >> <http://www.netrust.net/> >> >> *Products from Netrust:* >> >> SSL| Code Signing Certificates |2 Factor Authentication | Email >> Encryption | Hard Disk Encryption | File Encryption | NAM Singpass >> Authentication | Netrust Digital Signer | Personal and Organization >> Certificates >> >> >> >> > ---------------------------------------------------------------------------- > -- >> Time is money. Stop wasting it! Get your web API in 5 minutes. >> www.restlet.com/download >> http://p.sf.net/sfu/restlet >> >> >> >> _______________________________________________ >> Ejbca-develop mailing list >> Ejb...@li... >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >> > > ---------------------------------------------------------------------------- > -- > Time is money. Stop wasting it! Get your web API in 5 minutes. > www.restlet.com/download > http://p.sf.net/sfu/restlet > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > ---------------------------------------------------------------------------- -- > Time is money. Stop wasting it! Get your web API in 5 minutes. > www.restlet.com/download > http://p.sf.net/sfu/restlet > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > ---------------------------------------------------------------------------- -- Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet _______________________________________________ Ejbca-develop mailing list Ejb...@li... https://lists.sourceforge.net/lists/listinfo/ejbca-develop |