Unix Programming - SSL-Connect

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > February 2004 > SSL-Connect





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author SSL-Connect
Markus Muessig

2004-02-24, 12:34 am

hi forum,
I am a beginner in c-programming and (think) i understood c-net-
workprogramming basics.
As i began to read ssl-basics, they describe a ssl-connection as
a sequence of following:
- establishing a tcp-connection
- bind/associate tcp-connection with a "bio"
- make a ssl_connect via bio and thus over that created "bio"

- did i understand that right?
- is there a simple example how to connect via ssl from client
to server? (just a minimal connect without client-cert-auth)
- i already googeled, but haven't found any simple introduction/examples

best regards and thank you in advance,
Markus Muessig

--
----------------------------------------------------------------------
Markus Müssig MULTA MEDIO Informationssysteme AG
- Systemadministrator - Mergentheimer Str. 76a
97082 Wuerzburg
mailto:mmuessig@multamedio.de Tel: +49 (0)931 79717-18
http://www.multamedio.de Fax: +49 (0)931 79717-30
Jem Berkes

2004-02-24, 2:34 am

> - did i understand that right?
> - is there a simple example how to connect via ssl from client
> to server? (just a minimal connect without client-cert-auth)
> - i already googeled, but haven't found any simple introduction/examples


Yes, that's pretty much the idea. Download the OpenSSL source and look in
the examples directory, there is a very simple SSL client program in C that
is kind of outdated and not too well documented, but it does the job.

--
Jem Berkes
http://www.sysdesign.ca/
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com