Sponsored Content
Full Discussion: SSL over TCP/IP
Top Forums Programming SSL over TCP/IP Post 302352049 by johnbach on Friday 11th of September 2009 01:30:51 AM
Old 09-11-2009
SSL over TCP/IP

I am trying to develop a c++ application which will communicate with client through SSL(Not https).We are using self-signed certificates.

I have installed openssl and boost library.
I have tried some boost sample code also and its working.
Boost C++ Libraries - doc/html/boost_asio/example/ssl/client.cpp

Other than this ,is there any easy/effective way to handle SSL communication (like apache for https or some api,wrapper over openssl),so that i don't need to worry much about SSL internals (handshake,encryption..,SSL version)

---------- Post updated 09-11-09 at 12:30 AM ---------- Previous update was 09-10-09 at 08:11 AM ----------

I think Stunnel.org could be usefull
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

ssl certs

Hi all can anyone tell me how i can discover the strength of encryption in an ssl cert. I have used various methods ie apps and verisign web page but they just give me general info. I need to know the encryption level. The cert in question is used in Weblogic application for Solaris 8 any... (1 Reply)
Discussion started by: silvaman
1 Replies

2. UNIX for Advanced & Expert Users

implicit ssl vs explicit ssl

Can someone explain the difference between the two. Thanks (1 Reply)
Discussion started by: jerardfjay
1 Replies

3. UNIX for Advanced & Expert Users

Ssl

What is the key diffirence between rsa and dsa. what is the maximum bit size to create the rsa as well as dsa key file. what is advantage of each over each-other? Thanks ______ Satya (2 Replies)
Discussion started by: satya009
2 Replies

4. UNIX for Dummies Questions & Answers

to enable POP3(ssl) and SMTP(ssl) in Squid

i have configured Squid proxy server in Fedora 8 with two network interfaces. HTTP, HTTPS, FTP are working fine but we are unable to download mails using mail clients from mail server with POP3(ssl) and SMTP(ssl). so please someone help us how to enable pop and smtp in Squid. (1 Reply)
Discussion started by: praneel2k
1 Replies

5. Web Development

Apache, cgi script run twice when ssl, once when not ssl

I have interesting problem. https:/host/some/x.cgi - this script has run twice when I call this url But http:/host/some/x.cgi work fine, only once. Output is text/plain. If I change output format to the Content-type text/html, then both urls works fine - executed only once. (2 Replies)
Discussion started by: kshji
2 Replies

6. Cybersecurity

SSL certificate

Hi guys. I have some questions about ssl certificates. I looked at SSL providers and saw that they are providing 2 types of certificates: per server or per domain. my server host name is: srv1.example.com I have a smtp, imap, web server on this box. but all services accessed by different... (1 Reply)
Discussion started by: majid.merkava
1 Replies

7. UNIX and Linux Applications

Haproxy SSL

I have a single SSL eg. www.abc.com. Im trying to get haproxy to accept any request eg. xyz.com or ijk.com to redirect to https://www.abc.com. Is this possible? #--------------------------------------------------------------------- # main frontend for XXX which proxys to the backends... (0 Replies)
Discussion started by: timmywong
0 Replies

8. Solaris

Too much TCP retransmitted and TCP duplicate on server Oracle Solaris 10

I have problem with oracle solaris 10 running on oracle sparc T4-2 server. Os information: 5.10 Generic_150400-03 sun4v sparc sun4v Output from tcpstat.d script TCP bytes: out outRetrans in inDup inUnorder 6833763 7300 98884 0... (2 Replies)
Discussion started by: insatiable1610
2 Replies

9. Linux

Apache wildcard ssl on subdomain serves same page for non ssl virtualhosts

Issue observed: I have configured ng.my-site.com using widlcard ssl cert. When I hit https://www.my-site.com it loads ng.my-site.com website! please advise if I missed any concept / configs... Thank you! httpd.conf <VirtualHost *:80> ServerName www.my-site.com ServerAdmin... (0 Replies)
Discussion started by: ashokvpp
0 Replies
SSL_set_connect_state(3SSL)					      OpenSSL					       SSL_set_connect_state(3SSL)

NAME
SSL_set_connect_state, SSL_get_accept_state - prepare SSL object to work in client or server mode SYNOPSIS
#include <openssl/ssl.h> void SSL_set_connect_state(SSL *ssl); void SSL_set_accept_state(SSL *ssl); DESCRIPTION
SSL_set_connect_state() sets ssl to work in client mode. SSL_set_accept_state() sets ssl to work in server mode. NOTES
When the SSL_CTX object was created with SSL_CTX_new(3), it was either assigned a dedicated client method, a dedicated server method, or a generic method, that can be used for both client and server connections. (The method might have been changed with SSL_CTX_set_ssl_version(3) or SSL_set_ssl_method().) When beginning a new handshake, the SSL engine must know whether it must call the connect (client) or accept (server) routines. Even though it may be clear from the method chosen, whether client or server mode was requested, the handshake routines must be explicitly set. When using the SSL_connect(3) or SSL_accept(3) routines, the correct handshake routines are automatically set. When performing a transparent negotiation using SSL_write(3) or SSL_read(3), the handshake routines must be explicitly set in advance using either SSL_set_connect_state() or SSL_set_accept_state(). RETURN VALUES
SSL_set_connect_state() and SSL_set_accept_state() do not return diagnostic information. SEE ALSO
ssl(3), SSL_new(3), SSL_CTX_new(3), SSL_connect(3), SSL_accept(3), SSL_write(3), SSL_read(3), SSL_do_handshake(3), SSL_CTX_set_ssl_version(3) 1.0.1e 2013-02-11 SSL_set_connect_state(3SSL)
All times are GMT -4. The time now is 07:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy