GithubHelp home page GithubHelp logo

edwardt / hsmocsp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from spyd3rweb/hsmocsp

0.0 2.0 0.0 19 KB

Hardware Security Module (HSM) Online Certificate Status Protocol (OCSP) Go Module

License: BSD 3-Clause "New" or "Revised" License

Go 100.00%

hsmocsp's Introduction

Hardware Security Module (HSM) Online Certificate Status Protocol (OCSP)

This go module supports the creation of an ocsp server that is capable of using a PKCS#11 HSM, such as the NitroKey HSM, as the signer for the ocsp responder. When properly configured, the hsmocsp server will return a signed response signifying that the certificate specified in the request is 'good', 'revoked', or 'unknown'. If it cannot process the request, it will return an error code.

Supported Certificate Sources

The hsmocsp server currently supports two source types which implement the cfssl ocsp responder interface to validate certificates; additional support for cfssl certdb and response file sources could likely easily be added.

Source Type Description
OpenSslSource Uses the OpenSSL ca db and crl files; optionally supports hosting ca issuer and crl static files
VaultSource Uses the Vault PKI Engine ca and crl urls and cert api

Deployment

app-hsmocsp is a cloud-native application with kubectl and Helm deployments for this hsmocsp go module

In addition to the app-hsmocsp container, the provided dev and debug skaffold profiles will also deploy the app-pki container, which uses a helper script to create a working PKCS#11 HSM PKI environment for development purposes only; it includes configurable steps to automatically validate and initialize:

  • Certificates and Keypairs for the OpenSSL Root CA
  • Vault PKI Secrets engines and intermediate CA certificates properly signed and chained with the OpenSSL ca-keypair
  • Keypairs for OCSP server certificates for both OpenSSL and Vault CA sources for app-hsmocsp to consume
PKI Level Cert HSM Key Vault Key File Key
1 OpenSSL CA x
1 OpenSSL CA OCSP x
2 Vault Root CA x
2 Vault Root CA OCSP x
3 Vault Int Dev CA x
3 Vault Int Dev CA OCSP x
3 Vault Int Dev CA Client x

hsmocsp's People

Contributors

spyd3rweb avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.