Skip to content

Latest commit

 

History

History
7 lines (7 loc) · 419 Bytes

README.MD

File metadata and controls

7 lines (7 loc) · 419 Bytes
  • run ./setup.sh in /ssl and export client certificate with pw test
  • run node server.js
  • curl -v --cacert ssl/rootCA.crt https://localhost:5000/ should return 401
  • curl -v --cert ssl/client.p12:test --cacert ssl/rootCA.crt https://localhost:5000 should return 200
  • import rootCA into keychain and set to always trust
  • import client.p12 into keychain
  • open https://localhost:5000 in browser