certbot-httpreq-0.0.9
توضیحات
certbot-httpreq plugin for certbot client
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Unix |
| نام فایل | certbot-httpreq-0.0.9 |
| نام | certbot-httpreq |
| نسخه کتابخانه | 0.0.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Adrien Delle Cave |
| ایمیل نویسنده | pypi@doowan.net |
| آدرس صفحه اصلی | https://github.com/decryptus/certbot-httpreq |
| آدرس اینترنتی | https://pypi.org/project/certbot-httpreq/ |
| مجوز | License GPL-3 |
## certbot-httpreq project
[](https://pypi.org/project/certbot-httpreq/)
[](https://pypi.org/project/certbot-httpreq/)
[](https://certbot-httpreq.readthedocs.io/)
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](#installation)
2. [Usage](#usage)
3. [Configuration](#configuration)
## <a name="installation"></a>Installation
`pip install certbot-httpreq`
## <a name="usage"></a>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.
## <a name="configuration"></a>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: ~
```
نیازمندی
| مقدار | نام |
|---|---|
| >=0.1.1 | acme |
| >=0.9.3 | certbot |
| - | pyOpenSSL |
| >=2.4 | requests |
| >=0.3.48 | sonicprobe |
| - | zope.interface |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.* | Python |
نحوه نصب
نصب پکیج whl certbot-httpreq-0.0.9:
pip install certbot-httpreq-0.0.9.whl
نصب پکیج tar.gz certbot-httpreq-0.0.9:
pip install certbot-httpreq-0.0.9.tar.gz