Importation of certification
Zouhair BOUNOUALA
bozouhair at gmail.com
Thu May 24 06:01:34 EDT 2007
Hi,
In the order to integrate CAS Server and Openldap.I have made as below :
My env is :
OS : Centos 5.0
Tech : openldap 2.3/openssl 0.9.8b/jdk-1_5_0_11-linux-i586.bin/CAS 3.0.7
I have create my certification for openldap as below :
/etc/pki/tls/misc/CA –newca
openssl req -newkey rsa:1024 -nodes -keyout newreq.pem -out newreq.pem
/etc/pki/tls/misc/CA -sign
When I want to import this certification to Java environnement as :
/opt/java/bin/keytool -import -keystore
/opt/java/jre/lib/security/cacerts -file /etc/CA/cacert.pem -alias
ldapcas
I have the following error :
erreur keytool : java.lang.Exception: Input is not an certificat X.509
NB : In centos 5.0, by default, there is java environnement.And I have
already used this method but in older env :
OS : Centos 4.4
Tech : openldap-2.2/openssl-0.9.7a/jdk-1_5_0_11-linux-i586.bin/CAS 3.0.7
When I have made mistakes?How to resolve this porblem?
Please help me.
Many thanks to any reply.
Yours trully.
More information about the cas
mailing list