<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=us-ascii">
<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;}
@font-face
{font-family:"Hobo Std";
panose-1:0 0 6 0 0 0 0 0 0 0;}
/* 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;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</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-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>Reference: Stunnel Ver 4.31 Windows Binaries<o:p></o:p></p>
<p class=MsoNormal>This is the actual configuration file I am using. There is
not too much to it.<o:p></o:p></p>
<p class=MsoNormal>As shown below, this WORKS for Gmail’s SSL
port…. Port 465.<o:p></o:p></p>
<p class=MsoNormal>Notice that the sslVersion statement is remarked
“out”.<o:p></o:p></p>
<p class=MsoNormal>+++++++++++++++++++++++++++<o:p></o:p></p>
<p class=MsoNormal>output = STUNNEL.log<o:p></o:p></p>
<p class=MsoNormal>taskbar = NO<o:p></o:p></p>
<p class=MsoNormal>cert = stunnel.pem<o:p></o:p></p>
<p class=MsoNormal>client = yes<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>[SSMTP]<o:p></o:p></p>
<p class=MsoNormal>accept=DADSXPPRO:8025<o:p></o:p></p>
<p class=MsoNormal>connect=smtp.gmail.com:465<o:p></o:p></p>
<p class=MsoNormal>;sslVersion = TLSv1<o:p></o:p></p>
<p class=MsoNormal>++++++++++++++++++++++++++++<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>In theory (as I have read it…..), to change this to
TLS, I enable the sslVersion line,<o:p></o:p></p>
<p class=MsoNormal>And change the port (for Gmail) to 587. <o:p></o:p></p>
<p class=MsoNormal>Port 587 and TLS for Gmail have been tested and verified via
Microsoft Outlook testing.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>But when I do so, I cannot even log onto the Gmail server. <o:p></o:p></p>
<p class=MsoNormal>I get the error message referenced in the first message:<o:p></o:p></p>
<p class=MsoNormal>2010.02.25 10:35:44 LOG3[2696:2740]: SSL_connect: 1408F10B:
error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>It occurs to me that I am only using the
“stunnel.pem” file, as supplied by the installer program.<o:p></o:p></p>
<p class=MsoNormal>Do I have a certificate issue?<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='font-family:"Hobo Std"'>David M. Douglass<o:p></o:p></span></p>
<p class=MsoNormal>david@az-douglass.net<o:p></o:p></p>
<p class=MsoNormal>Home (480) 839-2629<o:p></o:p></p>
<p class=MsoNormal>Cell (602) 908-9092<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>