Re: Using the SSL module.

Chris Angelico <[email protected]>
Newsgroups gmane.comp.lang.pike.user
Message-ID <CAPTjJmoHLGZGNN72d0uZnAf+XVEH3p937PSnVPj8MwJHa5Ma3A@mail.gmail.com>
On Tue, Jun 23, 2015 at 4:21 PM, Trilok Tourani
<[email protected]> wrote:
> The code that you have written in your previous mail, starts listening for
> the ports, but when I connect a sock to 127.0.0.1:1234, it doesn't seem to
> be calling the accept or http_query functions. It just hangs there.
> (sock->connect("127.0.0.1",1234);)

Yep. It doesn't call those until key exchange etc is completed. Try
pulling up a terminal and running:

openssl s_client -connect 127.0.0.1:1234

That should show a quick dump of the certificate, and then give you a
telnet-like connection.

ChrisA
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.