Code Monkey home page Code Monkey logo

issuer's Introduction

issuer

A bash script to create a cfssl, cfssljson and multirootca based TLS issuer/PKI server. Inspired by this blog post.

Designed to be used alongside requester

NOTE

NOT recommended for Production use as OCSP and CRL are not implmented yet

Usage: issuer.sh [OPTIONS]

This script creates a cfssl Public Key Issuing Server for maintaining you own PKI
This script uses cfssl, cfssljson and multirootca packages from Cloudflare's cfssl library
This script will create a systemd service called issuer.service, which can then be used to manage the issuer

Options:

--target-dir            The Directory where to install the configs and the cert files. Defaults to "."
--root-cn               The CN of the root certificate. Required
--issuer-hosts          A comma separated list of the DNS name or the IP address of the hosts where this issuer can be access. DO NOT ADD "http" and "https" prefix for DNS names. Defaults to "localhost"
--api-pass              The Passowrd for the issuer API. Should be a 16 byte hex string. Can be generated using https://www.browserling.com/tools/random-hex. Required
--issuer-addr           The IP address to which the issuing server should bind to. Defaults to "0.0.0.0"
--issuer-port           The Port to which the issuing server should bind to. Defaults to "8888"
-h, --help              Show this message and exit

Example:
  issuer.sh --target-dir issuer --issuer-hosts "localhost,127.0.0.1" --api-pass "7be2e3fda569b88b" --root-cn "My PKI Issuer"

TODO

  • OCSP Support
  • CRL Support
  • Fetch binaries
  • Systemd service for the issuing server

issuer's People

Contributors

mrityunjaygr8 avatar

Watchers

 avatar  avatar  avatar

issuer's Issues

Create systemd service

A systemd service should be made for the server so that it can continue to function once the script has exited

Add CRL support

CRL support should be added to bring it closer to production readyness

Add OCSP support

OCSP support should be added to bring this closer to production ready

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.