Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SSL Tunnel

0 views
Skip to first unread message

Jimmy (Used-Disks)

unread,
Jan 22, 2001, 2:55:27 PM1/22/01
to
I'm trying to figure out the SSL Tunnel demo, but I don't see what it does.
I figured if I mapped to my web site (localhost mapped to
www.used-disks.com) I would be able to connect to localhost using https
instead of http... but only http works.

Do I have the wrong idea? What does this demo do?

--
- Jimmy -
------------------------------------------
- http://www.used-disks.com/Programming/ -
------------------------------------------
- No direct email unless requested -
:


Yamian

unread,
Jan 24, 2001, 4:32:34 PM1/24/01
to
Also I'm working in the SSL Tunnel demo and I have problems like you. If you
find any answer to the problems, please let me know them. I have developed
my own client and server using SSL components, but always I get an error
while trying to connect the client. It's not very commented, just "Error
connecting with SSL". I have configured them in a way I think is the right
one. I get the error at the execution of the procedure:
TIdSSLSocket.Connect, actually at line 988, when is called the function
IdSslConnect, but the sources foir such function is not included in the hole
project. Can anybody help me?

Best regards,
Yamian Quintero.

Kudzu - Team Indy

unread,
Jan 24, 2001, 6:39:07 PM1/24/01
to
yam...@yahoo.com (Yamian) wrote in <94nhi6$on...@bornews.inprise.com>:

>Also I'm working in the SSL Tunnel demo and I have problems like you. If you
>find any answer to the problems, please let me know them. I have developed

There was a bug in .13-.18. The patch has been posted under hte other SSL
thread here.

--
Chad Z. Hower (Kudzu) - Church Hill, TN - Team Indy
"Programming is an art form that fights back"
Forget the Y2K problem, Lets fix the W2K problem.
http://www.pbe.com/Kudzu/ - Free Delphi/CBuilder components and articles

Kudzu - Team Indy

unread,
Jan 24, 2001, 6:39:56 PM1/24/01
to
ji...@NOSPAMused-disks.com (Jimmy \(Used-Disks\)) wrote in <3a6c9002$1_1
@dnews>:

>I figured if I mapped to my web site (localhost mapped to
>www.used-disks.com) I would be able to connect to localhost using https
>instead of http... but only http works.

HTTPS uses a different port, usually 443. I use SSL Tunnel to connect to
secure NGs. It wont work very well with HTTP because of the the HTTP links
always redirecting past the tunnel.

Yamian

unread,
Jan 25, 2001, 5:24:58 PM1/25/01
to
I've patched the file, but anyway I got the same error. Where can I find, in
order to debug, the IdSslAccept function code? When this function is called
I get a -1 answer, that generate the error.

Thanks in advance,
Yamian Quintero

"Kudzu - Team Indy" <cha...@pbe.com> wrote in message
news:9033B33F1c...@207.105.83.62...

Yamian

unread,
Jan 25, 2001, 5:42:48 PM1/25/01
to
I just want to communicate two applications using SSL.
There will be a client and a server talking throught a TCP/IP connection
using SLL. Could you say me what is the right configuration I must to put in
the SSL-components?

Best regards,
Yamian Quintero.


"Kudzu - Team Indy" <cha...@pbe.com> wrote in message
news:9033B33F1c...@207.105.83.62...

Jimmy (Used-Disks)

unread,
Jan 26, 2001, 10:34:33 AM1/26/01
to
> HTTPS uses a different port, usually 443.

Ok.

> I use SSL Tunnel to connect to
> secure NGs.

My goal is to securely connect to an unsecured server... can I do that? I
tried running the SSL demo with these parameters: 443 somenetworkserver 443

When I then try to connect to https://127.0.0.1/ I never get a response. In
setting a break point, I found that the "MappedPortBeforeClientConnect"
procedure was being called over and over again, maybe forever (I let this
run for 2 minutes before closing the app). The SSLInterceptGetPassword event
is never called.

What am I doing wrong? How can I securely connect to an unsecured server?
The server that I'm trying to connect to is listening on port 443.

> It wont work very well with HTTP because of the HTTP links


> always redirecting past the tunnel.

That won't be a problem in my case.

Kudzu - Team Indy

unread,
Jan 27, 2001, 11:53:10 AM1/27/01
to
ji...@NOSPAMused-disks.com (Jimmy \(Used-Disks\)) wrote in <3a7198d4$1_2
@dnews>:

>My goal is to securely connect to an unsecured server... can I do that? I
>tried running the SSL demo with these parameters: 443 somenetworkserver 443

It may be the version - there was a bug with the SSL unit. Drop me an EMail
and I will send you teh updated unit. If that doesnt work, reply here and
we'll look further.

Jimmy (Used-Disks)

unread,
Jan 31, 2001, 1:21:50 PM1/31/01
to
> It may be the version - there was a bug with the SSL unit. Drop me an
EMail
> and I will send you teh updated unit. If that doesnt work, reply here and
> we'll look further.

Still doesn't work.

Jimmy (Used-Disks)

unread,
Jan 31, 2001, 1:34:59 PM1/31/01
to
> > It may be the version - there was a bug with the SSL unit. Drop me an
> EMail
> > and I will send you teh updated unit. If that doesnt work, reply here
and
> > we'll look further.
>
> Still doesn't work.

The request *is* getting through to the server... but the server never
responds. The server responds as expected when accessed through http instead
of https. So is the data going through still encrypted?

Kudzu - Team Indy

unread,
Jan 31, 2001, 11:12:03 PM1/31/01
to
ji...@NOSPAMused-disks.com (Jimmy \(Used-Disks\)) wrote in <3a785a94$1_1
@dnews>:

>> Still doesn't work.
>
>The request *is* getting through to the server... but the server never
>responds. The server responds as expected when accessed through http instead
>of https. So is the data going through still encrypted?

So the server receives but never responds? Wouldnt that be a server problem
then?

Jimmy (Used-Disks)

unread,
Feb 1, 2001, 7:24:16 AM2/1/01
to
> So the server receives but never responds? Wouldnt that be a server
problem
> then?

It responds fine to http requests which is all it's supposed to get, hence
my reason for using the SSL tunnel. However, when going through https
through the tunnel, the server doesn't respond. When going through http
through the tunnel it works fine. This leads me to belive that the SSL
tunnel is not properly sending data to the server... perhaps the data is
still encrypted?

--
- Jimmy -
------------------------------------

- URL: http://www.used-disks.com/ -
- ICQ: 94565958 -
- AOL: UsedDisks -

Jimmy (Used-Disks)

unread,
Feb 2, 2001, 10:22:26 AM2/2/01
to
> So the server receives but never responds? Wouldnt that be a server
problem
> then?

I have now upgraded Indy to the final release and tried the SSL Tunnel with
IIS, PWS, and OMNIHTTP... I still do not get a response when going through
the tunnel using https. Everything works perfectly when using HTTP.

My guess is that the tunnel isn't working...

0 new messages