|
From: Koen S. <ko...@se...> - 2003-02-27 20:49:19
|
Hi,
I have been doing some tests with the latest ejbca, but I've got a =
couple of errors which I can't solve with my certificate-knowledge
I have created my p12 certificate to act as my main certificate using ca =
makeroot, but when I try to use it.
2003-02-27 15:54:55,837 DEBUG =
[se.anatom.ejbca.ca.sign.PKCS12SigningDevice] >PKCS12SigningDevice()
2003-02-27 15:54:55,840 DEBUG =
[se.anatom.ejbca.ca.sign.PKCS12SigningDevice] keystore:***********
2003-02-27 15:54:55,840 DEBUG =
[se.anatom.ejbca.ca.sign.PKCS12SigningDevice] keystorepass: **********
2003-02-27 15:55:06,744 DEBUG =
[se.anatom.ejbca.ca.sign.PKCS12SigningDevice] privateKeyAlias: =
privateKey
2003-02-27 15:55:06,745 DEBUG =
[se.anatom.ejbca.ca.sign.PKCS12SigningDevice] privateKeyPass: null
2003-02-27 15:55:06,745 DEBUG [se.anatom.ejbca.util.KeyTools] =
>getCertChain: alias=3D'privateKey'
2003-02-27 15:55:06,746 DEBUG [se.anatom.ejbca.util.KeyTools] Certchain =
retrieved from alias 'privateKey' has length 1
2003-02-27 15:55:06,748 DEBUG =
[se.anatom.ejbca.ca.sign.RSASignSessionBean] Caught exception in =
ejbCreate():
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:39)
at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at =
se.anatom.ejbca.ca.sign.RSASignSessionBean.ejbCreate(RSASignSessionBean.j=
ava:129)
Could we do this via an interface (of the factory) instead of using =
reflection? This might make the process more rebust.
2003-02-27 15:54:55,793 DEBUG =
[se.anatom.ejbca.ca.sign.RSASignSessionBean] >ejbCreate()
2003-02-27 15:54:55,820 DEBUG [se.anatom.ejbca.BaseSessionBean] =
NamingException, can't lookup 'java:comp/env/ejb/PublisherSession1'
2003-02-27 15:54:55,820 DEBUG =
[se.anatom.ejbca.ca.sign.RSASignSessionBean] Failed to find publisher at =
index '1', no more publishers.
Another question I have, could we make a baseCMPBean and baseSessionBean =
with all basic cmp/session methods. I already saw we're doing this on =
some places but not everywhere.=20
Koen |