https://github.com/iansu/tls-socket-example
An example of creating a TLS socket server and client in Node.js
https://github.com/iansu/tls-socket-example
Last synced: about 2 months ago
JSON representation
An example of creating a TLS socket server and client in Node.js
- Host: GitHub
- URL: https://github.com/iansu/tls-socket-example
- Owner: iansu
- Created: 2022-09-21T21:16:40.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-21T21:17:30.000Z (over 2 years ago)
- Last Synced: 2025-01-26T06:44:51.605Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.95 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TLS Socket Example
An example of creating a TLS Socket server and client in Node.js
## Usage
1. Clone this repo
1. Generate certificates: `npm run generate:certs -- `
- The password you use doesn't really matter
1. Start the server: `npm run start:server`
1. Start the client: `npm run start:client`