Project

certbot

0.0
Repository is archived
No release in over 3 years
Low commit activity in last 3 years
Rails engine for generating certs with certbot using the challenge and response method
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

~> 4.2.6
 Project Readme

Overview

This gem is an implementation of the ACME http-01 challenge for use in Rails applications.

Installation

# Gemfile
gem 'acme-authorizer'

NOTE: the ACME http-01 challenge/response must be served over HTTP without SSL. The ACME URL endpoint will opt out of config.force_ssl if it is set using config.ssl_options.

Configuration

By default, this library is configured via pairs of ENV variables with the same format used by sabayon:

/ACME_TOKEN_[0-9]+/
/ACME_KEY_[0-9]+/

for example:

ACME_TOKEN_0=123123
ACME_KEY_0=123123

The challenge and token can also be configured via Ruby API.

Acme::Authorizer.configure do |config|
  config.add_token('my_challenge_token', 'my_key_authorization')
end