Hello, I am running the foll. commands for setting up openldap with openssl. And getting the error listed below. Please help. Also I checked out changing openssl.cnf line to private_key = $dir/private/cakey.pem # The private key
[EMAIL PROTECTED] misc]# ./CA.pl -newca CA certificate filename (or enter to create) Mail server, CSE [EMAIL PROTECTED] misc]# ls CA.pl CA.sh c_hash c_info c_issuer c_name demoCA [EMAIL PROTECTED] misc]# openssl req -newkey rsa:1024 -nodes -days 365 -keyout newreq.pem -out newreq.pem Generating a 1024 bit RSA private key ...++++++ .........................................................++++++ writing new private key to 'newreq.pem' ----- You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. ----- Country Name (2 letter code) [AU]:IN State or Province Name (full name) [Some-State]:Maharashtra Locality Name (eg, city) []:Mumbai Organization Name (eg, company) [Internet Widgits Pty Ltd]: Organizational Unit Name (eg, section) []: Common Name (eg, YOUR name) []: Email Address []: Please enter the following 'extra' attributes to be sent with your certificate request A challenge password []: An optional company name []: [EMAIL PROTECTED] misc]# ./CA.pl -sign Using configuration from /usr/local/openssl/openssl.cnf unable to load CA private key 14024:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:644:Expecting: ANY PRIVATE KEY Signed certificate is in newcert.pem thanks and regards, Suresh -- View this message in context: http://www.nabble.com/Error-loading-CA-private-key-tp15760184p15760184.html Sent from the OpenSSL - User mailing list archive at Nabble.com. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]