Giter Club home page Giter Club logo

caddy-scep's Introduction

caddy-scep

A Caddy module for issuing certificates using Simple Certificate Enrollment Protocol (SCEP, RFC8894).

Description

This is a simple POC Caddy module for issuing certificates using the Simple Certificate Enrollment Protocol (SCEP, RFC8894).

The module uses micromdm/scep to power the SCEP functionality. Caddy is the host for the SCEP endpoints and provides the PKI functionality.

By default Caddy uses ECDSA keys but SCEP expects them to be RSA keys. This is why it's required to supply your own RSA private key and certificate to Caddy instead of making Caddy fully manage the PKI.

This module is (currently) experimental

Things That Can Be Done

  • Fix the issue with PKCS7 verification. Currently the verfication is skipped entirely.
  • Sign with intermediate. Currently we sign with the root. We could either generate a new intermediate specifically for SCEP from the root private key or provide an intermedate RSA private key and certificate manually. It should become a configuration, though.
  • Store the generated certificates in a Caddy storage. We'll probably need to create one specifically for the SCEP functionality, because it's not exposed directly by the Caddy CA.
  • Properly track the certificate serial number.
  • Implement more options from the micromdm/scep implementation, like challenge passwords and CSR verification.
  • Test (automatically) with SCEP clients. So far the micromdm/scep client seems to work correctly.
  • ...

References

caddy-scep's People

Contributors

hslatman avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

epasinetti

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.