periwinkle,
This did not work. Any other suggestions from anyone ?
Thanks anyhow !
Main Topics
Browse All TopicsBackground: I am trying to generate a CSR, so I can submit to our CA to obtain a cert.
My environment is: Windows2k, Apache 2.0.48 w/ OpenSSL 0.9.7c
When I type:
openssl req -new -nodes -keyout myserver.key -out server.csr
Receive the following error msg:
unable to find 'distinguished_name' in config
problems making certificate request
1440:error:0E06D06A:config
I realize this forum is not necessarily focused on providing Apache and/or OpenSSL support, but there doesn't seem to be one that is that I can find. So, thought I would start here and perhaps obtain some sort of direction from someone here.
Thanks to all who take this question under consideration !
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
NixGuy
After posting I continued to search for a solution and luckily I found one, hopefully this will also help you if you havent fixed it already.
when you generate the CSR use the -config switch to point to your config file :
In my case :
openssl req -new -nodes -keyout myserver.key -out server.csr -config OpenSSL.cnf
When I encountered my problem, I was following the tutorial located at :
http://www.devx.com/openso
The remainder of the tutorial is spot on
(the config file they use is downloadable from the site via the "Download the code for this article" link on the left hand side of the page)
Regards
M Reyes
Business Accounts
Answer for Membership
by: periwinklePosted on 2004-04-16 at 18:41:09ID: 10847358
NixGuy -
According to Thawte.com (one Cert Authority), for OpenSSL (modSSL), to generate a csr, you do the following two commands (first to generate the key, and then to generate the CSR):
openssl genrsa -des3 -out www.virtualhost.com.key 1024
openssl req -new -key www.virtualhost.com.key -out www.virtualhost.com.csr
FWIW, I'm not familiar with the 'nodes' option.