Metadata-Version: 2.1
Name: certbot-dnshub
Version: 0.1.2
Summary: Multi dns provider authentication plugin for certbot
Home-page: https://github.com/warjiang/certbot-dnshub
Author: warjiang
Author-email: 1096409085@qq.com
License: Apache License 2.0
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Plugins
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Security
Classifier: Topic :: System :: Installation/Setup
Classifier: Topic :: System :: Networking
Classifier: Topic :: System :: Systems Administration
Classifier: Topic :: Utilities
Requires-Python: >=3.0
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: acme >=0.21.1
Requires-Dist: certbot >=0.21.1
Requires-Dist: dns-lexicon
Requires-Dist: mock
Requires-Dist: setuptools
Requires-Dist: zope.interface

# Multi dns provider authentication plugin for certbot

[![CI](https://github.com/warjiang/certbot-dnshub/workflows/CI/badge.svg?branch=main&event=push)](https://github.com/warjiang/certbot-dnshub/actions?query=event%3Apush+branch%3Amain+workflow%3ACI+)
[![PyPI](https://img.shields.io/pypi/v/certbot-dnshub.svg)](https://pypi.org/project/certbot-dnshub/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/certbot-dnshub.svg)](https://pypi.org/project/certbot-dnshub/)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/certbot-dnshub.svg)](https://pypi.org/project/certbot-dnshub/)
[![PyPI - License](https://img.shields.io/pypi/l/certbot-dnshub.svg)](https://pypi.org/project/certbot-dnshub/)


> English | [中文](README_zh-CN.md)

Multi dns provider authentication plugin for certbot. It can help you automatically apply and update Let's Encrypt wildcard certificates.


## Usage
you can use this plugin with docker or pip. We recommend using docker.
```bash
docker pull certbot/certbot
docker run -it --rm --name certbot \
        -v "/etc/letsencrypt:/etc/letsencrypt" \
        -v "/var/lib/letsencrypt:/var/lib/letsencrypt" \
        -v "/path/to/credentials.ini:/path/to/credentials.ini" \
        --entrypoint /bin/sh certbot/certbot
pip install certbot-dnshub 
chmod 600 /path/to/credentials.ini
certbot certonly -a dnshub \
  --dnshub-credentials /path/to/credentials.ini \
  -d www.example.com 
```

example of credentials file as below:
```ini
dnshub_provider=dnspod
dnshub_api_id = 12345
dnshub_api_token = 1234567890abcdef1234567890abcdef
```


# FAQ
