|
From: Koen S. <koe...@us...> - 2003-03-03 11:45:22
|
Hi all, when using the setup-adminweb script with jdk1.4.1, I get the following error when it tries to save the p12 certificate intot the p12 directory. It generates the error with the superadmin Koen 18437 [main] DEBUG se.anatom.ejbca.util.KeyTools - >createP12: alias=superadmin, privKey, cert=CN=SuperAdmin, cachain.length=1 18437 [main] DEBUG se.anatom.ejbca.batch.BatchMakeP12 - >storeKeyStore: ks=java.security.KeyStore@102b2b6, username=superadmin 28772 [main] ERROR se.anatom.ejbca.batch.BatchMakeP12 - An error happened, setting status to FAILED. java.lang.NullPointerException at org.bouncycastle.asn1.DERBMPString.encode(DERBMPString.java:110) at org.bouncycastle.asn1.DEROutputStream.writeObject(DEROutputStream.java:72) at org.bouncycastle.asn1.DERSet.encode(DERSet.java:60) at org.bouncycastle.asn1.DEROutputStream.writeObject(DEROutputStream.java:72) at org.bouncycastle.asn1.DERConstructedSequence.encode(DERConstructedSequence.j ava:40) at org.bouncycastle.asn1.DEROutputStream.writeObject(DEROutputStream.java:72) at org.bouncycastle.asn1.DERConstructedSet.encode(DERConstructedSet.java:65) at org.bouncycastle.asn1.DEROutputStream.writeObject(DEROutputStream.java:72) at org.bouncycastle.asn1.DERConstructedSequence.encode(DERConstructedSequence.j ava:40) at org.bouncycastle.asn1.DEROutputStream.writeObject(DEROutputStream.java:76) at org.bouncycastle.asn1.DERConstructedSequence.encode(DERConstructedSequence.j ava:40) at org.bouncycastle.asn1.DEROutputStream.writeObject(DEROutputStream.java:72) at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.engineStore(JDKPKCS12KeyStor e.java:1271) at java.security.KeyStore.store(KeyStore.java:620) at se.anatom.ejbca.batch.BatchMakeP12.storeKeyStore(BatchMakeP12.java:160) at se.anatom.ejbca.batch.BatchMakeP12.createUser(BatchMakeP12.java:231) at se.anatom.ejbca.batch.BatchMakeP12.processUser(BatchMakeP12.java:253) at se.anatom.ejbca.batch.BatchMakeP12.createAllWithStatus(BatchMakeP12.java:344 ) at se.anatom.ejbca.batch.BatchMakeP12.createAllFailed(BatchMakeP12.java:278) at se.anatom.ejbca.batch.BatchMakeP12.main(BatchMakeP12.java:451) |