An example of creating a TLS Socket server and client in Node.js
- Clone this repo
- Generate certificates:
npm run generate:certs -- <password>
- The password you use doesn't really matter
- Start the server:
npm run start:server
- Start the client:
npm run start:client