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: Marcos F. <mar...@ho...> - 2012-11-22 19:00:27
|
Enviado do Email do Windows
De: Marcos Paulo Fontana
Enviado: 22 de novembro de 2012 16:57
Para: mar...@ho...
Assunto: ejb...@li...
Hi,
When I’m trying to create a certificate directly on the main in java, like following code, I can do it normaly, the user and certificate are created well.
public static void main(String[] args) throws InvalidKeyException, NoSuchAlgorithmException, NoSuchProviderException, SignatureException, InvalidAlgorithmParameterException, SecurityException, IOException, CertificateEncodingException {
Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
CertificateRequestSession teste = InterfaceCache.getCertficateRequestSession();
Admin admin = new Admin(Admin.TYPE_CACOMMANDLINE_USER);
UserDataVO userdata = new UserDataVO();
String username = "yMariano";
String password = "a1b2c3";
String DN = "E=y...@ho...,CN=Yara mariano, OU=Administrativo,O=IFSP,L=Piracaia,C=BR";
int caid = 1963139164;
String email = "yar...@ho...";
userdata.setUsername(username);
userdata.setPassword(password);
userdata.setDN(DN);
userdata.setCAId(caid);
userdata.setEmail(email);
userdata.setType(SecConst.USER_ENDUSER);
userdata.setTokenType(SecConst.TOKEN_SOFT_BROWSERGEN);
userdata.setStatus(UserDataConstants.STATUS_NEW);
userdata.setEndEntityProfileId(SecConst.EMPTY_ENDENTITYPROFILE);
userdata.setCertificateProfileId(SecConst.CERTPROFILE_FIXED_ENDUSER);
String pkcs10 = new String(Base64.encode(NonEjbTestTools.generatePKCS10Req("CN="+username, password)));
try {
teste.processCertReq(admin, userdata, pkcs10, SecConst.CERT_REQ_TYPE_PKCS10, null, SecConst.CERT_REQ_TYPE_PKCS10);
} catch (Exception ex) {
// TODO Auto-generated catch block
}
}
So I implemented all that in a JSF page and tryed to run it, like i done before, but got this error:
javax.faces.el.EvaluationException: java.lang.NoClassDefFoundError: org/ejbca/util/InterfaceCache
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at javax.faces.component.UICommand.broadcast(UICommand.java:387)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: org/ejbca/util/InterfaceCache
at certificate.model.ModelCertificado.emitirCertificado(ModelCertificado.java:28)
at certificate.model.ModelProfile.cadastraProfile(ModelProfile.java:29)
at certificate.facade.FacadeProfile.cadastrarProfile(FacadeProfile.java:18)
at certificate.controler.ControladorProfile.cadastrarProfile(ControladorProfile.java:18)
at certificate.bean.ProfileBean.cadastrarProfile(ProfileBean.java:25)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.el.parser.AstValue.invoke(AstValue.java:170)
at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
at org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:68)
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
... 28 more
Caused by: java.lang.ClassNotFoundException: org.ejbca.util.InterfaceCache from BaseClassLoader@54ed9ff8{VFSClassLoaderPolicy@3ca17e57{name=vfszip:/C:/Users/Marcos/workspace/jboss-5.1.0.GA/server/default/deploy/CertificadosDigitais.war/ domain=ClassLoaderDomain@2c851425{name=vfszip:/C:/Users/Marcos/workspace/jboss-5.1.0.GA/server/default/deploy/CertificadosDigitais.war/ parentPolicy=AFTER_BUT_JAVA_BEFORE parent=ClassLoaderDomain@5867df9{DefaultDomain}} roots=[MemoryContextHandler@242065626[path= context=vfsmemory://3j001-jcuaql-h9u898ou-1-h9u89s8l-2a real=vfsmemory://3j001-jcuaql-h9u898ou-1-h9u89s8l-2a], ZipEntryHandler@1062948764[path=CertificadosDigitais.war/WEB-INF/classes context=file:/C:/Users/Marcos/workspace/jboss-5.1.0.GA/server/default/deploy/ real=file:/C:/Users/Marcos/workspace/jboss-5.1.0.GA/server/default/deploy/CertificadosDigitais.war/WEB-INF/classes]] delegates=null exported=[certificate.controler, certificate.bean, certificate.model, certificate.interfaces, certificate.facade, certificate.dao] <IMPORT-ALL>NON_EMPTY}}
at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:448)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 41 more
2012-11-22 16:45:01,853 WARNING [javax.enterprise.resource.webcontainer.jsf.lifecycle] (http-0.0.0.0-8080-1) #{profileBean.cadastrarProfile}: java.lang.NoClassDefFoundError: org/ejbca/util/InterfaceCache
javax.faces.FacesException: #{profileBean.cadastrarProfile}: java.lang.NoClassDefFoundError: org/ejbca/util/InterfaceCache
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
at javax.faces.component.UICommand.broadcast(UICommand.java:387)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.faces.el.EvaluationException: java.lang.NoClassDefFoundError: org/ejbca/util/InterfaceCache
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
... 27 more
Caused by: java.lang.NoClassDefFoundError: org/ejbca/util/InterfaceCache
at certificate.model.ModelCertificado.emitirCertificado(ModelCertificado.java:28)
at certificate.model.ModelProfile.cadastraProfile(ModelProfile.java:29)
at certificate.facade.FacadeProfile.cadastrarProfile(FacadeProfile.java:18)
at certificate.controler.ControladorProfile.cadastrarProfile(ControladorProfile.java:18)
at certificate.bean.ProfileBean.cadastrarProfile(ProfileBean.java:25)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.el.parser.AstValue.invoke(AstValue.java:170)
at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
at org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:68)
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
... 28 more
Caused by: java.lang.ClassNotFoundException: org.ejbca.util.InterfaceCache from BaseClassLoader@54ed9ff8{VFSClassLoaderPolicy@3ca17e57{name=vfszip:/C:/Users/Marcos/workspace/jboss-5.1.0.GA/server/default/deploy/CertificadosDigitais.war/ domain=ClassLoaderDomain@2c851425{name=vfszip:/C:/Users/Marcos/workspace/jboss-5.1.0.GA/server/default/deploy/CertificadosDigitais.war/ parentPolicy=AFTER_BUT_JAVA_BEFORE parent=ClassLoaderDomain@5867df9{DefaultDomain}} roots=[MemoryContextHandler@242065626[path= context=vfsmemory://3j001-jcuaql-h9u898ou-1-h9u89s8l-2a real=vfsmemory://3j001-jcuaql-h9u898ou-1-h9u89s8l-2a], ZipEntryHandler@1062948764[path=CertificadosDigitais.war/WEB-INF/classes context=file:/C:/Users/Marcos/workspace/jboss-5.1.0.GA/server/default/deploy/ real=file:/C:/Users/Marcos/workspace/jboss-5.1.0.GA/server/default/deploy/CertificadosDigitais.war/WEB-INF/classes]] delegates=null exported=[certificate.controler, certificate.bean, certificate.model, certificate.interfaces, certificate.facade, certificate.dao] <IMPORT-ALL>NON_EMPTY}}
at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:448)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 41 more
2012-11-22 16:45:01,855 SEVERE [javax.enterprise.resource.webcontainer.jsf.lifecycle] (http-0.0.0.0-8080-1) JSF1054: (Phase ID: INVOKE_APPLICATION 5, View ID: /cadastroProfile.jsp) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@156f0858]
2012-11-22 16:45:01,856 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/CertificadosDigitais].[Faces Servlet]] (http-0.0.0.0-8080-1) Servlet.service() for servlet Faces Servlet threw exception
java.lang.ClassNotFoundException: org.ejbca.util.InterfaceCache from BaseClassLoader@54ed9ff8{VFSClassLoaderPolicy@3ca17e57{name=vfszip:/C:/Users/Marcos/workspace/jboss-5.1.0.GA/server/default/deploy/CertificadosDigitais.war/ domain=ClassLoaderDomain@2c851425{name=vfszip:/C:/Users/Marcos/workspace/jboss-5.1.0.GA/server/default/deploy/CertificadosDigitais.war/ parentPolicy=AFTER_BUT_JAVA_BEFORE parent=ClassLoaderDomain@5867df9{DefaultDomain}} roots=[MemoryContextHandler@242065626[path= context=vfsmemory://3j001-jcuaql-h9u898ou-1-h9u89s8l-2a real=vfsmemory://3j001-jcuaql-h9u898ou-1-h9u89s8l-2a], ZipEntryHandler@1062948764[path=CertificadosDigitais.war/WEB-INF/classes context=file:/C:/Users/Marcos/workspace/jboss-5.1.0.GA/server/default/deploy/ real=file:/C:/Users/Marcos/workspace/jboss-5.1.0.GA/server/default/deploy/CertificadosDigitais.war/WEB-INF/classes]] delegates=null exported=[certificate.controler, certificate.bean, certificate.model, certificate.interfaces, certificate.facade, certificate.dao] <IMPORT-ALL>NON_EMPTY}}
at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:448)
at java.lang.ClassLoader.loadClass(Unknown Source)
at certificate.model.ModelCertificado.emitirCertificado(ModelCertificado.java:28)
at certificate.model.ModelProfile.cadastraProfile(ModelProfile.java:29)
at certificate.facade.FacadeProfile.cadastrarProfile(FacadeProfile.java:18)
at certificate.controler.ControladorProfile.cadastrarProfile(ControladorProfile.java:18)
at certificate.bean.ProfileBean.cadastrarProfile(ProfileBean.java:25)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.el.parser.AstValue.invoke(AstValue.java:170)
at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
at org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:68)
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at javax.faces.component.UICommand.broadcast(UICommand.java:387)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Whith the following code, that i guess is all right:
public String emitirCertificado(String username, String password, int tipoUsuario, String E, String DN) throws InvalidKeyException, NoSuchAlgorithmException, NoSuchProviderException, SignatureException, InvalidAlgorithmParameterException
{
Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
ProfileBean pBean = new ProfileBean();
UserDataVO userdata = new UserDataVO();
CertificateRequestSession criaCert = InterfaceCache.getCertficateRequestSession();
Admin admin = new Admin(Admin.TYPE_CACOMMANDLINE_USER);
int caid;
if (tipoUsuario == 1)
{
DN = DN + "Alunos";
caid = 1963139164; //CAID Alunos
}else if (tipoUsuario == 2)
{
DN = DN + "Professores";
caid = 1134085357; //CAID Professores
}else
DN = DN + "Administrativo";
caid = 1911414444; //CAID Administrativo
userdata.setUsername(username);
userdata.setPassword(password);
userdata.setDN(DN);
userdata.setCAId(caid); //ID CA que assina.
userdata.setEmail(E);
userdata.setType(SecConst.USER_ENDUSER);
userdata.setTokenType(SecConst.TOKEN_SOFT_BROWSERGEN);
userdata.setStatus(UserDataConstants.STATUS_NEW);
userdata.setEndEntityProfileId(SecConst.EMPTY_ENDENTITYPROFILE);
userdata.setCertificateProfileId(SecConst.CERTPROFILE_FIXED_ENDUSER);
String pkcs10 = new String(Base64.encode(NonEjbTestTools.generatePKCS10Req("CN="+username, password)));
try {
criaCert.processCertReq(admin, userdata, pkcs10, SecConst.CERT_REQ_TYPE_PKCS10, null, SecConst.CERT_REQ_TYPE_PKCS10);
pBean.setMensagem("Profile e certificado criados com Sucesso");
return "sucesso";
} catch (Exception ex) {
// TODO Auto-generated catch block
pBean.setMensagem("Ops! Desculpe-nos, algo ocorreu em nosso servidores. Tente novamente!");
return "erro";
}
}
Nenhum vírus encontrado nessa mensagem.
Verificado por AVG - www.avgbrasil.com.br
Versão: 2013.0.2793 / Banco de dados de vírus: 2629/5907 - Data de Lançamento: 11/20/12
Nenhum vírus encontrado nessa mensagem.
Verificado por AVG - www.avgbrasil.com.br
Versão: 2013.0.2793 / Banco de dados de vírus: 2629/5907 - Data de Lançamento: 11/20/12
Aviso: Mensagem enviada com recursos de tecnologia da informação da Rede Energia S.A., podendo conter informação confidencial ou privilegiada. Se recebida por engano, favor devolvê-la ao remetente e eliminá-la, não a divulgando, copiando ou utilizando-a ou documentos a ela anexados. Não gera obrigações à Rede Energia S.A. ou a suas empresas controladoras, controladas ou afiliadas (“empresas relacionadas”) a mensagem expedida por quem não tenha poderes de representação. A Rede Energia S.A. e as empresas relacionadas não se responsabilizam por vírus, ameaças eletrônicas ou alteração do conteúdo original da mensagem. É monitorada toda mensagem enviada ou recebida utilizando recursos de tecnologia da informação da Rede Energia S.A. Notice: This message was sent through Rede Energia S.A. information technology resources and may contain confidential or privileged information. If received by mistake, please reply to the sender, eliminate and do not disclose, copy or use this message or attached documents. Neither Rede Energia S.A. nor its controlling, controlled or affiliated companies (“related companies”) shall be bound by any message sent by a person not having legal authority to represent them. Rede Energia S.A. and the related companies shall not be liable for the existence of virus, electronic threat or change in the original content of the message. Every message sent or received through Rede Energia S.A. information technology resources is monitored. |
|
From: Hans W. <hw...@a-...> - 2012-11-22 08:27:31
|
On Thu, 2012-11-22 at 09:16 +0100, Tomas Gustavsson wrote: > Check the source of the empty page. It's probably a frameset pointing to > frames on another machine that does not exist... > > /Tomas Tnx for replying that fast (impresive) It was far more simpler: i forgot the "/" at the end. (deep blush of shame) I'm trying to make an idiot-proof install reference. But it seems i am the biggest idiot around.... Hans |
|
From: ejbca-support <ejb...@pr...> - 2012-11-22 08:19:52
|
Hans, I would try http://yourhost:8080/ejbca as well. If that doesn't work EJBCA hasn't deployed which should be visible in server.log anders On 2012-11-22 09:11, Hans Witvliet wrote: > Hi all, > > I'm trying to do a re-installation of ejbca. > (and do minute upgrade steps one by one) > > It thought i followed the steps correctly (even though it is an old > version) > > But when i try to connect for the very first time with a web-browser, it > seems i just got an empty page: > > > Final lines from JBoss: > INFO: WSSERVLET14: JAX-WS servlet initializing > 23:16:39,784 INFO [TomcatDeployer] deploy, > ctxPath=/ejbca/publicweb/healthcheck, > warUrl=.../tmp/deploy/tmp7897634934288349237ejbca.ear-contents/healthcheck-exp.war/ > 23:16:39,857 INFO [TomcatDeployer] deploy, > ctxPath=/ejbca/publicweb/apply, > warUrl=.../tmp/deploy/tmp7897634934288349237ejbca.ear-contents/scep-exp.war/ > 23:16:39,919 INFO [TomcatDeployer] deploy, > ctxPath=/ejbca/publicweb/webdist, > warUrl=.../tmp/deploy/tmp7897634934288349237ejbca.ear-contents/webdist-exp.war/ > 23:16:39,975 INFO [EARDeployer] Started J2EE application: > file:/usr/local/jboss-4.2.3.GA/server/default/deploy/ejbca.ear > 23:16:40,044 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on > http-0.0.0.0-8080 > 23:16:40,057 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on > http-0.0.0.0-8442 > 23:16:40,073 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on > http-0.0.0.0-8443 > 23:16:40,083 INFO [AjpProtocol] Starting Coyote AJP/1.3 on > ajp-127.0.0.1-8009 > 23:16:40,091 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: > SVNTag=JBoss_4_2_3_GA date=200807181439)] Started in 37s:552ms > > So it seems the system is listening on the proper ports. > (lsof -i -P shows that aswell...) > > Snapshot of TCP-dump between server and client: > > 07:24:39.450261 IP orion.52709 > vm0000.minoss.nl.pcsync-https: Flags > [S], seq 421360265, win 14600, options [mss 1460,sackOK,TS val 31687989 > ecr 0,nop,wscale 7], length 0 > 07:24:39.450292 IP vm0000.minoss.nl.pcsync-https > orion.52709: Flags > [S.], seq 3227506828, ack 421360266, win 14480, options [mss > 1460,sackOK,TS val 13529612 ecr 31687989,nop,wscale 7], length 0 > 07:24:39.450376 IP orion.52709 > vm0000.minoss.nl.pcsync-https: Flags > [.], ack 1, win 115, options [nop,nop,TS val 31687989 ecr 13529612], > length 0 > 07:24:39.455455 IP orion.52709 > vm0000.minoss.nl.pcsync-https: Flags > [P.], seq 1:306, ack 1, win 115, options [nop,nop,TS val 31687990 ecr > 13529612], length 305 > 07:24:39.455469 IP vm0000.minoss.nl.pcsync-https > orion.52709: Flags > [.], ack 306, win 122, options [nop,nop,TS val 13529613 ecr 31687990], > length 0 > 07:24:39.455708 IP vm0000.minoss.nl.pcsync-https > orion.52709: Flags > [P.], seq 1:8, ack 306, win 122, options [nop,nop,TS val 13529613 ecr > 31687990], length 7 > 07:24:39.455733 IP vm0000.minoss.nl.pcsync-https > orion.52709: Flags > [F.], seq 8, ack 306, win 122, options [nop,nop,TS val 13529613 ecr > 31687990], length 0 > 07:24:39.455743 IP orion.52709 > vm0000.minoss.nl.pcsync-https: Flags > [.], ack 8, win 115, options [nop,nop,TS val 31687990 ecr 13529613], > length 0 > 07:24:39.455873 IP orion.52709 > vm0000.minoss.nl.pcsync-https: Flags > [F.], seq 306, ack 9, win 115, options [nop,nop,TS val 31687990 ecr > 13529613], length 0 > 07:24:39.455884 IP vm0000.minoss.nl.pcsync-https > orion.52709: Flags > [.], ack 307, win 122, options [nop,nop,TS val 13529613 ecr 31687990], > length 0 > > > So both machines see each other.... > > Also web trying on port 8442 i'll get an empty page. > > there doesn't seems to be any obvious symptoms in > /usr/local/jboss/server/default/log/, neither in boot.log nog in > server.log. > > Any pointers? > > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > |
|
From: Tomas G. <to...@pr...> - 2012-11-22 08:16:40
|
Check the source of the empty page. It's probably a frameset pointing to frames on another machine that does not exist... /Tomas On 11/22/2012 09:11 AM, Hans Witvliet wrote: > Hi all, > > I'm trying to do a re-installation of ejbca. > (and do minute upgrade steps one by one) > > It thought i followed the steps correctly (even though it is an old > version) > > But when i try to connect for the very first time with a web-browser, it > seems i just got an empty page: > > > Final lines from JBoss: > INFO: WSSERVLET14: JAX-WS servlet initializing > 23:16:39,784 INFO [TomcatDeployer] deploy, > ctxPath=/ejbca/publicweb/healthcheck, > warUrl=.../tmp/deploy/tmp7897634934288349237ejbca.ear-contents/healthcheck-exp.war/ > 23:16:39,857 INFO [TomcatDeployer] deploy, > ctxPath=/ejbca/publicweb/apply, > warUrl=.../tmp/deploy/tmp7897634934288349237ejbca.ear-contents/scep-exp.war/ > 23:16:39,919 INFO [TomcatDeployer] deploy, > ctxPath=/ejbca/publicweb/webdist, > warUrl=.../tmp/deploy/tmp7897634934288349237ejbca.ear-contents/webdist-exp.war/ > 23:16:39,975 INFO [EARDeployer] Started J2EE application: > file:/usr/local/jboss-4.2.3.GA/server/default/deploy/ejbca.ear > 23:16:40,044 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on > http-0.0.0.0-8080 > 23:16:40,057 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on > http-0.0.0.0-8442 > 23:16:40,073 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on > http-0.0.0.0-8443 > 23:16:40,083 INFO [AjpProtocol] Starting Coyote AJP/1.3 on > ajp-127.0.0.1-8009 > 23:16:40,091 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: > SVNTag=JBoss_4_2_3_GA date=200807181439)] Started in 37s:552ms > > So it seems the system is listening on the proper ports. > (lsof -i -P shows that aswell...) > > Snapshot of TCP-dump between server and client: > > 07:24:39.450261 IP orion.52709 > vm0000.minoss.nl.pcsync-https: Flags > [S], seq 421360265, win 14600, options [mss 1460,sackOK,TS val 31687989 > ecr 0,nop,wscale 7], length 0 > 07:24:39.450292 IP vm0000.minoss.nl.pcsync-https > orion.52709: Flags > [S.], seq 3227506828, ack 421360266, win 14480, options [mss > 1460,sackOK,TS val 13529612 ecr 31687989,nop,wscale 7], length 0 > 07:24:39.450376 IP orion.52709 > vm0000.minoss.nl.pcsync-https: Flags > [.], ack 1, win 115, options [nop,nop,TS val 31687989 ecr 13529612], > length 0 > 07:24:39.455455 IP orion.52709 > vm0000.minoss.nl.pcsync-https: Flags > [P.], seq 1:306, ack 1, win 115, options [nop,nop,TS val 31687990 ecr > 13529612], length 305 > 07:24:39.455469 IP vm0000.minoss.nl.pcsync-https > orion.52709: Flags > [.], ack 306, win 122, options [nop,nop,TS val 13529613 ecr 31687990], > length 0 > 07:24:39.455708 IP vm0000.minoss.nl.pcsync-https > orion.52709: Flags > [P.], seq 1:8, ack 306, win 122, options [nop,nop,TS val 13529613 ecr > 31687990], length 7 > 07:24:39.455733 IP vm0000.minoss.nl.pcsync-https > orion.52709: Flags > [F.], seq 8, ack 306, win 122, options [nop,nop,TS val 13529613 ecr > 31687990], length 0 > 07:24:39.455743 IP orion.52709 > vm0000.minoss.nl.pcsync-https: Flags > [.], ack 8, win 115, options [nop,nop,TS val 31687990 ecr 13529613], > length 0 > 07:24:39.455873 IP orion.52709 > vm0000.minoss.nl.pcsync-https: Flags > [F.], seq 306, ack 9, win 115, options [nop,nop,TS val 31687990 ecr > 13529613], length 0 > 07:24:39.455884 IP vm0000.minoss.nl.pcsync-https > orion.52709: Flags > [.], ack 307, win 122, options [nop,nop,TS val 13529613 ecr 31687990], > length 0 > > > So both machines see each other.... > > Also web trying on port 8442 i'll get an empty page. > > there doesn't seems to be any obvious symptoms in > /usr/local/jboss/server/default/log/, neither in boot.log nog in > server.log. > > Any pointers? > > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > |
|
From: Hans W. <hw...@a-...> - 2012-11-22 08:11:33
|
Hi all, I'm trying to do a re-installation of ejbca. (and do minute upgrade steps one by one) It thought i followed the steps correctly (even though it is an old version) But when i try to connect for the very first time with a web-browser, it seems i just got an empty page: Final lines from JBoss: INFO: WSSERVLET14: JAX-WS servlet initializing 23:16:39,784 INFO [TomcatDeployer] deploy, ctxPath=/ejbca/publicweb/healthcheck, warUrl=.../tmp/deploy/tmp7897634934288349237ejbca.ear-contents/healthcheck-exp.war/ 23:16:39,857 INFO [TomcatDeployer] deploy, ctxPath=/ejbca/publicweb/apply, warUrl=.../tmp/deploy/tmp7897634934288349237ejbca.ear-contents/scep-exp.war/ 23:16:39,919 INFO [TomcatDeployer] deploy, ctxPath=/ejbca/publicweb/webdist, warUrl=.../tmp/deploy/tmp7897634934288349237ejbca.ear-contents/webdist-exp.war/ 23:16:39,975 INFO [EARDeployer] Started J2EE application: file:/usr/local/jboss-4.2.3.GA/server/default/deploy/ejbca.ear 23:16:40,044 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080 23:16:40,057 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8442 23:16:40,073 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8443 23:16:40,083 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 23:16:40,091 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)] Started in 37s:552ms So it seems the system is listening on the proper ports. (lsof -i -P shows that aswell...) Snapshot of TCP-dump between server and client: 07:24:39.450261 IP orion.52709 > vm0000.minoss.nl.pcsync-https: Flags [S], seq 421360265, win 14600, options [mss 1460,sackOK,TS val 31687989 ecr 0,nop,wscale 7], length 0 07:24:39.450292 IP vm0000.minoss.nl.pcsync-https > orion.52709: Flags [S.], seq 3227506828, ack 421360266, win 14480, options [mss 1460,sackOK,TS val 13529612 ecr 31687989,nop,wscale 7], length 0 07:24:39.450376 IP orion.52709 > vm0000.minoss.nl.pcsync-https: Flags [.], ack 1, win 115, options [nop,nop,TS val 31687989 ecr 13529612], length 0 07:24:39.455455 IP orion.52709 > vm0000.minoss.nl.pcsync-https: Flags [P.], seq 1:306, ack 1, win 115, options [nop,nop,TS val 31687990 ecr 13529612], length 305 07:24:39.455469 IP vm0000.minoss.nl.pcsync-https > orion.52709: Flags [.], ack 306, win 122, options [nop,nop,TS val 13529613 ecr 31687990], length 0 07:24:39.455708 IP vm0000.minoss.nl.pcsync-https > orion.52709: Flags [P.], seq 1:8, ack 306, win 122, options [nop,nop,TS val 13529613 ecr 31687990], length 7 07:24:39.455733 IP vm0000.minoss.nl.pcsync-https > orion.52709: Flags [F.], seq 8, ack 306, win 122, options [nop,nop,TS val 13529613 ecr 31687990], length 0 07:24:39.455743 IP orion.52709 > vm0000.minoss.nl.pcsync-https: Flags [.], ack 8, win 115, options [nop,nop,TS val 31687990 ecr 13529613], length 0 07:24:39.455873 IP orion.52709 > vm0000.minoss.nl.pcsync-https: Flags [F.], seq 306, ack 9, win 115, options [nop,nop,TS val 31687990 ecr 13529613], length 0 07:24:39.455884 IP vm0000.minoss.nl.pcsync-https > orion.52709: Flags [.], ack 307, win 122, options [nop,nop,TS val 13529613 ecr 31687990], length 0 So both machines see each other.... Also web trying on port 8442 i'll get an empty page. there doesn't seems to be any obvious symptoms in /usr/local/jboss/server/default/log/, neither in boot.log nog in server.log. Any pointers? |
|
From: ejbca-support <ejb...@pr...> - 2012-11-09 07:39:02
|
Marcos,
Since the stacktrace indicates that the null-pointer exception is in your code rather
than in EJBCA I think you should continue debugging it. Since you have all the source
to UserDtataVO etc. it should be possible.
Cheers,
Anders
tech support
On 2012-11-08 14:06, Marcos Fontana wrote:
> *import*java.io.ByteArrayInputStream;
>
> *import*java.util.Enumeration;
>
> *import*java.util.Random;
>
>
>
> *import*org.ejbca.core.ejb.ra.CertificateRequestSessionRemote;
>
> *import*org.ejbca.core.model.AlgorithmConstants;
>
> *import*org.ejbca.core.model.SecConst;
>
> *import*org.ejbca.core.model.log.Admin;
>
> *import*org.ejbca.core.model.ra.UserDataVO;
>
> *import*org.ejbca.util.Base64;
>
> *import*org.ejbca.util.CertTools;
>
> *import*org.ejbca.util.NonEjbTestTools;
>
>
>
> *import*java.security.cert.Certificate;
>
>
>
> *public**class*TesteCertificado {
>
>
>
> *private**final*Admin admin= *new*Admin(Admin./TYPE_CACOMMANDLINE_USER/);
>
> *private**final*Random random= *new*Random();
>
>
>
> *private*CertificateRequestSessionRemote certificateRequestSession;
>
> /**
>
> * Verify that a soft token can be generated in a single transaction.
>
> */
>
> *public**void*testSoftTokenRequestRollback() *throws*Exception {
>
> // First try a successful request and validate the returned KeyStore
>
> String username = "gabrielmendes-"+ random.nextInt();
>
> String password = "gabriel";
>
> UserDataVO userdata = *new*UserDataVO(username, "CN="+ username, 1963139164, *null*, *null*, SecConst./USER_ENDUSER/, SecConst./EMPTY_ENDENTITYPROFILE/,
>
> SecConst./CERTPROFILE_FIXED_ENDUSER/, SecConst./TOKEN_SOFT_JKS/, 0, *null*);
>
> userdata.setPassword(password);
>
> *byte*[] encodedKeyStore = certificateRequestSession.processSoftTokenReq(admin, userdata, *null*, "1024", AlgorithmConstants./KEYALGORITHM_RSA/, *true*);
>
> // Convert encoded KeyStore to the proper return type
>
> java.security.KeyStore keyStore = java.security.KeyStore./getInstance/("JKS");
>
> keyStore.load(*new*ByteArrayInputStream(encodedKeyStore), userdata.getPassword().toCharArray());
>
> Enumeration<String> aliases = keyStore.aliases();
>
> String alias = aliases.nextElement();
>
> Certificate cert = keyStore.getCertificate(alias);
>
> *if*(CertTools./isSelfSigned/(cert)) {
>
> // Ignore the CA _cert_ and get another one
>
> alias = aliases.nextElement();
>
> cert = keyStore.getCertificate(alias);
>
> }
>
> keyStore.getKey(alias, password.toCharArray());
>
> }
>
>
>
>
>
> /**
>
> * Verify that a soft token can be generated in a single transaction.
>
> */
>
> *public**void*testCertificateRequestRollback() *throws*Exception {
>
> // First try a successful request and validate the returned KeyStore
>
> String username = "gabrielmendes-"+ random.nextInt();
>
> String password = "gabriel";
>
> UserDataVO userdata = *new*UserDataVO(username, "CN="+ username, 1963139164, *null*, *null*, SecConst./USER_ENDUSER/, SecConst./EMPTY_ENDENTITYPROFILE/,
>
> SecConst./CERTPROFILE_FIXED_ENDUSER/, SecConst./TOKEN_SOFT_BROWSERGEN/, 0, *null*);
>
> userdata.setPassword(password);
>
> String pkcs10 = *new*String(Base64./encode/(NonEjbTestTools./generatePKCS10Req/("CN=Ignored", password)));
>
> *byte*[] encodedCertificate = certificateRequestSession.processCertReq(admin, userdata, pkcs10, SecConst./CERT_REQ_TYPE_PKCS10/, *null*,
>
> SecConst./CERT_RES_TYPE_CERTIFICATE/);
>
> CertTools./getCertfromByteArray/(encodedCertificate);
>
> }
>
> } }
>
>
>
> ==============================================================================================================================
>
> _java.lang.NullPointerException_
>
> at TesteCertificado.testSoftTokenRequestRollback(_TesteCertificado.java:34_)
>
> at test.main(_test.java:35_)
>
|
|
From: Marcos F. <mar...@ho...> - 2012-11-08 13:07:12
|
Hi,
I'm getting the following error in this call.
import java.io.ByteArrayInputStream;
import java.util.Enumeration;
import java.util.Random;
import org.ejbca.core.ejb.ra.CertificateRequestSessionRemote;
import org.ejbca.core.model.AlgorithmConstants;
import org.ejbca.core.model.SecConst;
import org.ejbca.core.model.log.Admin;
import org.ejbca.core.model.ra.UserDataVO;
import org.ejbca.util.Base64;
import org.ejbca.util.CertTools;
import org.ejbca.util.NonEjbTestTools;
import java.security.cert.Certificate;
public class TesteCertificado {
private final Admin admin = new Admin(Admin.TYPE_CACOMMANDLINE_USER);
private final Random random = new Random();
private CertificateRequestSessionRemote certificateRequestSession;
/**
* Verify that a soft token can be generated in a single transaction.
*/
public void testSoftTokenRequestRollback() throws Exception {
// First try a successful request and validate the returned KeyStore
String username = "gabrielmendes-" + random.nextInt();
String password = "gabriel";
UserDataVO userdata = new UserDataVO(username, "CN=" + username,
1963139164, null, null, SecConst.USER_ENDUSER,
SecConst.EMPTY_ENDENTITYPROFILE,
SecConst.CERTPROFILE_FIXED_ENDUSER, SecConst.TOKEN_SOFT_JKS,
0, null);
userdata.setPassword(password);
byte[] encodedKeyStore =
certificateRequestSession.processSoftTokenReq(admin, userdata, null, "1024",
AlgorithmConstants.KEYALGORITHM_RSA, true);
// Convert encoded KeyStore to the proper return type
java.security.KeyStore keyStore =
java.security.KeyStore.getInstance("JKS");
keyStore.load(new ByteArrayInputStream(encodedKeyStore),
userdata.getPassword().toCharArray());
Enumeration<String> aliases = keyStore.aliases();
String alias = aliases.nextElement();
Certificate cert = keyStore.getCertificate(alias);
if (CertTools.isSelfSigned(cert)) {
// Ignore the CA cert and get another one
alias = aliases.nextElement();
cert = keyStore.getCertificate(alias);
}
keyStore.getKey(alias, password.toCharArray());
}
/**
* Verify that a soft token can be generated in a single transaction.
*/
public void testCertificateRequestRollback() throws Exception {
// First try a successful request and validate the returned KeyStore
String username = "gabrielmendes-" + random.nextInt();
String password = "gabriel";
UserDataVO userdata = new UserDataVO(username, "CN=" + username,
1963139164, null, null, SecConst.USER_ENDUSER,
SecConst.EMPTY_ENDENTITYPROFILE,
SecConst.CERTPROFILE_FIXED_ENDUSER,
SecConst.TOKEN_SOFT_BROWSERGEN, 0, null);
userdata.setPassword(password);
String pkcs10 = new
String(Base64.encode(NonEjbTestTools.generatePKCS10Req("CN=Ignored",
password)));
byte[] encodedCertificate =
certificateRequestSession.processCertReq(admin, userdata, pkcs10,
SecConst.CERT_REQ_TYPE_PKCS10, null,
SecConst.CERT_RES_TYPE_CERTIFICATE);
CertTools.getCertfromByteArray(encodedCertificate);
}
} }
============================================================================
==================================================
java.lang.NullPointerException
at
TesteCertificado.testSoftTokenRequestRollback(TesteCertificado.java:34)
at test.main(test.java:35)
_____
Nenhum virus encontrado nessa mensagem.
Verificado por AVG - www.avgbrasil.com.br
Versao: 2013.0.2742 / Banco de dados de virus: 2617/5879 - Data de
Lancamento: 11/07/12
|
|
From: Andreas B. <ab...@an...> - 2012-10-31 13:16:40
|
In case you need a USER (lamer, lart, luzer) as tester, I volunteer. :-) Good luck with your project anyhow. cheers, Andreas Am 26.10.2012 16:51, schrieb Juan Caracoche: > Cool! > Thank you Bruno! We started building the RA on Grails too!! So you can > help us a lot with your project and we can collaborate with you. I need > to gen certificate based on Hard token (USB token and Smartcard). I > don't know if your RA do that but if it don't, we can add this capability. > > Thank you! > > Juan > > 2012/10/26 Bruno Bonfils <as...@as... <mailto:as...@as...>> > > On Mon 22 October, Juan Caracoche wrote: > > Thank you! > > > > As I could see, all the API (EJB, WS) needs an username and > password to do > > findUser() into the EJBCA's user-table. I need to generate > certificates to > > users that aren´t into the EJBCA's user-table, so I will do a web > app to > > authenticate the user ans then If the user don't exist in the > EJBCA's DB, I > > will create them with the createUser API (using the LDAP's CN as > username > > and a fixed password) and then I could call the generatePKCS10Req > to get > > the cert. > > [..] > > Hi Juan, few months ago we start the development of an opensource RA for > EJBCA, which support LDAP authentication. It's not yet released but if > you want you can be a beta tester :) > > This RA is Grails based (another language for the JVM) > > Best regards > > -- > http://asyd.net/home/ - Home Page > http://netvibes.com/asyd - Portal > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > <mailto:Ejb...@li...> > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > > > -- > > > > Juan Caracoche | Business Developer > jua...@re... <mailto:jua...@re...> > Mobile: +54.911.4198.8941 > www.redb.ee <http://www.redb.ee> > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > > > > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop -- Andreas Bürki E-Mail: ab...@an... Zertifikat - SHA1-Fingerprint: 54:99:02:5F:60:CE:7A:27:0E:73:79:24:CA:C7:A0:CC:60:39:05:9F GnuPG - GPG-Fingerprint: 5DA7 5F48 25BD D2D7 E488 05DF 5A99 A321 7E42 0227 |
|
From: ejbca-support <ejb...@pr...> - 2012-10-30 20:50:11
|
On 2012-10-30 19:07, Marcos Fontana wrote: > > Hi, > > I’m getting the following error when i try to import modules/ejbca-ejb-interface/src into my project via classpath of eclipse: > > Type Classpath entry /ejbca/modules/ejbca-ejb-interface will not be exported or published. Runtime ClassNotFoundExceptions may result. > > What’s happening? > This is an Eclipse problem. Google is your friend :-) http://kousenit.wordpress.com/2007/09/25/library-quirk-in-the-new-eclipse-and-random-framework-musings/ Anders tech support > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ > > Nenhum vírus encontrado nessa mensagem. > Verificado por AVG - www.avgbrasil.com.br <http://www.avgbrasil.com.br> > Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5863 - Data de Lançamento: 10/30/12 > > > > This body part will be downloaded on demand. > > > This body part will be downloaded on demand. |
|
From: Marcos F. <mar...@ho...> - 2012-10-30 18:07:38
|
Hi, I'm getting the following error when i try to import modules/ejbca-ejb-interface/src into my project via classpath of eclipse: Type Classpath entry /ejbca/modules/ejbca-ejb-interface will not be exported or published. Runtime ClassNotFoundExceptions may result. What's happening? _____ Nenhum virus encontrado nessa mensagem. Verificado por AVG - www.avgbrasil.com.br Versao: 2013.0.2742 / Banco de dados de virus: 2617/5863 - Data de Lancamento: 10/30/12 |
|
From: ejbca-support <ejb...@pr...> - 2012-10-26 20:53:13
|
On 2012-10-26 20:54, Marcos Fontana wrote: > Hmmm, Ok. > > So, I'm trying to create other page to my own project, my doubt is, where I should create my web pages to use EJBCA classes?. Because I can't create any .jsp page into it. Tried to create other project to use the modules of EJBCA, added library into my project but cant import in my .java class. > > I'm so lost about this question. Most people do not modify EJBCA but rather build separate applications that through interfaces like Web Services interact EJBCA. Creating code that directly interfaces to the EJBCA requires a rather detailed look into the internal EJBCA code to be useful. http://www.ejbca.org/adminguide.html#Adding%20your%20own%20public%20web-pages I'm personally building extensions that appear as new web-apps in EJBCA using the "plugin" interface. In EJBCA/src/samples/plugins you find running examples to try. One source of information: http://wiki.ejbca.org/developers Cheers, Anders tech support > > -----Mensagem original----- > De: ejbca-support [mailto:ejb...@pr...] > Enviada em: sexta-feira, 26 de outubro de 2012 13:27 > Para: ejb...@li... > Cc: Marcos Fontana > Assunto: Re: [Ejbca-develop] RES: EJBCA Eclipse Import > > On 2012-10-26 17:12, Marcos Fontana wrote: >> These errors >> >> The import sun.security.pkcs11 cannot be resolved >> /ConnectDialog.java/CertDigital/modules/batchenrollment-gui/src/org/ej >> bca/batchenrollmentgui / line 55 / >> >> SunPKCS11 cannot be resolved to a type / ConnectDialog.java /CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui /line 598 / >> >> There's no pkcs11 package in sun.security, just pkcs. > > That's correct. If you build using Ant this has no practical effect since the batchenrollment-gui is an optional component. > > Anders > >> >> On 2012-10-26 16:49, Marcos Fontana wrote: >>> So just use x86 eclipse and x86 JDK/JRE? >> >> I use Eclipse with SVN on W64 and I have no problems. >> What kind of errors do you get? >> >> BTW, I only edit in Eclipse, I always build using Ant. >> >> Cheers >> Anders >> tech support >> >>> >>> On 10/26/2012 04:05 PM, martijn.list wrote: >>>> On 10/26/2012 03:52 PM, Tomas Gustavsson wrote: >>>>> >>>>> PKCS#11 is in a separate jar. If you don't get PKCS#11 with your >>>>> Java there is something really wrong with your java installation I >>>>> think. It is included in all normal java distributions. >>>> >>>> Presumably not with all 64bit versions of the JDK on Windows >>>> >>>> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7105065 >>>> >>>> Kind regards, >>>> >>>> Martijn >>> >>> Right so sorry! Forgot about that. _not_ on 64 bin windows. So with >>> that it will not work. >>> >>> >>>> >>>>> >>>>> Cheers, >>>>> Tomas >>>>> >>>>> On 10/26/2012 03:48 PM, Marcos Fontana wrote: >>>>>> Hi Tomas, >>>>>> >>>>>> Now I'm getting 2 errors: >>>>>> >>>>>> The import sun.security.pkcs11 cannot be resolved >>>>>> /ConnectDialog.java/CertDigital/modules/batchenrollment-gui/src/or >>>>>> g/ejbca/batchenrollmentgui / line 55 / >>>>>> >>>>>> SunPKCS11 cannot be resolved to a type / ConnectDialog.java /CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui /line 598 / >>>>>> >>>>>> There's no pkcs11 package in sun.security, just pkcs. >>>>>> >>>>>> Thanks >>>>>> >>>>>> Check out from SVN, then there are eclipse project files included. >>>>>> >>>>>> On 10/26/2012 01:45 PM, Marcos Fontana wrote: >>>>>>> Hi Tomas! >>>>>>> >>>>>>> In other posts, you said that to make the import ejbca in >>>>>>> eclipse, only that it would have ir, but when I try to import it, >>>>>>> I have to choose what type of project you wish to import and I >>>>>>> find no compatible. How I should proceed? >>>>>>> >>>>>>> Thank you! >>>>>>> >>>>>>> ----------------------------------------------------------------- >>>>>>> ------- >>>>>>> >>>>>>> Nenhum vírus encontrado nessa mensagem. >>>>>>> Verificado por AVG - http://www.avgbrasil.com.br >>>>>>> <http://www.avgbrasil.com.br> >>>>>>> Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data >>>>>>> de >>>>>>> Lançamento: 10/25/12 >>>>>>> >>>>>>> >>>>>>> >>>>>>> ----------------------------------------------------------------- >>>>>>> ------------- Everyone hates slow websites. So do we. >>>>>>> Make your web apps faster with AppDynamics Download AppDynamics >>>>>>> Lite for free today: >>>>>>> http://p.sf.net/sfu/appdyn_sfd2d_oct >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Ejbca-develop mailing list >>>>>>> Ejbca-develop@... >>>>>>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>>>>>> >>>>>> >>>>>> ----- >>>>>> Nenhum vírus encontrado nessa mensagem. >>>>>> Verificado por AVG - http://www.avgbrasil.com.br >>>>>> Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de >>>>>> Lançamento: 10/25/12 >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------ >>>>>> ------------ Everyone hates slow websites. So do we. >>>>>> Make your web apps faster with AppDynamics Download AppDynamics >>>>>> Lite for free today: >>>>>> http://p.sf.net/sfu/appdyn_sfd2d_oct >>>>>> _______________________________________________ >>>>>> Ejbca-develop mailing list >>>>>> Ejbca-develop@... >>>>>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------- >>>>> ----------- Everyone hates slow websites. So do we. >>>>> Make your web apps faster with AppDynamics Download AppDynamics >>>>> Lite for free today: >>>>> http://p.sf.net/sfu/appdyn_sfd2d_oct >>>>> _______________________________________________ >>>>> Ejbca-develop mailing list >>>>> Ejbca-develop@... >>>>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>>>> >>>> >>>> >>> >>> ----- >>> Nenhum vírus encontrado nessa mensagem. >>> Verificado por AVG - http://www.avgbrasil.com.br >>> Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de >>> Lançamento: 10/25/12 >>> >>> >>> --------------------------------------------------------------------- >>> --------- Everyone hates slow websites. So do we. >>> Make your web apps faster with AppDynamics Download AppDynamics Lite >>> for free today: >>> http://p.sf.net/sfu/appdyn_sfd2d_oct >>> _______________________________________________ >>> Ejbca-develop mailing list >>> Ejbca-develop@... >>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>> >> >> ----- >> Nenhum vírus encontrado nessa mensagem. >> Verificado por AVG - www.avgbrasil.com.br >> Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de >> Lançamento: 10/25/12 >> >> >> ---------------------------------------------------------------------- >> -------- The Windows 8 Center - In partnership with Sourceforge Your >> idea - your app - 30 days. >> Get started! >> http://windows8center.sourceforge.net/ >> what-html-developers-need-to-know-about-coding-windows-8-metro-style-a >> pps/ _______________________________________________ >> Ejbca-develop mailing list >> Ejb...@li... >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >> > > > ----- > Nenhum vírus encontrado nessa mensagem. > Verificado por AVG - www.avgbrasil.com.br > Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de Lançamento: 10/25/12 > > ----- > Nenhum vírus encontrado nessa mensagem. > Verificado por AVG - www.avgbrasil.com.br > Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de Lançamento: 10/25/12 > > > ------------------------------------------------------------------------------ > The Windows 8 Center > In partnership with Sourceforge > Your idea - your app - 30 days. Get started! > http://windows8center.sourceforge.net/ > what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > |
|
From: Marcos F. <mar...@ho...> - 2012-10-26 18:54:58
|
Hmmm, Ok. So, I'm trying to create other page to my own project, my doubt is, where I should create my web pages to use EJBCA classes?. Because I can't create any .jsp page into it. Tried to create other project to use the modules of EJBCA, added library into my project but cant import in my .java class. I'm so lost about this question. -----Mensagem original----- De: ejbca-support [mailto:ejb...@pr...] Enviada em: sexta-feira, 26 de outubro de 2012 13:27 Para: ejb...@li... Cc: Marcos Fontana Assunto: Re: [Ejbca-develop] RES: EJBCA Eclipse Import On 2012-10-26 17:12, Marcos Fontana wrote: > These errors > > The import sun.security.pkcs11 cannot be resolved > /ConnectDialog.java/CertDigital/modules/batchenrollment-gui/src/org/ej > bca/batchenrollmentgui / line 55 / > > SunPKCS11 cannot be resolved to a type / ConnectDialog.java /CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui /line 598 / > > There's no pkcs11 package in sun.security, just pkcs. That's correct. If you build using Ant this has no practical effect since the batchenrollment-gui is an optional component. Anders > > On 2012-10-26 16:49, Marcos Fontana wrote: >> So just use x86 eclipse and x86 JDK/JRE? > > I use Eclipse with SVN on W64 and I have no problems. > What kind of errors do you get? > > BTW, I only edit in Eclipse, I always build using Ant. > > Cheers > Anders > tech support > >> >> On 10/26/2012 04:05 PM, martijn.list wrote: >>> On 10/26/2012 03:52 PM, Tomas Gustavsson wrote: >>>> >>>> PKCS#11 is in a separate jar. If you don't get PKCS#11 with your >>>> Java there is something really wrong with your java installation I >>>> think. It is included in all normal java distributions. >>> >>> Presumably not with all 64bit versions of the JDK on Windows >>> >>> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7105065 >>> >>> Kind regards, >>> >>> Martijn >> >> Right so sorry! Forgot about that. _not_ on 64 bin windows. So with >> that it will not work. >> >> >>> >>>> >>>> Cheers, >>>> Tomas >>>> >>>> On 10/26/2012 03:48 PM, Marcos Fontana wrote: >>>>> Hi Tomas, >>>>> >>>>> Now I'm getting 2 errors: >>>>> >>>>> The import sun.security.pkcs11 cannot be resolved >>>>> /ConnectDialog.java/CertDigital/modules/batchenrollment-gui/src/or >>>>> g/ejbca/batchenrollmentgui / line 55 / >>>>> >>>>> SunPKCS11 cannot be resolved to a type / ConnectDialog.java /CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui /line 598 / >>>>> >>>>> There's no pkcs11 package in sun.security, just pkcs. >>>>> >>>>> Thanks >>>>> >>>>> Check out from SVN, then there are eclipse project files included. >>>>> >>>>> On 10/26/2012 01:45 PM, Marcos Fontana wrote: >>>>>> Hi Tomas! >>>>>> >>>>>> In other posts, you said that to make the import ejbca in >>>>>> eclipse, only that it would have ir, but when I try to import it, >>>>>> I have to choose what type of project you wish to import and I >>>>>> find no compatible. How I should proceed? >>>>>> >>>>>> Thank you! >>>>>> >>>>>> ----------------------------------------------------------------- >>>>>> ------- >>>>>> >>>>>> Nenhum vírus encontrado nessa mensagem. >>>>>> Verificado por AVG - http://www.avgbrasil.com.br >>>>>> <http://www.avgbrasil.com.br> >>>>>> Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data >>>>>> de >>>>>> Lançamento: 10/25/12 >>>>>> >>>>>> >>>>>> >>>>>> ----------------------------------------------------------------- >>>>>> ------------- Everyone hates slow websites. So do we. >>>>>> Make your web apps faster with AppDynamics Download AppDynamics >>>>>> Lite for free today: >>>>>> http://p.sf.net/sfu/appdyn_sfd2d_oct >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Ejbca-develop mailing list >>>>>> Ejbca-develop@... >>>>>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>>>>> >>>>> >>>>> ----- >>>>> Nenhum vírus encontrado nessa mensagem. >>>>> Verificado por AVG - http://www.avgbrasil.com.br >>>>> Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de >>>>> Lançamento: 10/25/12 >>>>> >>>>> >>>>> ------------------------------------------------------------------ >>>>> ------------ Everyone hates slow websites. So do we. >>>>> Make your web apps faster with AppDynamics Download AppDynamics >>>>> Lite for free today: >>>>> http://p.sf.net/sfu/appdyn_sfd2d_oct >>>>> _______________________________________________ >>>>> Ejbca-develop mailing list >>>>> Ejbca-develop@... >>>>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>>>> >>>> >>>> >>>> ------------------------------------------------------------------- >>>> ----------- Everyone hates slow websites. So do we. >>>> Make your web apps faster with AppDynamics Download AppDynamics >>>> Lite for free today: >>>> http://p.sf.net/sfu/appdyn_sfd2d_oct >>>> _______________________________________________ >>>> Ejbca-develop mailing list >>>> Ejbca-develop@... >>>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>>> >>> >>> >> >> ----- >> Nenhum vírus encontrado nessa mensagem. >> Verificado por AVG - http://www.avgbrasil.com.br >> Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de >> Lançamento: 10/25/12 >> >> >> --------------------------------------------------------------------- >> --------- Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics Download AppDynamics Lite >> for free today: >> http://p.sf.net/sfu/appdyn_sfd2d_oct >> _______________________________________________ >> Ejbca-develop mailing list >> Ejbca-develop@... >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >> > > ----- > Nenhum vírus encontrado nessa mensagem. > Verificado por AVG - www.avgbrasil.com.br > Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de > Lançamento: 10/25/12 > > > ---------------------------------------------------------------------- > -------- The Windows 8 Center - In partnership with Sourceforge Your > idea - your app - 30 days. > Get started! > http://windows8center.sourceforge.net/ > what-html-developers-need-to-know-about-coding-windows-8-metro-style-a > pps/ _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > ----- Nenhum vírus encontrado nessa mensagem. Verificado por AVG - www.avgbrasil.com.br Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de Lançamento: 10/25/12 ----- Nenhum vírus encontrado nessa mensagem. Verificado por AVG - www.avgbrasil.com.br Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de Lançamento: 10/25/12 |
|
From: ejbca-support <ejb...@pr...> - 2012-10-26 15:27:42
|
On 2012-10-26 17:12, Marcos Fontana wrote: > These errors > > The import sun.security.pkcs11 cannot be resolved /ConnectDialog.java/CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui / line 55 / > > SunPKCS11 cannot be resolved to a type / ConnectDialog.java /CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui /line 598 / > > There's no pkcs11 package in sun.security, just pkcs. That's correct. If you build using Ant this has no practical effect since the batchenrollment-gui is an optional component. Anders > > On 2012-10-26 16:49, Marcos Fontana wrote: >> So just use x86 eclipse and x86 JDK/JRE? > > I use Eclipse with SVN on W64 and I have no problems. > What kind of errors do you get? > > BTW, I only edit in Eclipse, I always build using Ant. > > Cheers > Anders > tech support > >> >> On 10/26/2012 04:05 PM, martijn.list wrote: >>> On 10/26/2012 03:52 PM, Tomas Gustavsson wrote: >>>> >>>> PKCS#11 is in a separate jar. If you don't get PKCS#11 with your Java >>>> there is something really wrong with your java installation I think. It >>>> is included in all normal java distributions. >>> >>> Presumably not with all 64bit versions of the JDK on Windows >>> >>> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7105065 >>> >>> Kind regards, >>> >>> Martijn >> >> Right so sorry! Forgot about that. _not_ on 64 bin windows. So with that >> it will not work. >> >> >>> >>>> >>>> Cheers, >>>> Tomas >>>> >>>> On 10/26/2012 03:48 PM, Marcos Fontana wrote: >>>>> Hi Tomas, >>>>> >>>>> Now I'm getting 2 errors: >>>>> >>>>> The import sun.security.pkcs11 cannot be resolved /ConnectDialog.java/CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui / line 55 / >>>>> >>>>> SunPKCS11 cannot be resolved to a type / ConnectDialog.java /CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui /line 598 / >>>>> >>>>> There's no pkcs11 package in sun.security, just pkcs. >>>>> >>>>> Thanks >>>>> >>>>> Check out from SVN, then there are eclipse project files included. >>>>> >>>>> On 10/26/2012 01:45 PM, Marcos Fontana wrote: >>>>>> Hi Tomas! >>>>>> >>>>>> In other posts, you said that to make the import ejbca in eclipse, only >>>>>> that it would have ir, but when I try to import it, I have to choose >>>>>> what type of project you wish to import and I find no compatible. How I >>>>>> should proceed? >>>>>> >>>>>> Thank you! >>>>>> >>>>>> ------------------------------------------------------------------------ >>>>>> >>>>>> Nenhum vírus encontrado nessa mensagem. >>>>>> Verificado por AVG - http://www.avgbrasil.com.br <http://www.avgbrasil.com.br> >>>>>> Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de >>>>>> Lançamento: 10/25/12 >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Everyone hates slow websites. So do we. >>>>>> Make your web apps faster with AppDynamics >>>>>> Download AppDynamics Lite for free today: >>>>>> http://p.sf.net/sfu/appdyn_sfd2d_oct >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Ejbca-develop mailing list >>>>>> Ejbca-develop@... >>>>>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>>>>> >>>>> >>>>> ----- >>>>> Nenhum vírus encontrado nessa mensagem. >>>>> Verificado por AVG - http://www.avgbrasil.com.br >>>>> Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de Lançamento: 10/25/12 >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Everyone hates slow websites. So do we. >>>>> Make your web apps faster with AppDynamics >>>>> Download AppDynamics Lite for free today: >>>>> http://p.sf.net/sfu/appdyn_sfd2d_oct >>>>> _______________________________________________ >>>>> Ejbca-develop mailing list >>>>> Ejbca-develop@... >>>>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Everyone hates slow websites. So do we. >>>> Make your web apps faster with AppDynamics >>>> Download AppDynamics Lite for free today: >>>> http://p.sf.net/sfu/appdyn_sfd2d_oct >>>> _______________________________________________ >>>> Ejbca-develop mailing list >>>> Ejbca-develop@... >>>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>>> >>> >>> >> >> ----- >> Nenhum vírus encontrado nessa mensagem. >> Verificado por AVG - http://www.avgbrasil.com.br >> Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de Lançamento: 10/25/12 >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_sfd2d_oct >> _______________________________________________ >> Ejbca-develop mailing list >> Ejbca-develop@... >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >> > > ----- > Nenhum vírus encontrado nessa mensagem. > Verificado por AVG - www.avgbrasil.com.br > Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de Lançamento: 10/25/12 > > > ------------------------------------------------------------------------------ > The Windows 8 Center - In partnership with Sourceforge > Your idea - your app - 30 days. > Get started! > http://windows8center.sourceforge.net/ > what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > |
|
From: ejbca-support <ejb...@pr...> - 2012-10-26 15:27:00
|
On 2012-10-26 17:12, Marcos Fontana wrote: > These errors > > The import sun.security.pkcs11 cannot be resolved /ConnectDialog.java/CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui / line 55 / > > SunPKCS11 cannot be resolved to a type / ConnectDialog.java /CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui /line 598 / > > There's no pkcs11 package in sun.security, just pkcs. That's correct. If you build using Ant this has no practical effect since the batchenrollment-gui is an optional component. Anders > > On 2012-10-26 16:49, Marcos Fontana wrote: >> So just use x86 eclipse and x86 JDK/JRE? > > I use Eclipse with SVN on W64 and I have no problems. > What kind of errors do you get? > > BTW, I only edit in Eclipse, I always build using Ant. > > Cheers > Anders > tech support > >> >> On 10/26/2012 04:05 PM, martijn.list wrote: >>> On 10/26/2012 03:52 PM, Tomas Gustavsson wrote: >>>> >>>> PKCS#11 is in a separate jar. If you don't get PKCS#11 with your Java >>>> there is something really wrong with your java installation I think. It >>>> is included in all normal java distributions. >>> >>> Presumably not with all 64bit versions of the JDK on Windows >>> >>> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7105065 >>> >>> Kind regards, >>> >>> Martijn >> >> Right so sorry! Forgot about that. _not_ on 64 bin windows. So with that >> it will not work. >> >> >>> >>>> >>>> Cheers, >>>> Tomas >>>> >>>> On 10/26/2012 03:48 PM, Marcos Fontana wrote: >>>>> Hi Tomas, >>>>> >>>>> Now I'm getting 2 errors: >>>>> >>>>> The import sun.security.pkcs11 cannot be resolved /ConnectDialog.java/CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui / line 55 / >>>>> >>>>> SunPKCS11 cannot be resolved to a type / ConnectDialog.java /CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui /line 598 / >>>>> >>>>> There's no pkcs11 package in sun.security, just pkcs. >>>>> >>>>> Thanks >>>>> >>>>> Check out from SVN, then there are eclipse project files included. >>>>> >>>>> On 10/26/2012 01:45 PM, Marcos Fontana wrote: >>>>>> Hi Tomas! >>>>>> >>>>>> In other posts, you said that to make the import ejbca in eclipse, only >>>>>> that it would have ir, but when I try to import it, I have to choose >>>>>> what type of project you wish to import and I find no compatible. How I >>>>>> should proceed? >>>>>> >>>>>> Thank you! >>>>>> >>>>>> ------------------------------------------------------------------------ >>>>>> >>>>>> Nenhum vírus encontrado nessa mensagem. >>>>>> Verificado por AVG - http://www.avgbrasil.com.br <http://www.avgbrasil.com.br> >>>>>> Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de >>>>>> Lançamento: 10/25/12 >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Everyone hates slow websites. So do we. >>>>>> Make your web apps faster with AppDynamics >>>>>> Download AppDynamics Lite for free today: >>>>>> http://p.sf.net/sfu/appdyn_sfd2d_oct >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Ejbca-develop mailing list >>>>>> Ejbca-develop@... >>>>>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>>>>> >>>>> >>>>> ----- >>>>> Nenhum vírus encontrado nessa mensagem. >>>>> Verificado por AVG - http://www.avgbrasil.com.br >>>>> Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de Lançamento: 10/25/12 >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Everyone hates slow websites. So do we. >>>>> Make your web apps faster with AppDynamics >>>>> Download AppDynamics Lite for free today: >>>>> http://p.sf.net/sfu/appdyn_sfd2d_oct >>>>> _______________________________________________ >>>>> Ejbca-develop mailing list >>>>> Ejbca-develop@... >>>>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Everyone hates slow websites. So do we. >>>> Make your web apps faster with AppDynamics >>>> Download AppDynamics Lite for free today: >>>> http://p.sf.net/sfu/appdyn_sfd2d_oct >>>> _______________________________________________ >>>> Ejbca-develop mailing list >>>> Ejbca-develop@... >>>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>>> >>> >>> >> >> ----- >> Nenhum vírus encontrado nessa mensagem. >> Verificado por AVG - http://www.avgbrasil.com.br >> Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de Lançamento: 10/25/12 >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_sfd2d_oct >> _______________________________________________ >> Ejbca-develop mailing list >> Ejbca-develop@... >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >> > > ----- > Nenhum vírus encontrado nessa mensagem. > Verificado por AVG - www.avgbrasil.com.br > Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de Lançamento: 10/25/12 > > > ------------------------------------------------------------------------------ > The Windows 8 Center - In partnership with Sourceforge > Your idea - your app - 30 days. > Get started! > http://windows8center.sourceforge.net/ > what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > |
|
From: Marcos F. <mar...@ho...> - 2012-10-26 15:12:54
|
These errors The import sun.security.pkcs11 cannot be resolved /ConnectDialog.java/CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui / line 55 / SunPKCS11 cannot be resolved to a type / ConnectDialog.java /CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui /line 598 / There's no pkcs11 package in sun.security, just pkcs. On 2012-10-26 16:49, Marcos Fontana wrote: > So just use x86 eclipse and x86 JDK/JRE? I use Eclipse with SVN on W64 and I have no problems. What kind of errors do you get? BTW, I only edit in Eclipse, I always build using Ant. Cheers Anders tech support > > On 10/26/2012 04:05 PM, martijn.list wrote: >> On 10/26/2012 03:52 PM, Tomas Gustavsson wrote: >>> >>> PKCS#11 is in a separate jar. If you don't get PKCS#11 with your Java >>> there is something really wrong with your java installation I think. It >>> is included in all normal java distributions. >> >> Presumably not with all 64bit versions of the JDK on Windows >> >> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7105065 >> >> Kind regards, >> >> Martijn > > Right so sorry! Forgot about that. _not_ on 64 bin windows. So with that > it will not work. > > >> >>> >>> Cheers, >>> Tomas >>> >>> On 10/26/2012 03:48 PM, Marcos Fontana wrote: >>>> Hi Tomas, >>>> >>>> Now I'm getting 2 errors: >>>> >>>> The import sun.security.pkcs11 cannot be resolved /ConnectDialog.java/CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui / line 55 / >>>> >>>> SunPKCS11 cannot be resolved to a type / ConnectDialog.java /CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui /line 598 / >>>> >>>> There's no pkcs11 package in sun.security, just pkcs. >>>> >>>> Thanks >>>> >>>> Check out from SVN, then there are eclipse project files included. >>>> >>>> On 10/26/2012 01:45 PM, Marcos Fontana wrote: >>>>> Hi Tomas! >>>>> >>>>> In other posts, you said that to make the import ejbca in eclipse, only >>>>> that it would have ir, but when I try to import it, I have to choose >>>>> what type of project you wish to import and I find no compatible. How I >>>>> should proceed? >>>>> >>>>> Thank you! >>>>> >>>>> ------------------------------------------------------------------------ >>>>> >>>>> Nenhum vírus encontrado nessa mensagem. >>>>> Verificado por AVG - http://www.avgbrasil.com.br <http://www.avgbrasil.com.br> >>>>> Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de >>>>> Lançamento: 10/25/12 >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Everyone hates slow websites. So do we. >>>>> Make your web apps faster with AppDynamics >>>>> Download AppDynamics Lite for free today: >>>>> http://p.sf.net/sfu/appdyn_sfd2d_oct >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Ejbca-develop mailing list >>>>> Ejbca-develop@... >>>>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>>>> >>>> >>>> ----- >>>> Nenhum vírus encontrado nessa mensagem. >>>> Verificado por AVG - http://www.avgbrasil.com.br >>>> Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de Lançamento: 10/25/12 >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Everyone hates slow websites. So do we. >>>> Make your web apps faster with AppDynamics >>>> Download AppDynamics Lite for free today: >>>> http://p.sf.net/sfu/appdyn_sfd2d_oct >>>> _______________________________________________ >>>> Ejbca-develop mailing list >>>> Ejbca-develop@... >>>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Everyone hates slow websites. So do we. >>> Make your web apps faster with AppDynamics >>> Download AppDynamics Lite for free today: >>> http://p.sf.net/sfu/appdyn_sfd2d_oct >>> _______________________________________________ >>> Ejbca-develop mailing list >>> Ejbca-develop@... >>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>> >> >> > > ----- > Nenhum vírus encontrado nessa mensagem. > Verificado por AVG - http://www.avgbrasil.com.br > Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de Lançamento: 10/25/12 > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Ejbca-develop mailing list > Ejbca-develop@... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > ----- Nenhum vírus encontrado nessa mensagem. Verificado por AVG - www.avgbrasil.com.br Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de Lançamento: 10/25/12 |
|
From: ejbca-support <ejb...@pr...> - 2012-10-26 14:58:50
|
On 2012-10-26 16:49, Marcos Fontana wrote: > So just use x86 eclipse and x86 JDK/JRE? I use Eclipse with SVN on W64 and I have no problems. What kind of errors do you get? BTW, I only edit in Eclipse, I always build using Ant. Cheers Anders tech support > > On 10/26/2012 04:05 PM, martijn.list wrote: >> On 10/26/2012 03:52 PM, Tomas Gustavsson wrote: >>> >>> PKCS#11 is in a separate jar. If you don't get PKCS#11 with your Java >>> there is something really wrong with your java installation I think. It >>> is included in all normal java distributions. >> >> Presumably not with all 64bit versions of the JDK on Windows >> >> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7105065 >> >> Kind regards, >> >> Martijn > > Right so sorry! Forgot about that. _not_ on 64 bin windows. So with that > it will not work. > > >> >>> >>> Cheers, >>> Tomas >>> >>> On 10/26/2012 03:48 PM, Marcos Fontana wrote: >>>> Hi Tomas, >>>> >>>> Now I'm getting 2 errors: >>>> >>>> The import sun.security.pkcs11 cannot be resolved /ConnectDialog.java/CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui / line 55 / >>>> >>>> SunPKCS11 cannot be resolved to a type / ConnectDialog.java /CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui /line 598 / >>>> >>>> There's no pkcs11 package in sun.security, just pkcs. >>>> >>>> Thanks >>>> >>>> Check out from SVN, then there are eclipse project files included. >>>> >>>> On 10/26/2012 01:45 PM, Marcos Fontana wrote: >>>>> Hi Tomas! >>>>> >>>>> In other posts, you said that to make the import ejbca in eclipse, only >>>>> that it would have ir, but when I try to import it, I have to choose >>>>> what type of project you wish to import and I find no compatible. How I >>>>> should proceed? >>>>> >>>>> Thank you! >>>>> >>>>> ------------------------------------------------------------------------ >>>>> >>>>> Nenhum vírus encontrado nessa mensagem. >>>>> Verificado por AVG - http://www.avgbrasil.com.br <http://www.avgbrasil.com.br> >>>>> Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de >>>>> Lançamento: 10/25/12 >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Everyone hates slow websites. So do we. >>>>> Make your web apps faster with AppDynamics >>>>> Download AppDynamics Lite for free today: >>>>> http://p.sf.net/sfu/appdyn_sfd2d_oct >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Ejbca-develop mailing list >>>>> Ejbca-develop@... >>>>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>>>> >>>> >>>> ----- >>>> Nenhum vírus encontrado nessa mensagem. >>>> Verificado por AVG - http://www.avgbrasil.com.br >>>> Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de Lançamento: 10/25/12 >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Everyone hates slow websites. So do we. >>>> Make your web apps faster with AppDynamics >>>> Download AppDynamics Lite for free today: >>>> http://p.sf.net/sfu/appdyn_sfd2d_oct >>>> _______________________________________________ >>>> Ejbca-develop mailing list >>>> Ejbca-develop@... >>>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Everyone hates slow websites. So do we. >>> Make your web apps faster with AppDynamics >>> Download AppDynamics Lite for free today: >>> http://p.sf.net/sfu/appdyn_sfd2d_oct >>> _______________________________________________ >>> Ejbca-develop mailing list >>> Ejbca-develop@... >>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>> >> >> > > ----- > Nenhum vírus encontrado nessa mensagem. > Verificado por AVG - www.avgbrasil.com.br > Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de Lançamento: 10/25/12 > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > |
|
From: Juan C. <ju...@re...> - 2012-10-26 14:52:02
|
Cool! Thank you Bruno! We started building the RA on Grails too!! So you can help us a lot with your project and we can collaborate with you. I need to gen certificate based on Hard token (USB token and Smartcard). I don't know if your RA do that but if it don't, we can add this capability. Thank you! Juan 2012/10/26 Bruno Bonfils <as...@as...> > On Mon 22 October, Juan Caracoche wrote: > > Thank you! > > > > As I could see, all the API (EJB, WS) needs an username and password to > do > > findUser() into the EJBCA's user-table. I need to generate certificates > to > > users that aren´t into the EJBCA's user-table, so I will do a web app to > > authenticate the user ans then If the user don't exist in the EJBCA's > DB, I > > will create them with the createUser API (using the LDAP's CN as username > > and a fixed password) and then I could call the generatePKCS10Req to get > > the cert. > > [..] > > Hi Juan, few months ago we start the development of an opensource RA for > EJBCA, which support LDAP authentication. It's not yet released but if > you want you can be a beta tester :) > > This RA is Grails based (another language for the JVM) > > Best regards > > -- > http://asyd.net/home/ - Home Page > http://netvibes.com/asyd - Portal > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > -- Juan Caracoche | Business Developer jua...@re... Mobile: +54.911.4198.8941 www.redb.ee |
|
From: Marcos F. <mar...@ho...> - 2012-10-26 14:50:02
|
So just use x86 eclipse and x86 JDK/JRE? On 10/26/2012 04:05 PM, martijn.list wrote: > On 10/26/2012 03:52 PM, Tomas Gustavsson wrote: >> >> PKCS#11 is in a separate jar. If you don't get PKCS#11 with your Java >> there is something really wrong with your java installation I think. It >> is included in all normal java distributions. > > Presumably not with all 64bit versions of the JDK on Windows > > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7105065 > > Kind regards, > > Martijn Right so sorry! Forgot about that. _not_ on 64 bin windows. So with that it will not work. > >> >> Cheers, >> Tomas >> >> On 10/26/2012 03:48 PM, Marcos Fontana wrote: >>> Hi Tomas, >>> >>> Now I'm getting 2 errors: >>> >>> The import sun.security.pkcs11 cannot be resolved /ConnectDialog.java/CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui / line 55 / >>> >>> SunPKCS11 cannot be resolved to a type / ConnectDialog.java /CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui /line 598 / >>> >>> There's no pkcs11 package in sun.security, just pkcs. >>> >>> Thanks >>> >>> Check out from SVN, then there are eclipse project files included. >>> >>> On 10/26/2012 01:45 PM, Marcos Fontana wrote: >>>> Hi Tomas! >>>> >>>> In other posts, you said that to make the import ejbca in eclipse, only >>>> that it would have ir, but when I try to import it, I have to choose >>>> what type of project you wish to import and I find no compatible. How I >>>> should proceed? >>>> >>>> Thank you! >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> Nenhum vírus encontrado nessa mensagem. >>>> Verificado por AVG - http://www.avgbrasil.com.br <http://www.avgbrasil.com.br> >>>> Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de >>>> Lançamento: 10/25/12 >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Everyone hates slow websites. So do we. >>>> Make your web apps faster with AppDynamics >>>> Download AppDynamics Lite for free today: >>>> http://p.sf.net/sfu/appdyn_sfd2d_oct >>>> >>>> >>>> >>>> _______________________________________________ >>>> Ejbca-develop mailing list >>>> Ejbca-develop@... >>>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>>> >>> >>> ----- >>> Nenhum vírus encontrado nessa mensagem. >>> Verificado por AVG - http://www.avgbrasil.com.br >>> Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de Lançamento: 10/25/12 >>> >>> >>> ------------------------------------------------------------------------------ >>> Everyone hates slow websites. So do we. >>> Make your web apps faster with AppDynamics >>> Download AppDynamics Lite for free today: >>> http://p.sf.net/sfu/appdyn_sfd2d_oct >>> _______________________________________________ >>> Ejbca-develop mailing list >>> Ejbca-develop@... >>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>> >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_sfd2d_oct >> _______________________________________________ >> Ejbca-develop mailing list >> Ejbca-develop@... >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >> > > ----- Nenhum vírus encontrado nessa mensagem. Verificado por AVG - www.avgbrasil.com.br Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de Lançamento: 10/25/12 |
|
From: Bruno B. <as...@as...> - 2012-10-26 14:41:03
|
On Mon 22 October, Juan Caracoche wrote: > Thank you! > > As I could see, all the API (EJB, WS) needs an username and password to do > findUser() into the EJBCA's user-table. I need to generate certificates to > users that aren´t into the EJBCA's user-table, so I will do a web app to > authenticate the user ans then If the user don't exist in the EJBCA's DB, I > will create them with the createUser API (using the LDAP's CN as username > and a fixed password) and then I could call the generatePKCS10Req to get > the cert. [..] Hi Juan, few months ago we start the development of an opensource RA for EJBCA, which support LDAP authentication. It's not yet released but if you want you can be a beta tester :) This RA is Grails based (another language for the JVM) Best regards -- http://asyd.net/home/ - Home Page http://netvibes.com/asyd - Portal |
|
From: Tomas G. <to...@pr...> - 2012-10-26 14:08:55
|
On 10/26/2012 04:05 PM, martijn.list wrote: > On 10/26/2012 03:52 PM, Tomas Gustavsson wrote: >> >> PKCS#11 is in a separate jar. If you don't get PKCS#11 with your Java >> there is something really wrong with your java installation I think. It >> is included in all normal java distributions. > > Presumably not with all 64bit versions of the JDK on Windows > > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7105065 > > Kind regards, > > Martijn Right so sorry! Forgot about that. _not_ on 64 bin windows. So with that it will not work. > >> >> Cheers, >> Tomas >> >> On 10/26/2012 03:48 PM, Marcos Fontana wrote: >>> Hi Tomas, >>> >>> Now I'm getting 2 errors: >>> >>> The import sun.security.pkcs11 cannot be resolved /ConnectDialog.java/CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui / line 55 / >>> >>> SunPKCS11 cannot be resolved to a type / ConnectDialog.java /CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui /line 598 / >>> >>> There's no pkcs11 package in sun.security, just pkcs. >>> >>> Thanks >>> >>> Check out from SVN, then there are eclipse project files included. >>> >>> On 10/26/2012 01:45 PM, Marcos Fontana wrote: >>>> Hi Tomas! >>>> >>>> In other posts, you said that to make the import ejbca in eclipse, only >>>> that it would have ir, but when I try to import it, I have to choose >>>> what type of project you wish to import and I find no compatible. How I >>>> should proceed? >>>> >>>> Thank you! >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> Nenhum vírus encontrado nessa mensagem. >>>> Verificado por AVG - http://www.avgbrasil.com.br <http://www.avgbrasil.com.br> >>>> Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de >>>> Lançamento: 10/25/12 >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Everyone hates slow websites. So do we. >>>> Make your web apps faster with AppDynamics >>>> Download AppDynamics Lite for free today: >>>> http://p.sf.net/sfu/appdyn_sfd2d_oct >>>> >>>> >>>> >>>> _______________________________________________ >>>> Ejbca-develop mailing list >>>> Ejbca-develop@... >>>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>>> >>> >>> ----- >>> Nenhum vírus encontrado nessa mensagem. >>> Verificado por AVG - www.avgbrasil.com.br >>> Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de Lançamento: 10/25/12 >>> >>> >>> ------------------------------------------------------------------------------ >>> Everyone hates slow websites. So do we. >>> Make your web apps faster with AppDynamics >>> Download AppDynamics Lite for free today: >>> http://p.sf.net/sfu/appdyn_sfd2d_oct >>> _______________________________________________ >>> Ejbca-develop mailing list >>> Ejb...@li... >>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>> >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_sfd2d_oct >> _______________________________________________ >> Ejbca-develop mailing list >> Ejb...@li... >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >> > > |
|
From: martijn.list <mar...@gm...> - 2012-10-26 14:05:30
|
On 10/26/2012 03:52 PM, Tomas Gustavsson wrote: > > PKCS#11 is in a separate jar. If you don't get PKCS#11 with your Java > there is something really wrong with your java installation I think. It > is included in all normal java distributions. Presumably not with all 64bit versions of the JDK on Windows http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7105065 Kind regards, Martijn > > Cheers, > Tomas > > On 10/26/2012 03:48 PM, Marcos Fontana wrote: >> Hi Tomas, >> >> Now I'm getting 2 errors: >> >> The import sun.security.pkcs11 cannot be resolved /ConnectDialog.java/CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui / line 55 / >> >> SunPKCS11 cannot be resolved to a type / ConnectDialog.java /CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui /line 598 / >> >> There's no pkcs11 package in sun.security, just pkcs. >> >> Thanks >> >> Check out from SVN, then there are eclipse project files included. >> >> On 10/26/2012 01:45 PM, Marcos Fontana wrote: >>> Hi Tomas! >>> >>> In other posts, you said that to make the import ejbca in eclipse, only >>> that it would have ir, but when I try to import it, I have to choose >>> what type of project you wish to import and I find no compatible. How I >>> should proceed? >>> >>> Thank you! >>> >>> ------------------------------------------------------------------------ >>> >>> Nenhum vírus encontrado nessa mensagem. >>> Verificado por AVG - http://www.avgbrasil.com.br <http://www.avgbrasil.com.br> >>> Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de >>> Lançamento: 10/25/12 >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Everyone hates slow websites. So do we. >>> Make your web apps faster with AppDynamics >>> Download AppDynamics Lite for free today: >>> http://p.sf.net/sfu/appdyn_sfd2d_oct >>> >>> >>> >>> _______________________________________________ >>> Ejbca-develop mailing list >>> Ejbca-develop@... >>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>> >> >> ----- >> Nenhum vírus encontrado nessa mensagem. >> Verificado por AVG - www.avgbrasil.com.br >> Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de Lançamento: 10/25/12 >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_sfd2d_oct >> _______________________________________________ >> Ejbca-develop mailing list >> Ejb...@li... >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >> > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > -- DJIGZO email encryption |
|
From: Tomas G. <to...@pr...> - 2012-10-26 13:52:56
|
PKCS#11 is in a separate jar. If you don't get PKCS#11 with your Java there is something really wrong with your java installation I think. It is included in all normal java distributions. Cheers, Tomas On 10/26/2012 03:48 PM, Marcos Fontana wrote: > Hi Tomas, > > Now I'm getting 2 errors: > > The import sun.security.pkcs11 cannot be resolved /ConnectDialog.java/CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui / line 55 / > > SunPKCS11 cannot be resolved to a type / ConnectDialog.java /CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui /line 598 / > > There's no pkcs11 package in sun.security, just pkcs. > > Thanks > > Check out from SVN, then there are eclipse project files included. > > On 10/26/2012 01:45 PM, Marcos Fontana wrote: >> Hi Tomas! >> >> In other posts, you said that to make the import ejbca in eclipse, only >> that it would have ir, but when I try to import it, I have to choose >> what type of project you wish to import and I find no compatible. How I >> should proceed? >> >> Thank you! >> >> ------------------------------------------------------------------------ >> >> Nenhum vírus encontrado nessa mensagem. >> Verificado por AVG - http://www.avgbrasil.com.br <http://www.avgbrasil.com.br> >> Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de >> Lançamento: 10/25/12 >> >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_sfd2d_oct >> >> >> >> _______________________________________________ >> Ejbca-develop mailing list >> Ejbca-develop@... >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >> > > ----- > Nenhum vírus encontrado nessa mensagem. > Verificado por AVG - www.avgbrasil.com.br > Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de Lançamento: 10/25/12 > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > |
|
From: Marcos F. <mar...@ho...> - 2012-10-26 13:48:46
|
Hi Tomas, Now I'm getting 2 errors: The import sun.security.pkcs11 cannot be resolved /ConnectDialog.java/CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui / line 55 / SunPKCS11 cannot be resolved to a type / ConnectDialog.java /CertDigital/modules/batchenrollment-gui/src/org/ejbca/batchenrollmentgui /line 598 / There's no pkcs11 package in sun.security, just pkcs. Thanks Check out from SVN, then there are eclipse project files included. On 10/26/2012 01:45 PM, Marcos Fontana wrote: > Hi Tomas! > > In other posts, you said that to make the import ejbca in eclipse, only > that it would have ir, but when I try to import it, I have to choose > what type of project you wish to import and I find no compatible. How I > should proceed? > > Thank you! > > ------------------------------------------------------------------------ > > Nenhum vírus encontrado nessa mensagem. > Verificado por AVG - http://www.avgbrasil.com.br <http://www.avgbrasil.com.br> > Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de > Lançamento: 10/25/12 > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > > > > _______________________________________________ > Ejbca-develop mailing list > Ejbca-develop@... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > ----- Nenhum vírus encontrado nessa mensagem. Verificado por AVG - www.avgbrasil.com.br Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de Lançamento: 10/25/12 |
|
From: Tomas G. <to...@pr...> - 2012-10-26 11:49:19
|
Check out from SVN, then there are eclipse project files included. On 10/26/2012 01:45 PM, Marcos Fontana wrote: > Hi Tomas! > > In other posts, you said that to make the import ejbca in eclipse, only > that it would have ir, but when I try to import it, I have to choose > what type of project you wish to import and I find no compatible. How I > should proceed? > > Thank you! > > ------------------------------------------------------------------------ > > Nenhum vírus encontrado nessa mensagem. > Verificado por AVG - www.avgbrasil.com.br <http://www.avgbrasil.com.br> > Versão: 2013.0.2742 / Banco de dados de vírus: 2617/5854 - Data de > Lançamento: 10/25/12 > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > > > > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > |
|
From: Marcos F. <mar...@ho...> - 2012-10-26 11:45:34
|
Hi Tomas! In other posts, you said that to make the import ejbca in eclipse, only that it would have ir, but when I try to import it, I have to choose what type of project you wish to import and I find no compatible. How I should proceed? Thank you! _____ Nenhum virus encontrado nessa mensagem. Verificado por AVG - www.avgbrasil.com.br Versao: 2013.0.2742 / Banco de dados de virus: 2617/5854 - Data de Lancamento: 10/25/12 |