New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ssl

Package Overview
Dependencies
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssl

Verification of SSL certificates

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
152
decreased by-3.18%
Maintainers
3
Weekly downloads
 
Created
Source

VERIFY-SSL

SSL certificate verification for node.js

Build Status

Docs

This module uses the OpenSSL command line utility - documentation can be found at openssl.org.

Usage

var ssl = require('ssl')
  , cert = 'encrypted certificate'
  , caFile = 'file.ca'
  , key = 'key.pem'
  , pass = 'abcdefg';

ssl.toFile(cert, { fileName: 'cert.pem' } function(err, file) {
  if (err) return console.error(err)
  console.log('Wrote string content to file %s', file);
});

ssl.verify(caFile, cert, function(err, status) {
  if (err) return console.error(err);
  console.log(status);
});

ssl.removePassphrase(cert, pass, { newKeyName: 'opencert.pem' }, function(err) {
  if (err) return console.error(err);
  console.log('passphrase removed!');
});

Keywords

FAQs

Package last updated on 14 Aug 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc