Now solved. I had to download and install openssl and copy the openssl.cnf file from the openssl installation folder (usually c:\openssl\bin) to the nokia one (c:\nokia\am1_0\apache\bin).
________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fulvio Allegretti Sent: Thursday, November 16, 2006 9:01 AM To: openssl-users@openssl.org Subject: Problem with certificate request. Hi all, I am having problem generating a certificate request. I am installing a software called Appliance Manager on Win2k3 SP1. This is a Nokia software which installs apache server. I am unable to start the apache service and my understanding is that this is because I have not been able to generate a certificate (not even the request). The path to apache is C:\Nokia\AM1_0\apache and there is the openssl tool C:\Nokia\AM1_0\apache\bin I have been supplied with a number of batch files to help?! me request and generate a certificate but so far I have failed. These are some of the lines of the script: echo "Generating the Key for BE Server" %OPENSSL_HOME%\bin\openssl genrsa -rand world.png -out BEServer.key 1024 echo "Generating the CSR for BE Server" %OPENSSL_HOME%\bin\openssl req -new -key BEServer.key -out BEServer.csr echo "Generating the Certificate for BE Server" %OPENSSL_HOME%\bin\openssl x509 -req -days 3000 -in BEServer.csr -signkey BEServer.key -out BEServer.cer I have created the OPENSSL_HOME variable and this should be right as it is generating the key, this is what I get from running the batch: C:\Nokia\AM1_0\bin>BECert.bat "Generating the Key for BE Server" Loading 'screen' into random state - done 0 semi-random bytes loaded Generating RSA private key, 1024 bit long modulus ..++++++ ........++++++ e is 65537 (0x10001) "Generating the CSR for BE Server" Unable to load config info unable to find 'distinguished_name' in config problems making Certificate Request 3176:error:0E06D06A:configuration file routines:NCONF_get_string:no conf or envi ronment variable:.\crypto\conf\conf_lib.c:325: "Generating the Certificate for BE Server" Loading 'screen' into random state - done BEServer.csr: No such file or directory "Copying the certificate into the destination folder" 1 file(s) copied. The system cannot find the file specified. The system cannot find the file specified. "Importing the BEServer certificate into truststore file" keytool error: java.lang.Exception: Alias <bessl> does not exist keytool error: java.io.FileNotFoundException: BEServer.cer (The system cannot fi nd the file specified) If I browse to C:\\nokia\am1_0\apache\bin and run openssl wheu I type req this is what I get: OpenSSL> req Unable to load config info Reading on this forum it would seem that I need to do something with the openssl.cnf file in the openssl folder but neither the file or the folder exist on my machine. Let me know if you need more info. I know it's a long shot, but any help would be appreciated. Thanks, Fu ______________________________________________________________________ You might be interested in this... What's the secret of ICT success? For many schools, colleges and authorities it's not a secret anymore. Find out more now: http://www.rm.com/customersuccess/default.asp?srcurl=ICS161006PT ______________________________________________________________________ Visit our Website at http://www.rm.com This message is confidential. You should not copy it or disclose its contents to anyone. You may use and apply the information for the intended purpose only. Internet communications are not secure; therefore, RM does not accept legal responsibility for the contents of this message. Any views or opinions presented are those of the author only and not of RM. If this email has come to you in error, please delete it, along with any attachments. Please note that RM may intercept incoming and outgoing email communications. Freedom of Information Act 2000 This email and any attachments may contain confidential information belonging to RM. Where the email and any attachments do contain information of a confidential nature, including without limitation information relating to trade secrets, special terms or prices these shall be deemed for the purpose of the Freedom of Information Act 2000 as information provided in confidence by RM and the disclosure of which would be prejudicial to RM's commercial interests. This email has been scanned for viruses by Trend ScanMail.