/tls-socket-example

An example of creating a TLS socket server and client in Node.js

Primary LanguageJavaScript

TLS Socket Example

An example of creating a TLS Socket server and client in Node.js

Usage

  1. Clone this repo
  2. Generate certificates: npm run generate:certs -- <password>
    • The password you use doesn't really matter
  3. Start the server: npm run start:server
  4. Start the client: npm run start:client