[Date Prev][Date Next] [Chronological] [Thread] [Top]

Problem about CA Issue Certificate with LDAP

Hi all,

I'm a new comer, I'm trying to config a CA with LDAP follow this site http://www.openldap.org/pub/ksoper/OpenLDAP_TLS.html#4.2.

4.2 CA Issue Certificate

When going to step 4, I have receieved an error messeage.

root@ldap:/usr/local/openssl/bin# /usr/local/openssl/ssl/misc/CA.sh -sign
Using configuration from /usr/lib/ssl/openssl.cnf
Error opening CA private key ./demoCA/private/cakey.pem
665:error:02001002:system library:fopen:No such file or directory:bss_file.c:356:fopen('./demoCA/private/cakey.pem','r')
665:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:358:
unable to load CA private key
cat: newcert.pem: No such file or directory
Signed certificate is in newcert.pem

I think it's very simple, but i don't know how to solve it. I have tried to many ways but fail to fix it. Maybe i don't understand about the CA Certificate.

I... I am so confusing.

Please help,