https://github.com/noherczeg/nodejs-mutual-authentication
https://github.com/noherczeg/nodejs-mutual-authentication
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/noherczeg/nodejs-mutual-authentication
- Owner: noherczeg
- Created: 2020-10-21T00:22:32.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-22T20:00:24.000Z (over 4 years ago)
- Last Synced: 2025-02-01T16:48:46.914Z (4 months ago)
- Language: Shell
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nodejs Mutual Authentication
## Init
```
./00-gen-ca.sh
```## Server
```
node server.js
```## Test with Client
```
node client.js
```## Verify Server Certificate
```
openssl s_client -showcerts -connect localhost:4433
```> If `.key` and `.crt` files are switched to `client2`, it'll properly error out given it's on the CRL.
## Source
- [https://engineering.circle.com/https-authorized-certs-with-node-js-315e548354a2](https://engineering.circle.com/https-authorized-certs-with-node-js-315e548354a2)