Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

r509-validity-cadb

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

r509-validity-cadb

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

r509-validity-cadb

Build Status Coverage Status

This project is related to r509 and r509-ocsp-responder projects. It provides certificate validity and revocation information to be read from an OpenSSL CA DB file (sometimes 'index' file).

Because the CA DB file contains valid and revoked cert information, this allows the responder to operate in "known good" -- responding either VALID, REVOKED, or UNKNOWN approrpriately for each serial number.

Installation

First, install r509-ocsp-responder gem from r509-ocsp-responder

Next, install via rubygems gem install r509-validity-cadb or if you have cloned this repo install via rake gem:build and rake gem:install.

Usage

Using the config.ru from r509-ocsp-responder as a baseline, remove the redis configuration and replace with this:

require 'r509/validity/cadb'
cadb_path = '/etc/ssl/index'

Dependo::Registry[:validity_checker] = R509::Validity::CADB::Checker.new(cadb_path)

The cadb_path variable is a path to an OpenSSL CA DB file as defined in OpenSSL CA DB format.

Limitations

Only one CA DB file is supported at the moment.

Contributing

  1. Fork
  2. Make branch
  3. Add tests. rake spec to run test suite.
  4. Send PR

Author

Joe Miller, @miller_joe, joemiller(github)

FAQs

Package last updated on 11 Nov 2014

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