From: Carolin L. <car...@un...> - 2008-01-16 14:09:25
|
Hi all, I try to generate certificates for the privacy ca using tccert, but it fails: ./tccert.sh -i ca ca.ini ***************************************************************************** *** *** *** Welcome to the IAIK JCE Library *** *** *** *** This version of IAIK-JCE is licensed for evaluation, education, *** *** research, and use in open-source projects only. *** *** Commercial use of this software is prohibited. *** *** For details please see http://jce.iaik.tugraz.at/sales/. *** *** This message does not appear in the registered commercial version. *** *** *** ***************************************************************************** generating CA certificates... CAroot 15:07:09:783 [INFO] CACertificate::<init> (49): generating RSA KeyPair for CA certificate... 15:07:16:902 [INFO] CACertificate::<init> (74): root CA cert ---> issuerDN = subjectDN Exception in thread "main" iaik.utils.InternalErrorException: PBEParameterSpec type required at iaik.pkcs.pkcs8.EncryptedPrivateKeyInfo.encrypt(Unknown Source) at iaik.pkcs.pkcs8.EncryptedPrivateKeyInfo.encrypt(Unknown Source) at iaik.pkcs.pkcs8.EncryptedPrivateKeyInfo.encrypt(Unknown Source) at iaik.tc.cert.common.Common.writePrivateKeyToFile(Common.java:363) at iaik.tc.TCcert.generateCA(TCcert.java:247) at iaik.tc.TCcert.main(TCcert.java:118) (I used ca.ini from the examples folder for testing purposes... it also fails with certs.ini from pca) My Java version is 1.6: java -version java version "1.6.0_03" Java(TM) SE Runtime Environment (build 1.6.0_03-b05) Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode) Does anybody have an idea whats going wrong here? Regards Carolin |