Skip to main content

certbot-httpreq plugin for certbot client

Project description

certbot-httpreq project

PyPI pyversions PyPI version shields.io Documentation Status

certbot-httpreq is a free and open-source, we develop it to customize and send authenticator and installer certbot requests through HTTP protocol.

Table of contents

  1. Installation
  2. Usage
  3. Configuration

Installation

pip install certbot-httpreq

Usage

certbot \
  --agree-tos \
  --text \
  -a certbot-httpreq:auth \
  -i certbot-httpreq:installer \
  --certbot-httpreq:auth-config /etc/letsencrypt/certbot-httpreq.yml \ # not required
  --certbot-httpreq:installer-config /etc/letsencrypt/certbot-httpreq.yml \ # not required
  run

Configuration file must be placed in /etc/letsencrypt/certbot-httpreq.yml or be specified with arguments --certbot-httpreq:auth-config and --certbot-httpreq:installer-config.

Configuration

You can customize authenticator HTTP requests for perform and cleanup phases and also installer HTTP requests for deploy phase.

# authenticator
perform:
  ### perform HTTP URI ###
  uri: http://localhost
  ### perform HTTP path ###
  path: /
  ### perform HTTP method: PUT or POST ###
  method: PUT
  ### perform HTTP format: json or form-urlencoded ###
  format: json
  ### parameter name in HTTP query string for challenge string ###
  ### default: HTTP path e.g.: http://localhost/HGr8U1IeTW4kY_Z6UIyaakzOkyQgPr_7ArlLgtZE8SX ###
  param_challenge: ~
  ### parameter name in HTTP body for validation string
  ### default: HTTP json payload e.g.: "gfj9Xq...Rg85nM" ###
  param_validation: ~
  ### perform HTTP custom headers ###
  headers: {}
  ### perform HTTP connection timeout ###
  timeout: ~
  ### perform HTTP SSL verify ###
  verify: ~
cleanup:
  ### cleanup HTTP uri ###
  uri: http://localhost
  ### cleanup HTTP path ###
  path: /
  ### cleanup HTTP method: DELETE, PUT or POST ###
  method: DELETE
  ### cleanup HTTP format: json or form-urlencoded ###
  format: json
  ### parameter name in HTTP query string for challenge string ###
  ### default: HTTP path e.g.: http://localhost/HGr8U1IeTW4kY_Z6UIyaakzOkyQgPr_7ArlLgtZE8SX ###
  param_challenge: ~
  ### cleanup HTTP custom headers ###
  headers: {}
  ### cleanup HTTP connection timeout ###
  timeout: ~
  ### cleanup HTTP SSL verify ###
  verify: ~

# installer
deploy:
  ### deploy HTTP URI ###
  uri: http://localhost
  ### deploy HTTP path ###
  path: /
  ### deploy HTTP method: POST or PUT or PATCH ###
  method: POST
  ### deploy HTTP format: json or form-urlencoded ###
  ### e.g.: HTTP json payload: {"domain":"...","cert":"...","key":"...","chain":"..."} ###
  format: json
  ### parameter names in HTTP body
  body_params:
    domain: domain
    cert: cert
    key: key
    chain: chain
  ### deploy HTTP custom headers ###
  headers: {}
  ### deploy HTTP connection timeout ###
  timeout: ~
  ### deploy HTTP SSL verify ###
  verify: ~

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

certbot_httpreq-0.0.19-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

certbot_httpreq-0.0.19-py2-none-any.whl (19.9 kB view details)

Uploaded Python 2

File details

Details for the file certbot_httpreq-0.0.19-py3-none-any.whl.

File metadata

  • Download URL: certbot_httpreq-0.0.19-py3-none-any.whl
  • Upload date:
  • Size: 19.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.26.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/2.7.18

File hashes

Hashes for certbot_httpreq-0.0.19-py3-none-any.whl
Algorithm Hash digest
SHA256 0acb4fb8c590a63178a42f3230c739ca2b3b6900a072d6dcd5cde9e0a50ae6be
MD5 54a56f5a0e1d0a48dccd6999bf5da65b
BLAKE2b-256 da1c92b3b3ebbb9cd7e4c601e6ca00344e0608c915ac4b1e5e4b5a3f42bae94d

See more details on using hashes here.

File details

Details for the file certbot_httpreq-0.0.19-py2-none-any.whl.

File metadata

  • Download URL: certbot_httpreq-0.0.19-py2-none-any.whl
  • Upload date:
  • Size: 19.9 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.26.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/2.7.18

File hashes

Hashes for certbot_httpreq-0.0.19-py2-none-any.whl
Algorithm Hash digest
SHA256 4626bbc2a6807f3f31c72babdf43aac914eb3c0679271a9e0e2e21b35801ae45
MD5 8ffb61e607373d07eeafa8e118930a2c
BLAKE2b-256 3c4c1420dd13be4553fa77ecc53dcb420663b6548933425cb364c20d8f679a65

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page