Skip to content

This is a proof of concept example using OpenSSL library to verfiy the certificate and key in server side

Notifications You must be signed in to change notification settings

a110605/sslsocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSLSocket

This is a proof of concept example using OpenSSL library to verfiy the certificate and key in server side.

Both client and server use AES-256-SHA encryption alogrithm to create SSL socket connections.

The server will echo the message which received from client and send it back to client.

Build OpenSSL Environment

On ubuntu/debian, type

  $[sudo] apt-get install openssl && apt-get install libssl-dev -y

or download the latest OpenSSL package at http://www.openssl.org/source/

Compile Source Code

 $ git clone https://github.com/a110605/sslsocket.git
 $ cd sslsocket 
 $ make

It will automatically build the executable binary sslserver && sslclient

Quick Run

Run the Server side on one terminal

sudo ./ssl-server <portnum>

Run the Client side on the other terminal

./ssl-client <hostname> <portnum>

Contact

Please contact me via the mail a1106052000@gmail.com

Thanks.

About

This is a proof of concept example using OpenSSL library to verfiy the certificate and key in server side

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published