Yasir Ali wrote: > > Hi, > > I am just starting on my thesis which involves ssh and ssl > usage. > > I was running the CA.pl script. I created a new CA, > and then i created certificate sign request and finally when > I did ./Ca.pl -signreq, it gave me the following error > > CA.pl -newca -worked > CA.pl -newreq -worked > CA.pl -signreq -gave error > > The error i got is this: > > Using configuration from usr/share/ssl/openssl.conf > unable to load CA private key > 5514:error:0906D06C:PEM routines:PEM_read_bio:no start > line:pem_lib.c:662:Expecting: ANY PRIVATE KEY > Signed Certificate is in newcert.pem > > any help will be appreciated. >
Did CA.pl -newca prompt you for any field values? If not then there's probably a demoCA directory from a previous unsuccessful attempt to create a CA. Try deleting the demoCA directory (and any files in it) and call CA.pl -newca again. Steve. -- Dr Stephen N. Henson. http://www.drh-consultancy.demon.co.uk/ Personal Email: [EMAIL PROTECTED] Senior crypto engineer, Gemplus: http://www.gemplus.com/ Core developer of the OpenSSL project: http://www.openssl.org/ Business Email: [EMAIL PROTECTED] PGP key: via homepage. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]