Skip to content

DenisLug/OpenSSL-Client-Server-with-BIO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OpenSSL client/server application with I/O stream abstraction (BIO)

This application shows how to create an OpenSSL TLS connection over TCP sockets using memory BIOs.

Prerequisites

  1. Create a certificate and key file with this command:
openssl req -x509 -newkey rsa:4096 -nodes -keyout key.pem -out cert.pem -days 365
  1. Change the paths of the certificate and key file in OpenSSL_BIO_Server/Client.h.

Start

  1. Build & run server.
  2. Build & run client.
  3. When TLS handshake is finished try sending a message by typing into the console of the client.

Other useful examples

About

OpenSSL application with BIOs over TCP sockets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published