Re: How to use TLS/SSL certificate in Active Open

"[email protected]" <[email protected]>
Newsgroups gmane.comp.hardware.rabbit-semiconductor
Message-ID <[email protected]>
@tom, Thank you for point out. 

Is possible to perform the handshake SslStream implements the AuthenticateAsClient use API (NOT THROUGH HTTPS)? 

I read on tcp/ip user manual volume 3 as follows, I still tried and not succeeded. Any suggestion? Thanks

tcp_extopen(&tcp_sock, …)
sock = &tcp_sock; // mention of 'sock' refers to plaintext TCP socket
while (!sock_established(sock)) tcp_tick(NULL);
// OK, socket is established. Can use plaintext communication…
sock_write(sock, "Please start your TLS negotiations!", …);
sock_secure(&tcp_sock, &tls_sock, …);
sock = tls_sock; // now, mention of 'sock' refers to encrypted connection!
sock_write(sock, "Password: highlySecret",…)
sock_gets(sock, response, …)
// OK, let's close down
sock_unsecure(tls_sock);
sock_close(&tcp_sock);


--- In [email protected], Tom Collins <tom@...> wrote:
>
> I think newer versions (>10.60?) include support in the HTTP client library for making outbound HTTPS connections.
> 
> Try downloading 10.72, and look at Samples/tcpip/http/https_client.c and https_client_nb.c.
> 
> -Tom
> 
> 
> On Mar 7, 2013, at 2:51 PM, dynamic_c@... wrote:
> 
> > After reading the manual (TN245.pdf) like this:
> > ---------------------------
> > "Some Rabbit-based applications may require that the device initiate a connection to a server (with the Rabbit acting as a client), rather than the other way around (with the Rabbit acting as a server).
> > The current Rabbit implementation of SSL does not support client-side SSL, so some applications will simply not be possible."
> > ---------------------------
> > 
> > My question: What a new Dynamic C support for used SSL in client? I'm used Dynamic C 10.54 with rcm5600w. Thank you.
> > 
> > 
> >
>
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.