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| translate(str) { | |
| let test = { | |
| "я": "z", | |
| "ч": "x", | |
| "с": "c", | |
| "м": "v", | |
| "и": "b", | |
| "т": "n", | |
| "ь": "m", | |
| "б": ",", |