Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 963 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 963 Bytes

Build Status

PicoTLS client/server application

This application shows an example of a client/server implementation with PicoTLS.

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 PicoTLSTest.h.

Start

  1. Change include path, path to OpenSSL library (used as backend) and path to PicoTLS library in makefile.
  2. Start server (standard port is 8000).
  3. Start client.
  4. When TLS handshake is finished try sending a message by typing into the console of the client.

Other useful examples