TLS and DTLS Security using OPENSSL for LEARNING.
This repository contains applications, written in C, which demonstrates underlying concepts of TLS (Transport Layer Security) and DTLS (Datagram Transport Layer Security) security using x509 certificates and Pre-Shared Keys (PSK) using openssl library.
Each directory represent a unique topic (TLS, DTLS) with subtopics (x509, PSK) and contains a Makefile and a simple example to understand the concept.
This directory contains example TCP server and TCP client with TLS security enabled that demonstrates secure TCP communication between server and client in blocking and non-blocking mode.
Kindly refer the TLS/README.md for further details and usage.
This directory contains example UDP server and UDP client with DTLS security enabled that demonstrates UDP communication between server and client in blocking and non-blocking mode.
Kindly refer the DTLS/README.md for further details and usage.
- To compile whole project
make all
- To compile TLS examples
make tls
- To compile DTLS examples
make dtls
- To remove executables
make clean
Please refer TLS_DTLS_Security/wireshark_captures.md for wireshark captures.