tls-pinset

1.0.1 • Public • Published

node-pinset

Generate pinset for a remote server.

Installation

npm install tls-pinset -g

Usage

tls-pinset 1.1.1.1

generating pinset for 1.1.1.1:443 with openssl
od9obscoXQND56/DikypZrJkXGvbQV5Y61QGfcNitHo=

Arguments

  • 1st: [required] host
  • 2nd: [optional] port
  • 3rd: [optional] path to openssl

Using programmatically

const { generatePinset } = require('tls-pinset')

generatePinset('1.1.1.1', 853).then(console.log)
// od9obscoXQND56/DikypZrJkXGvbQV5Y61QGfcNitHo=

Requirements

Make sure openssl is installed and added to PATH.

Readme

Keywords

Package Sidebar

Install

npm i tls-pinset

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

3.82 kB

Total Files

6

Last publish

Collaborators

  • mgrybyk