<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
Please provide us debug log info :<br>
<br>
debug = 7<br>
output = stunnel.log<br>
<br>
Ludovic.<br>
<br>
<br>
Le 21/12/2011 10:31, Zubair Ali Mansoor a écrit :
<blockquote cite="mid:000f01ccbfc3$6d23c350$476b49f0$@01systems.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (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;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
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;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Verdana","sans-serif";
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Verdana","sans-serif";
color:windowtext;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Verdana","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></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]-->
<div class="WordSection1">
<p class="MsoNormal">Hi,<br>
<br>
I got VeriSign Test SSL certificate. I have been trying to
configure it with STunnel. But there are errors in STunnel. I
have placed private key and CA signed certificate in a
separate file named ‘stunnel.pem’. Root and Intermediate
certificates have been placed in following order in a file
named ‘ca.pem’<br>
<br>
stunnel.pem<br>
<br>
-----BEGIN RSA PRIVATE KEY-----<br>
encrypted key<br>
-----END RSA PRIVATE KEY-----<br>
<br>
-----BEGIN CERTIFICATE-----<br>
VeriSign signed certificate<br>
-----END CERTIFICATE-----<br>
<br>
ca.pem<br>
-----BEGIN CERTIFICATE-----<br>
VeriSign Intermediate CA Certificate<br>
-----END CERTIFICATE-----<br>
<br>
-----BEGIN CERTIFICATE-----<br>
VeriSign Root CA Certificate<br>
-----END CERTIFICATE-----<br>
<br>
Here is stunnel.conf file. <br>
<br>
;key = server.key<br>
cert = stunnel.pem<br>
<br>
; Some performance tunings<br>
socket = l:TCP_NODELAY=1<br>
socket = r:TCP_NODELAY=1<br>
<br>
; Workaround for Eudora bug<br>
;options = DONT_INSERT_EMPTY_FRAGMENTS<br>
<br>
; Authentication stuff<br>
verify = 2<br>
; Don't forget to c_rehash CApath<br>
;CApath = certs<br>
; It's often easier to use CAfile<br>
CAfile = ca.pem<br>
;CAfile=zosIntermediate.pem<br>
; Don't forget to c_rehash CRLpath<br>
;CRLpath = crls<br>
; Alternatively you can use CRLfile<br>
;CRLfile = crls.pem<br>
<br>
; Some debugging stuff useful for troubleshooting<br>
;debug = 7<br>
output = stunnel.log<br>
<br>
; Use it for client mode<br>
client = no<br>
<br>
I have also tried to change order of certificates but nothing
is working. Anyone have idea how it can work. Your cooperation
will be highly appreciated. <br>
<br>
Thanks,<br>
<br>
Zubair<span
style="font-size:10.0pt;font-family:"Verdana","sans-serif""><o:p></o:p></span></p>
</div>
</blockquote>
<br>
</body>
</html>