This guide shows how to set up a bidirectional client/server authentication for plain TLS sockets.
Generate a Certificate Authority:
openssl req -new -x509 -days 9999 -keyout ca-key.pem -out ca-crt.pem| /* | |
| assumed direcotry structure: | |
| /somedir | |
| /AF3 | |
| /somefile.txt | |
| /picture.jpg | |
| /GD3 | |
| /file.txt | |
| /picture.png |