This project implements a DTLS (Datagram Transport Layer Security) server for secure communication over UDP using OpenSSL. It connects to a DTLS server and performs authentication using X.509 certificates.
- Operating System: Linux or macOS (Windows may require modifications)
- Compiler: GCC (minimum
gcc 7.5.0) or Clang
For Debian/Ubuntu:
$ sudo apt update
$ sudo apt install -y libssl-dev build-essentialFor macOS (with Homebrew):
brew install gcc make opensslTo build the DTLS server, run:
$ make && make -C toolsRun the DTLS server in the first terminal:
$ ./bin/dtlss 127.0.0.1 5684On another terminal, run the command with OpenSSL:
$ echo "hallo\0" | openssl s_client -connect 127.0.0.1:5684 -dtls1_2 -msg -debugCode released under the MIT License. Docs released under Creative Commons.