<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 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;}
/* 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;
font-family:"Calibri","sans-serif";}
@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]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>I am attempting to use stunnel to encrypt traffic between our backup client (Window2008R2) and our NetApp filer, but I’m not having any luck<o:p></o:p></p><p class=MsoNormal>We would like to use the stunnel to redirect the port 80 calls to the filer (ubfs2.buffalo.edu) to port 443.<o:p></o:p></p><p class=MsoNormal>Be design, the backup client (IBM Tivoli/TSM V6.2.4) makes a call to the Netapp over http.admin interface to tell it to create a snapshot.<o:p></o:p></p><p class=MsoNormal>The filer listens on https.admin (not http.admin), and we don’t want to turn on http.admin for security reasons.<o:p></o:p></p><p class=MsoNormal>I’ve included the stunnel.config file, hosts file, and the output below.<o:p></o:p></p><p class=MsoNormal>If anyone could give us a hand here it would be much appreciated.<o:p></o:p></p><p class=MsoNormal>We tested this config on a Mac laptop and it works just fine, so I would assume that it has something to do with Windows2008R2<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'><p class=MsoNormal style='border:none;padding:0in'>Stunnel.config<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>debug = 7<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>[snapdiff]<o:p></o:p></p><p class=MsoNormal>accept = localhost:80<o:p></o:p></p><p class=MsoNormal>connect = 128.205.5.55:443<o:p></o:p></p><p class=MsoNormal>sslVersion = all<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'><p class=MsoNormal style='border:none;padding:0in'>hosts<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>127.0.0.1 localhost ubfs2.buffalo.edu<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'><p class=MsoNormal style='border:none;padding:0in'>output<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>7[1596:4336]: No limit detected for the number of clients<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:30 LOG5[1596:4336]: stunnel 4.52 on x86-pc-mingw32-gnu platform<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:30 LOG5[1596:4336]: Compiled/running with OpenSSL 0.9.8s-fips 4 Jan 2012<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:30 LOG5[1596:4336]: Threading:WIN32 SSL:ENGINE,FIPS Auth:none Sockets:SELECT,IPv6<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:30 LOG5[1596:4336]: Reading configuration from file stunnel.conf<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:30 LOG5[1596:4336]: FIPS mode is enabled<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:30 LOG7[1596:4336]: Compression not enabled<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:30 LOG7[1596:4336]: Snagged 64 random bytes from C:/.rnd<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:30 LOG7[1596:4336]: Wrote 1024 new random bytes to C:/.rnd<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:30 LOG7[1596:4336]: PRNG seeded successfully<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:31 LOG6[1596:4336]: Initializing SSL context for service snapdiff<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:31 LOG7[1596:4336]: SSL options set: 0x00000004<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:31 LOG6[1596:4336]: SSL context initialized<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:31 LOG5[1596:4336]: Configuration successful<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:31 LOG7[1596:4336]: Service snapdiff bound FD=396 to 127.0.0.1:80<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:40 LOG7[1596:4336]: Service snapdiff accepted FD=452 from 127.0.0.1:51366<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:40 LOG7[1596:4336]: Creating a new thread<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:40 LOG7[1596:4336]: New thread created<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:40 LOG7[1596:4336]: Service snapdiff accepted FD=460 from 127.0.0.1:51367<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:40 LOG7[1596:4336]: Creating a new thread<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:40 LOG7[1596:4336]: New thread created<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:40 LOG7[1596:5080]: Service snapdiff started<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:40 LOG5[1596:5080]: Service snapdiff accepted connection from 127.0.0.1:51366<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:40 LOG6[1596:5080]: connect_blocking: connecting 128.205.5.55:443<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:40 LOG7[1596:5080]: connect_blocking: s_poll_wait 128.205.5.55:443: waiting 10 seconds<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:40 LOG7[1596:4720]: Service snapdiff started<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:40 LOG5[1596:4720]: Service snapdiff accepted connection from 127.0.0.1:51367<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:40 LOG6[1596:4720]: connect_blocking: connecting 128.205.5.55:443<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:40 LOG7[1596:4720]: connect_blocking: s_poll_wait 128.205.5.55:443: waiting 10 seconds<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:40 LOG5[1596:4720]: connect_blocking: connected 128.205.5.55:443<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:40 LOG5[1596:4720]: Service snapdiff connected remote server from 128.205.4.234:51369<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:40 LOG7[1596:4720]: Remote FD=508 initialized<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:40 LOG3[1596:4720]: SSL_connect: 14077410: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:40 LOG5[1596:4720]: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:40 LOG7[1596:4720]: Service snapdiff finished (1 left)<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:43 LOG5[1596:5080]: connect_blocking: connected 128.205.5.55:443<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:43 LOG5[1596:5080]: Service snapdiff connected remote server from 128.205.4.234:51368<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:43 LOG7[1596:5080]: Remote FD=480 initialized<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:43 LOG3[1596:5080]: SSL_connect: 14077410: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:43 LOG5[1596:5080]: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket<o:p></o:p></p><p class=MsoNormal>2012.01.27 15:16:43 LOG7[1596:5080]: Service snapdiff finished (0 left)<o:p></o:p></p></div></body></html>