sslpin
v0.0.2
Published
A lightweight CLI tool to extract SHA1, SHA256, SPKI pins and certificate fingerprints for SSL/TLS pinning from the target domain
Downloads
7
Maintainers
Readme
SSLPin CLI
A lightweight CLI tool that inspects an HTTPS host, reads its TLS certificate chain, and prints fingerprints and SPKI pins locally.
Features
- SHA1 & SHA256 fingerprints
- SPKI pins (Base64/Hex)
- Certificate validity & expiration
- Issuer, subject, serial number
- TLS connection details
Installation
npx sslpin google.com
# or install globally
npm install -g sslpinUsage
sslpin google.com
sslpin google.com --json
sslpin example.com --leaf-only
sslpin example.com --copy spkiOptions
Supports bare domains and HTTPS URLs. Use --help for the full list.
-v, --version: Show version--json: Output in JSON format--leaf-only: Show only the leaf certificate--copy <field>: Copyspki,sha256, orpem-h, --help: Show help
Local Development
yarn workspace @sslpin/core build
yarn workspace sslpin build
node packages/cli/bin/sslpin google.comsslpin is published as a single CLI package. The internal core workspace is bundled into the final CLI build, so end users only install sslpin.
Contributing
We welcome contributions! Please see our Contributing Guide for details.
License
Licensed under the MIT License - see the LICENSE file for details.
