Matthias Liebetanz wrote:
>
> This error occured when I tried to make a server certificate:
>
> >OpenSSL> req -new -x509 -days 365 -key ca.key -out ca.crt
> >Using configuration from c:\openssl\openssl.cnf
> >Unable to load config info
> >Enter PEM pass phrase:
> >unable to find 'distinguished_name' in config
> >problems making Certificate Request
> >error in req
>
> But the openssl.cnf is placed correctly in c:\openssl\openssl.cnf.
> I searched around in dejanews and found many messages reporting the same
> problem on various platforms. So can anybody help me out?
>
I've seen this a few times but its usually a typo in the name or
alternatively some kind of unprintable character in there thats messing
it up. Its not immediately apparent what the problem is from your
description.
There are alternative ways to set the location of the config file.
Try setting the OPENSSL_CONF environment variable before running the
openssl command line utility or pass the config file location with the
-config option and see what happens.
Also see if slashes or backslashes as directory separators works.
Steve.
--
Dr Stephen N. Henson. http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED]
Senior crypto engineer, Celo Communications: http://www.celocom.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]