<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:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
@font-face
        {font-family:Webdings;
        panose-1:5 3 1 2 1 5 9 6 7 3;}
/* 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.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050" />
</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="SV" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I am trying to connect to a remote SSL enabled server via stunnel. I am using a single file for key and certificate “sunStunnel.pem”, just like the default “stunnel.pem” and I am getting following errors. Please let me
 know, what they mean and what should be done to resolve these?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><i><span lang="EN-US">Note: I was able to telnet the machine, so server seems to be working.<o:p></o:p></span></i></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">=======<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">  <b>Config<o:p></o:p></b></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">=======<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">debug = 7<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">output = stunnel.log<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">cert = sunStunnel.pem<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">[GPC-HOST]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">client = yes<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">[syslog]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">accept  = 127.0.0.1:2525<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">connect = <ip>:<port><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">=======<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">    <b> Log<o:p></o:p></b></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">=======<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%;text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;line-height:115%">No limit detected for the number of clients<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%;text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;line-height:115%">make_sockets: s_socket#1: FD=652 allocated (blocking mode)<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%;text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;line-height:115%">make_sockets: s_socket#2: FD=648 allocated (blocking mode)<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%;text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;line-height:115%">make_sockets: s_accept: FD=604 allocated (non-blocking mode)<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%;text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;line-height:115%">stunnel 4.47 on x86-pc-mingw32-gnu platform<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%;text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;line-height:115%">Compiled/running with OpenSSL 1.0.0e 6 Sep 2011<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%;text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;line-height:115%">Threading:WIN32 SSL:ENGINE Auth:none Sockets:SELECT,IPv6<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%;text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;line-height:115%">Reading configuration from file stunnel.conf<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%;text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;line-height:115%">Snagged 64 random bytes from C:/.rnd<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%;text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;line-height:115%">Wrote 1024 new random bytes to C:/.rnd<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%;text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;line-height:115%">PRNG seeded successfully<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%;text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;line-height:115%">Initializing SSL context for service GPC-HOST<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%;text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;line-height:115%">Certificate: sunStunnel.pem<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%;text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;line-height:115%">Certificate loaded<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%;text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;line-height:115%">Key file: sunStunnel.pem<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%;text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;line-height:115%"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:115%;text-autospace:none"><i><span lang="EN-US" style="font-size:10.0pt;line-height:115%">error queue: 140B0009: error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib<o:p></o:p></span></i></p>
<p class="MsoNormal" style="line-height:115%;text-autospace:none"><i><span lang="EN-US" style="font-size:10.0pt;line-height:115%">error queue: 907B00D: error:0907B00D:PEM routines:PEM_READ_BIO_PRIVATEKEY:ASN1 lib<o:p></o:p></span></i></p>
<p class="MsoNormal" style="line-height:115%;text-autospace:none"><i><span lang="EN-US" style="font-size:10.0pt;line-height:115%">error queue: D08303A: error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error<o:p></o:p></span></i></p>
<p class="MsoNormal" style="line-height:115%;text-autospace:none"><i><span lang="EN-US" style="font-size:10.0pt;line-height:115%">error queue: D06C03A: error:0D06C03A:asn1 encoding routines:ASN1_D2I_EX_PRIMITIVE:nested asn1 error<o:p></o:p></span></i></p>
<p class="MsoNormal" style="line-height:115%;text-autospace:none"><i><span lang="EN-US" style="font-size:10.0pt;line-height:115%">SSL_CTX_use_PrivateKey_file: D0680A8: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag<o:p></o:p></span></i></p>
<p class="MsoNormal" style="line-height:115%;text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;line-height:115%"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:115%;text-autospace:none"><b><i><span lang="EN-US" style="font-size:10.0pt;line-height:115%">Server is down<o:p></o:p></span></i></b></p>
<p class="MsoNormal" style="line-height:115%;text-autospace:none"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:115%;text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;line-height:115%;font-family:"Tahoma","sans-serif";color:gray">Kind Regards,<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%;text-autospace:none"><span style="font-size:10.0pt;line-height:115%;font-family:"Tahoma","sans-serif"">Hamid Shahid<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%;text-autospace:none"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:16.2pt;background:white"><a href="http://www.sungard.com/ten"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#737373;text-decoration:none"><img border="0" width="374" height="39" id="Picture_x0020_1" src="cid:image001.gif@01CCABA2.1BC15B10" alt="cid:image001.gif@01CC6F01.EF535C90"></span></a><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:16.2pt;background:white"><b><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black">Hamid Shahid
</span></b><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black">• </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#2A2A2A">Integration Developer • Front Arena •</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif"">
 Capital Markets • </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#2A2A2A">SunGard •
</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#2A2A2A">Kungsbron 2, PO Box 70351, SE-107 24 Stockholm, Sweden</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#2A2A2A"> • Tel
</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#2A2A2A">+46 (0) 8 454 0167
</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#2A2A2A">• Direct
</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#2A2A2A">+46 (0) 8 454 0167</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#2A2A2A"> • Mobile
</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#2A2A2A">+46 (0) 76 869 2167
</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#2A2A2A">•
</span><a href="mailto:ronny.andersson@sungard.com"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:blue;text-decoration:none">hamid.shahid@sungard.com</span></a><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#2A2A2A">
 • </span><a href="http://www.sungard.com/" target="_blank"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#0066CC;text-decoration:none">www.sungard.com</span></a><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:16.2pt;background:white"><span lang="EN-US" style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#737373">Join SunGard's customers, partners and industry experts at
</span><a href="http://www.sungard.com/ten" target="_blank"><span lang="EN-US" style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:blue;text-decoration:none">www.sungard.com/ten</span></a><span lang="EN-US" style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#737373">
 to discuss how the need for more Transparency, Efficiency and Networks is changing our industry and to register for a city day event near you.<br>
<b>VIENNA </b>HOUSTON <b>FRANKFURT </b>BEIJING </span><b><span lang="EN-US" style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#727272">HONG KONG</span></b><span lang="EN-US" style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#727272">
</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#737373">NEW YORK
<b>LONDON</b> SEOUL <b>ZURICH</b> MUMBAI <b>JOHANNESBURG </b>DUBAI </span><b><span lang="EN-US" style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#727272">SAO PAULO</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:16.2pt;background:white"><span lang="EN-US" style="font-size:7.0pt;font-family:"Arial","sans-serif";color:#737373">CONFIDENTIALITY: This e-mail (including any attachments) may contain confidential, proprietary and privileged
 information, and unauthorized disclosure or use is prohibited.  If you receive this e-mail in error, please notify the sender and delete this e-mail from your system.Thank you.</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="EN-US" style="font-size:22.0pt;font-family:Webdings;color:green">P</span></b><b><span lang="EN-US" style="font-size:28.0pt;font-family:"Trebuchet MS","sans-serif";color:blue">
</span></b><b><i><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:green">Please consider the environment before printing this e-mail.</span></i></b><b><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:green"><o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</body>
</html>