<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div tabindex="-1"><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">Hi</span><br>
</div>
<div>
<div dir="ltr">
<div>
<div>
<div>
<p style="margin-top:0px; margin-bottom:0px; margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span> </span></p>
<p style="margin-top:0px; margin-bottom:0px; margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span>I need to <span> </span>enable a <i>tunnel_out</i> <span> </span>for UTL_HTTP from http:// to https://</span></p>
<p style="margin-top:0px; margin-bottom:0px; margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span><br>
</span></p>
<p style="margin-top:0px; margin-bottom:0px; margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span>I installed stunnel 5.34 win32 in a windows 2008 server.</span></p>
<p style="margin-top:0px; margin-bottom:0px; margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span>I am including my stunnel.conf y log file (debug=7)</span></p>
<p style="margin-top:0px; margin-bottom:0px; margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span> </span></p>
<p style="margin-top:0px; margin-bottom:0px; margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span>As you can see in the log file, I get this error:</span></p>
<p style="margin-top:0px; margin-bottom:0px; margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span>2019.12.01 14:08:12 LOG3[7]: SSL_accept: 1407609C: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request<br>
</span></p>
<p style="margin-top:0px; margin-bottom:0px; margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span><br>
</span></p>
<p style="margin-top:0px; margin-bottom:0px; margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span><br>
</span></p>
<p style="margin-top:0px; margin-bottom:0px; margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span>Could you help me please?</span></p>
<p style="margin-top:0px; margin-bottom:0px; margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span><br>
</span></p>
<p style="margin-top:0px; margin-bottom:0px; margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span><br>
</span></p>
<p style="margin-top:0px; margin-bottom:0px; margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span style="background-color:rgb(255,255,0)"><b>MY stunnel.conf---</b></span></p>
<p style="margin-top:0px; margin-bottom:0px; margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
debug = 7<br>
</p>
<p style="margin-top:0px; margin-bottom:0px; margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span>output = stunnel.log</span></p>
<p style="margin-top:0px; margin-bottom:0px; margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span> </span></p>
<p style="margin-top:0px; margin-bottom:0px; margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span>[https]</span></p>
<p style="margin-top:0px; margin-bottom:0px; margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span>accept<span> </span>= 127.0.0.1:80</span></p>
<p style="margin-top:0px; margin-bottom:0px; margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span>connect = sub.dominio.com:443</span></p>
<p style="margin-top:0px; margin-bottom:0px; margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span>cert = stunnel.pem</span></p>
<p style="margin-top:0px; margin-bottom:0px; margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span>TIMEOUTclose = 0</span></p>
<p style="margin-top:0px; margin-bottom:0px; margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span> </span></p>
<p style="margin-top:0px; margin-bottom:0px; margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span> This version has openssl<img size="12948" tabindex="-1" style="max-width: 100%; height: auto; cursor: pointer" data-outlook-trace="F:0|T:1" src="cid:b6de9085-07c4-43d0-b772-bb9beb37c2ac"></span></p>
<p style="margin-top:0px; margin-bottom:0px; margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span><br>
</span></p>
<p style="margin-top:0px; margin-bottom:0px; margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span style="background-color:rgb(255,255,0)"><b>MY LOG---</b></span></p>
<div style="margin:0px 0cm 0.000133333px; font-size:11pt; font-family:Calibri,sans-serif">
<span>2019.12.01 14:00:37 LOG7[cron]: Cron thread initialized<br>
</span>
<div>2019.12.01 14:00:37 LOG7[main]: No limit detected for the number of clients<br>
</div>
<div>2019.12.01 14:00:37 LOG5[main]: stunnel 5.34 on x86-pc-msvc-1500 platform<br>
</div>
<div>2019.12.01 14:00:37 LOG5[main]: Compiled/running with OpenSSL 1.0.2h-fips 3 May 2016<br>
</div>
<div>2019.12.01 14:00:37 LOG5[main]: Threading:WIN32 Sockets:SELECT,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI<br>
</div>
<div>2019.12.01 14:00:37 LOG7[main]: errno: (*_errno())<br>
</div>
<div>2019.12.01 14:00:37 LOG7[ui]: GUI message loop initialized<br>
</div>
<div>2019.12.01 14:00:37 LOG5[main]: Reading configuration from file stunnel.conf<br>
</div>
<div>2019.12.01 14:00:37 LOG5[main]: UTF-8 byte order mark detected<br>
</div>
<div>2019.12.01 14:00:37 LOG5[main]: FIPS mode disabled<br>
</div>
<div>2019.12.01 14:00:37 LOG7[main]: Compression disabled<br>
</div>
<div>2019.12.01 14:00:37 LOG7[main]: Snagged 64 random bytes from C:/.rnd<br>
</div>
<div>2019.12.01 14:00:37 LOG7[main]: Wrote 1024 new random bytes to C:/.rnd<br>
</div>
<div>2019.12.01 14:00:37 LOG7[main]: PRNG seeded successfully<br>
</div>
<div>2019.12.01 14:00:37 LOG6[main]: Initializing service [https]<br>
</div>
<div>2019.12.01 14:00:38 LOG6[main]: Loading certificate from file: stunnel.pem<br>
</div>
<div>2019.12.01 14:00:38 LOG6[main]: Certificate loaded from file: stunnel.pem<br>
</div>
<div>2019.12.01 14:00:38 LOG6[main]: Loading private key from file: stunnel.pem<br>
</div>
<div>2019.12.01 14:00:38 LOG6[main]: Private key loaded from file: stunnel.pem<br>
</div>
<div>2019.12.01 14:00:38 LOG7[main]: Private key check succeeded<br>
</div>
<div>2019.12.01 14:00:38 LOG7[main]: DH initialization<br>
</div>
<div>2019.12.01 14:00:38 LOG7[main]: Could not load DH parameters from stunnel.pem<br>
</div>
<div>2019.12.01 14:00:38 LOG6[main]: Using dynamic DH parameters<br>
</div>
<div>2019.12.01 14:00:38 LOG7[main]: ECDH initialization<br>
</div>
<div>2019.12.01 14:00:38 LOG7[main]: ECDH initialized with curve prime256v1<br>
</div>
<div>2019.12.01 14:00:38 LOG7[main]: SSL options: 0x03004004 (+0x03004000, -0x00000000)<br>
</div>
<div>2019.12.01 14:00:38 LOG5[main]: Configuration successful<br>
</div>
<div>2019.12.01 14:00:38 LOG7[main]: Listening file descriptor created (FD=352)<br>
</div>
<div>2019.12.01 14:00:38 LOG7[main]: Service [https] (FD=352) bound to 127.0.0.1:80<br>
</div>
<div>2019.12.01 14:00:59 LOG7[main]: Found 1 ready file descriptor(s)<br>
</div>
<div>2019.12.01 14:00:59 LOG7[main]: FD=260 ifds=r-x ofds=r--<br>
</div>
<div>2019.12.01 14:00:59 LOG7[main]: Dispatching signals from the signal pipe<br>
</div>
<div>2019.12.01 14:00:59 LOG7[main]: Processing SIGNAL_RELOAD_CONFIG<br>
</div>
<div>2019.12.01 14:00:59 LOG5[main]: Reading configuration from file stunnel.conf<br>
</div>
<div>2019.12.01 14:00:59 LOG5[main]: UTF-8 byte order mark detected<br>
</div>
<div>2019.12.01 14:00:59 LOG5[main]: FIPS mode disabled<br>
</div>
<div>2019.12.01 14:00:59 LOG7[main]: Compression disabled<br>
</div>
<div>2019.12.01 14:00:59 LOG7[main]: Snagged 64 random bytes from C:/.rnd<br>
</div>
<div>2019.12.01 14:00:59 LOG7[main]: Wrote 1024 new random bytes to C:/.rnd<br>
</div>
<div>2019.12.01 14:00:59 LOG7[main]: PRNG seeded successfully<br>
</div>
<div>2019.12.01 14:00:59 LOG6[main]: Initializing service [https]<br>
</div>
<div>2019.12.01 14:00:59 LOG6[main]: Loading certificate from file: stunnel.pem<br>
</div>
<div>2019.12.01 14:00:59 LOG6[main]: Certificate loaded from file: stunnel.pem<br>
</div>
<div>2019.12.01 14:00:59 LOG6[main]: Loading private key from file: stunnel.pem<br>
</div>
<div>2019.12.01 14:00:59 LOG6[main]: Private key loaded from file: stunnel.pem<br>
</div>
<div>2019.12.01 14:00:59 LOG7[main]: Private key check succeeded<br>
</div>
<div>2019.12.01 14:00:59 LOG7[main]: DH initialization<br>
</div>
<div>2019.12.01 14:00:59 LOG7[main]: Could not load DH parameters from stunnel.pem<br>
</div>
<div>2019.12.01 14:00:59 LOG6[main]: Using dynamic DH parameters<br>
</div>
<div>2019.12.01 14:00:59 LOG7[main]: ECDH initialization<br>
</div>
<div>2019.12.01 14:00:59 LOG7[main]: ECDH initialized with curve prime256v1<br>
</div>
<div>2019.12.01 14:00:59 LOG7[main]: SSL options: 0x03004004 (+0x03004000, -0x00000000)<br>
</div>
<div>2019.12.01 14:00:59 LOG5[main]: Configuration successful<br>
</div>
<div>2019.12.01 14:00:59 LOG7[main]: Closing service [https]<br>
</div>
<div>2019.12.01 14:00:59 LOG7[main]: Service [https] closed (FD=352)<br>
</div>
<div>2019.12.01 14:00:59 LOG7[main]: Service [https] closed<br>
</div>
<div>2019.12.01 14:00:59 LOG7[main]: Listening file descriptor created (FD=352)<br>
</div>
<div>2019.12.01 14:00:59 LOG7[main]: Service [https] (FD=352) bound to 127.0.0.1:80<br>
</div>
<div>2019.12.01 14:00:59 LOG7[main]: Signal pipe is empty<br>
</div>
<div>2019.12.01 14:01:37 LOG6[cron]: Executing cron jobs<br>
</div>
<div>2019.12.01 14:01:37 LOG5[cron]: Updating DH parameters<br>
</div>
<div>2019.12.01 14:01:37 LOG7[main]: Found 1 ready file descriptor(s)<br>
</div>
<div>2019.12.01 14:01:37 LOG7[main]: FD=260 ifds=r-x ofds=---<br>
</div>
<div>2019.12.01 14:01:37 LOG7[main]: Service [https] accepted (FD=420) from 127.0.0.1:56581<br>
</div>
<div>2019.12.01 14:01:37 LOG7[main]: Creating a new thread<br>
</div>
<div>2019.12.01 14:01:37 LOG7[main]: New thread created<br>
</div>
<div>2019.12.01 14:01:37 LOG7[0]: Service [https] started<br>
</div>
<div>2019.12.01 14:01:37 LOG5[0]: Service [https] accepted connection from 127.0.0.1:56581<br>
</div>
<div>2019.12.01 14:01:37 LOG7[0]: SSL state (accept): before/accept initialization<br>
</div>
<div>2019.12.01 14:01:37 LOG7[main]: Found 1 ready file descriptor(s)<br>
</div>
<div>2019.12.01 14:01:37 LOG7[main]: FD=260 ifds=r-x ofds=---<br>
</div>
<div>2019.12.01 14:01:37 LOG7[main]: Service [https] accepted (FD=440) from 127.0.0.1:56582<br>
</div>
<div>2019.12.01 14:01:37 LOG7[main]: Creating a new thread<br>
</div>
<div>2019.12.01 14:01:37 LOG7[main]: New thread created<br>
</div>
<div>2019.12.01 14:01:37 LOG7[1]: Service [https] started<br>
</div>
<div>2019.12.01 14:01:37 LOG5[1]: Service [https] accepted connection from 127.0.0.1:56582<br>
</div>
<div>2019.12.01 14:01:37 LOG7[1]: SSL state (accept): before/accept initialization<br>
</div>
<div>2019.12.01 14:01:37 LOG3[0]: SSL_accept: 1407609C: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request<br>
</div>
<div>2019.12.01 14:01:37 LOG5[0]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket<br>
</div>
<div>2019.12.01 14:01:37 LOG7[0]: Local descriptor (FD=420) closed<br>
</div>
<div>2019.12.01 14:01:37 LOG7[0]: Service [https] finished (1 left)<br>
</div>
<div>2019.12.01 14:01:37 LOG3[1]: SSL_accept: 1407609C: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request<br>
</div>
<div>2019.12.01 14:01:37 LOG5[1]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket<br>
</div>
<div>2019.12.01 14:01:37 LOG7[1]: Local descriptor (FD=440) closed<br>
</div>
<div>2019.12.01 14:01:37 LOG7[1]: Service [https] finished (0 left)<br>
</div>
<div>2019.12.01 14:01:37 LOG7[main]: Found 1 ready file descriptor(s)<br>
</div>
<div>2019.12.01 14:01:37 LOG7[main]: FD=260 ifds=r-x ofds=---<br>
</div>
<div>2019.12.01 14:01:37 LOG7[main]: Service [https] accepted (FD=448) from 127.0.0.1:56583<br>
</div>
<div>2019.12.01 14:01:37 LOG7[main]: Creating a new thread<br>
</div>
<div>2019.12.01 14:01:37 LOG7[main]: New thread created<br>
</div>
<div>2019.12.01 14:01:37 LOG7[2]: Service [https] started<br>
</div>
<div>2019.12.01 14:01:37 LOG5[2]: Service [https] accepted connection from 127.0.0.1:56583<br>
</div>
<div>2019.12.01 14:01:37 LOG7[2]: SSL state (accept): before/accept initialization<br>
</div>
<div>2019.12.01 14:01:37 LOG3[2]: SSL_accept: 1407609C: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request<br>
</div>
<div>2019.12.01 14:01:37 LOG5[2]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket<br>
</div>
<div>2019.12.01 14:01:37 LOG7[2]: Local descriptor (FD=448) closed<br>
</div>
<div>2019.12.01 14:01:37 LOG7[2]: Service [https] finished (0 left)<br>
</div>
<div>2019.12.01 14:01:37 LOG7[main]: Found 1 ready file descriptor(s)<br>
</div>
<div>2019.12.01 14:01:37 LOG7[main]: FD=260 ifds=r-x ofds=---<br>
</div>
<div>2019.12.01 14:01:37 LOG7[main]: Service [https] accepted (FD=452) from 127.0.0.1:56584<br>
</div>
<div>2019.12.01 14:01:37 LOG7[main]: Creating a new thread<br>
</div>
<div>2019.12.01 14:01:37 LOG7[main]: New thread created<br>
</div>
<div>2019.12.01 14:01:37 LOG7[3]: Service [https] started<br>
</div>
<div>2019.12.01 14:01:37 LOG5[3]: Service [https] accepted connection from 127.0.0.1:56584<br>
</div>
<div>2019.12.01 14:01:37 LOG7[3]: SSL state (accept): before/accept initialization<br>
</div>
<div>2019.12.01 14:01:37 LOG3[3]: SSL_accept: 1407609C: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request<br>
</div>
<div>2019.12.01 14:01:37 LOG5[3]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket<br>
</div>
<div>2019.12.01 14:01:37 LOG7[3]: Local descriptor (FD=452) closed<br>
</div>
<div>2019.12.01 14:01:37 LOG7[3]: Service [https] finished (0 left)<br>
</div>
<span></span><br>
</div>
<div style="margin:0px 0cm 0.000133333px; font-size:11pt; font-family:Calibri,sans-serif">
<br>
</div>
<div style="margin:0px 0cm 0.000133333px; font-size:11pt; font-family:Calibri,sans-serif">
Thanks in advance.</div>
<div style="margin:0px 0cm 0.000133333px; font-size:11pt; font-family:Calibri,sans-serif">
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>