jds-node-ssl-tests

Testing various SSL scenarios with node.

Usage no npm install needed!

<script type="module">
  import jdsNodeSslTests from 'https://cdn.skypack.dev/jds-node-ssl-tests';
</script>

README

Node SSL (HTTPS) Tests

Various examples of how to connect to node.js server over SSL.

Also examples of how to use SSL for client authentication.

Installation

npm install

Usage

npm test

Re-generate Certs

The following will delete all the current certs and re-generate them. Play around with this is you want to see how to generate certs.

cd certs
./gen-certs.sh

I used https://github.com/mikeal/request/tree/master/tests/ssl as a starting point.