[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssl-users
Subject:    openssl execution failure
From:       "David Schulberg" <davids () evertech ! com ! au>
Date:       2010-06-27 12:56:39
Message-ID: 000501cb15f8$30501b20$90f05160$ () com ! au
[Download RAW message or body]

Hi,

 

Have OpenSSL 0.9.8m on Windows 7. I have copied libeay32.dll and
ssleay32.dll from my  to windows\system32 directory. 

 

When I try to create csr file using following commands:

1.       First generating a key - a Triple-DES encrypted, 1024 bit RSA key
with
openssl genrsa –des3 –out server.key 1024

and then

 

2.       C:\Program Files (x86)\Apache Software
Foundation\Apache2.2\bin>openssl req -new

-config "..\conf\openssl.cnf" -key server.key -out server.csr

 

I get these errors

 

error on line -1 of ô..\conf\openssl.cnfö

280:error:02001003:system library:fopen:No such
process:.\crypto\bio\bss_file.c:

126:fopen('ô..\conf\openssl.cnfö','rb')

280:error:2006D080:BIO routines:BIO_new_file:no such
file:.\crypto\bio\bss_file.

c:129:

280:error:0E078072:configuration file routines:DEF_LOAD:no such
file:.\crypto\co

nf\conf_def.c:197:

 

Wondering what I have wrong...

 

Yours,

 

David

 


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0cm;
	margin-right:0cm;
	margin-bottom:0cm;
	margin-left:36.0pt;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
 /* List Definitions */
 @list l0
	{mso-list-id:455678620;
	mso-list-type:hybrid;
	mso-list-template-ids:1970416584 201916431 201916441 201916443 201916431 201916441 \
201916443 201916431 201916441 201916443;} @list l0:level1
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
ol
	{margin-bottom:0cm;}
ul
	{margin-bottom:0cm;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-AU link=blue vlink=purple>

<div class=WordSection1>

<p class=MsoNormal>Hi,<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Have OpenSSL 0.9.8m on Windows 7. I have copied libeay32.dll
and ssleay32.dll from my  to windows\system32 directory. <o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>When I try to create csr file using following \
commands:<o:p></o:p></p>

<p style='margin-left:36.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if \
!supportLists]><i><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><span \
style='mso-list:Ignore'>1.<span style='font:7.0pt "Times New \
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span></i><![endif]><span \
style='font-size:11.0pt;font-family: "Calibri","sans-serif"'>First generating a key - \
a Triple-DES encrypted, 1024 bit RSA key with<br>
<i>openssl genrsa &#8211;des3 &#8211;out server.key 1024<o:p></o:p></i></span></p>

<p class=MsoNormal style='background-attachment:scroll;background-position-x:
10px;background-position-y:5px'>and then<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if \
!supportLists]><i><span style='mso-list:Ignore'>2.<span style='font:7.0pt "Times New \
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span></span></i><![endif]><i>C:\Program Files (x86)\Apache Software \
Foundation\Apache2.2\bin&gt;openssl req -new<o:p></o:p></i></p>

<p class=MsoListParagraph><i>-config &quot;..\conf\openssl.cnf&quot; -key
server.key -out server.csr<o:p></o:p></i></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I get these errors<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>error on line -1 of ô..\conf\openssl.cnfö<o:p></o:p></p>

<p class=MsoNormal>280:error:02001003:system library:fopen:No such
process:.\crypto\bio\bss_file.c:<o:p></o:p></p>

<p class=MsoNormal>126:fopen('ô..\conf\openssl.cnfö','rb')<o:p></o:p></p>

<p class=MsoNormal>280:error:2006D080:BIO routines:BIO_new_file:no such
file:.\crypto\bio\bss_file.<o:p></o:p></p>

<p class=MsoNormal>c:129:<o:p></o:p></p>

<p class=MsoNormal>280:error:0E078072:configuration file routines:DEF_LOAD:no
such file:.\crypto\co<o:p></o:p></p>

<p class=MsoNormal>nf\conf_def.c:197:<o:p></o:p></p>

<p class=MsoNormal> <o:p></o:p></p>

<p class=MsoNormal>Wondering what I have wrong...<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Yours,<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>David<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majordomo@openssl.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic