[stunnel-users] newbie stunnel question
Jan Meijer
jan.meijer at surfnet.nl
Sun Sep 25 16:08:19 CEST 2005
Hi,
On Sat, 24 Sep 2005, Revelancefound at aol.com wrote:
> no data is being transfered, thats the problem
>
>
> 2005.09.24 09:41:19 LOG5[1672:3268]: stunnel 4.11 on x86-pc-mingw32-gnu
> WIN32+IPv6 with OpenSSL 0.9.7f 22 Mar 2005
> 2005.09.24 09:41:20 LOG5[1672:2716]: No limit detected for the number of
> clients
> 2005.09.24 09:41:33 LOG5[1672:3576]: http connected from 127.0.0.1:1876
> 2005.09.24 09:42:18 LOG5[1672:1176]: http connected from 127.0.0.1:1881
> 2005.09.24 09:42:35 LOG5[1672:1408]: http connected from 127.0.0.1:1884
> 2005.09.24 09:42:44 LOG5[1672:1028]: http connected from 127.0.0.1:1887
> And so on until Failed to initialize remote connection
>
>
> My config file:
>
> client = yes
> cert=c:\stunnel\stunnel.pem
>
> [http]
> accept = 127.0.0.1:80
> connect = httpsupportingsslserver:80
>
> [https]
> accept = 127.0.0.1:443
> connect = httpsupportingsslserver:80
>
> [ftp]
> accept = 127.0.0.1:22
> connect = httpsupportingsslserver:80
>
> Am I missing something here?
It looks like it. The error you report means your stunnel client can not
connect to the remote service. As in: httpsupportingsslserver:80 is
either unreachable or refuses your connections.
The config suggests you are trying to speak SSL with a plain HTTP server.
stunnel does
plaintext <--stunnel --> SSL-enabled service
so your setup would not work.
Are you sure your proxy service is not using port 443?
Jan
--
http://www.surfnet.nl/organisatie/jame
More information about the stunnel-users
mailing list