🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #5130

Re: How to set server side authentication mode

#5130
From: Lynn
Date: Thu, 07 Oct 2004 23:09
40 lines
2102 bytes
I did what you suggest. It allowed me to compile without error.
I made this change to my code:
IdServerInterceptOpenSSL1->SSLOptions->Method = sslvTLSv1;
It is supposed to use TLSv1 ssl protocol version. But from the 
log it still uses sslv2:
The log is:
10/7/2004 1:04:27 PM: SSL status: "before/accept initialization"
10/7/2004 1:04:27 PM: SSL status: "before/accept initialization"
10/7/2004 1:04:27 PM: SSL status: "SSLv2 read client hello B"

Why I can not force http server use TLSv1?
Thanks,

Liying

"Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote:
>
>"Lynn" <lai@eagency.com> wrote in message
>news:416478f8$1@newsgroups.borland.com...
>
>> I did this:
>>  IdServerInterceptOpenSSL1->SSLOptions->Mode = TIdSSLMode->..
>
>That is not a valid statement.  Try this instead:
>
>    IdServerInterceptOpenSSL1->SSLOptions->Mode = sslmServer;
>
>> It doesn't allow me to do this, the error is:
>> [C++ Error] Net.cpp(1): Unable to invoke Code Completion
>> due to errors in source code.
>
>Ignore that.  That is an IDE error, not a code error.  BCB's code completion
>sucks in general.  Most people don't even use it since it doesn't work most
>of the time.
>
>
>Gambit
>
>
Technical Details
Message-ID: <4165ccc5$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <416478f8$1@newsgroups.borland.com> <41647b4c$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,3e25a2205a501b9c
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Lynn" <lai@eagency.com>
Sender: "Lynn" <lai@eagency.com>
Reply-To: "Lynn" <lai@eagency.com>
Subject: Re: How to set server side authentication mode
Newsgroups: borland.public.cppbuilder.internet.socket
X-User-Info: 65.218.213.100     
References: <416478f8$1@newsgroups.borland.com> <41647b4c$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <4165ccc5$1@newsgroups.borland.com>
Date: 7 Oct 2004 16:09:57 -0700
X-Trace: newsgroups.borland.com 1097190597 207.105.83.66 (7 Oct 2004 16:09:57 -0700)
Lines: 41
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail