No commit activity in last 3 years
No release in over 3 years
This gem provides a rack application to offer an HTTP service around certmeister, the conditional autosigning certificate authority.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.6
~> 10.4.2
~> 3.1

Runtime

~> 1.5
 Project Readme

certmeister-rack

certmeister-rack provides a Rack application to offer an HTTP service around certmeister, the conditional autosigning certificate authority.

An example, using redis and rack and enforcing Hetzner PTY Ltd's policy, is available in contrib/config.ru.

To hit the service:

$ curl -L \
    -d "psk=secretkey" \
    -d "csr=$(perl -MURI::Escape -e 'print uri_escape(join("", <STDIN>));' < fixtures/client.csr)" \
    http://localhost:9292/ca/certificate/axl.starjuice.net

Testing

rake spec

Releasing

If you work at Hetzner and need to release new versions of this gem, do this (obviously only after making sure the tests run and you have no uncommitted changes):

# edit lib/certmeister/rack/version.rb
bundle
git commit \
  -m "Bump version to v$(bundle exec ruby -Ilib -rcertmeister/rack -e 'puts Certmeister::Rack::VERSION')" \
  Gemfile.lock lib/certmeister/rack/version.rb
bundle exec rake release