Skip to content

thojansen/client-certificates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • 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

About

testing client certificates

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published