- 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 401curl -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
-
Notifications
You must be signed in to change notification settings - Fork 0
testing client certificates
License
thojansen/client-certificates
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
testing client certificates
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published