node-ipc/example/TLSSocket
2015-12-10 02:29:15 -08:00
..
basic removed support for define 2015-12-10 02:29:15 -08:00
basic-local-only removed support for define 2015-12-10 02:29:15 -08:00
basic-more-secure removed support for define 2015-12-10 02:29:15 -08:00
basic-most-secure removed support for define 2015-12-10 02:29:15 -08:00
basicSync removed support for define 2015-12-10 02:29:15 -08:00
Multi-Client-Broadcast-basic removed support for define 2015-12-10 02:29:15 -08:00
rawBuffer-only-works-with-most-secure added tls ssl support, examples, and local only certs 2015-09-27 21:52:16 -07:00
readme.md started documentation of tls/SSL 2015-09-27 22:59:25 -07:00

Using TLS and SSL for Secure node-ipc

document in progress

Still working on this. If you look at the examples and can help, please jump right in.

important cli commands

  • openssl genrsa -out server.key 2048
  • openssl req -new -x509 -key server.key -out server.pub -days 365 -config openssl.cnf
  • talk about openssl.cnf edits

using the local node-ipc certs

This should ONLY be done on your local machine. Both the public and private certs are available here on git hub, so its not a good idea to use them over the network.

talk about security

  • keep private keys private, don't shared

talk about using hostname not ip for best security validation of certs

examples

  • basic with default keys
  • specikfying keys
  • encrypted but venerable to man in the middle
  • two way authenticated pub private