Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 Apache on Nokia Appliance Manager create custom SSL key
Google
Post new topic Reply to topic
Author Message
fallegretti
 
 


Joined: 15 Nov 2006
Posts: 1

PostPosted: Wed Nov 15, 2006 2:32 pm Reply with quoteBack to top

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 uderstanding is that this is bacause I have not been able to generate a certficate (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 requeste 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 forume 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 appriated.
Thanks,
Fu
View user's profileSend private message
Vlad Alexa Mancini
lead developer
lead developer


Joined: 07 Jul 2003
Posts: 1539

PostPosted: Thu Nov 16, 2006 10:45 am Reply with quoteBack to top

basically your problem seems to be that openssl can not open the config file

make sure you have a openssl.cnf file where the openssl executable resides and it should fix it
View user's profileSend private message
DELETED
Guest





PostPosted: Sat Aug 16, 2008 8:48 am Reply with quoteBack to top

DELETED
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT