Skip to main content

Loopia DNS authentication plugin for Certbot

Project description

This allows automatic completion of Certbot’s <https://github.com/certbot/certbot> DNS01 challange for domains managed on Loopia <https://www.loopia.se/> DNS.

Installing

$ pip install certbot-loopia

Usage

To use the authenticator you need to provide some required options.

--certbot-loopia:auth-user <user> (required)

API username for Loopia.

--certbot-loopia:auth-password <password> (required)

API password for Loopia.

There are also some optional arguments:

--certbot-loopia:auth-time-limit <time>

Time limit for local verification. This is the maximum time the authenticator will try to self-verify before declaring that the DNS update was unsuccessful. Default: 30m.

--certbot-loopia:auth-time-delay <time>

Time delay before first trying to self-verify the result of authentication. It is recommended to have a delay of at least 30 seconds to prevent the DNS server from caching that there are no TXT records for the challenge subdomain. Default: 1m.

--certbot-loopia:auth-retry-interval <time>

How frequently to retry self-verification. This is time past since the start of the previous verification. It is not recommended to choose values smaller than 10 seconds. Default: 30s.

The format of <time> is AdBhCmDs where: A``is days, ``B``is hours, ``C``is minutes and ``D is seconds. Note that A, B, C and D must be integers. The units d, h and m are required while s is optional. Any value-unit pair may be omitted, but they must be ordered from most to least significant unit. Examples of valid <time> expressions are:

  • 42 or 42s for 42 seconds

  • 1m30s or 1m30 for 1.5 minutes

  • 1h for 1 hour

  • 1d12h for 1.5 days

Known issues

  • Due to caching on Loopia’s side it can take up to 15 minutes before changes are visible. The plugin will by default retry self-verification for at least 30 minutes before sending the actual verification request to the ACME server.

Disclaimer

This plugin is neither affiliated with nor endorsed by Loopia AB.

Project details


Download files

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

Source Distribution

certbot-loopia-0.1.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

certbot_loopia-0.1.0-py2.py3-none-any.whl (7.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file certbot-loopia-0.1.0.tar.gz.

File metadata

File hashes

Hashes for certbot-loopia-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2404de8691d09d9df0dc490fb623629e44791ac0e354707f725b5b5da7fa5bf0
MD5 a8be16dc92ff3311908ce747997cbfbf
BLAKE2b-256 84ad429a55803bebef70e54aa1e42657d0be0f568e0763ce1a5ea1c37462565c

See more details on using hashes here.

File details

Details for the file certbot_loopia-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for certbot_loopia-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 910fff1da3ebab54bd20098d120ce279369b73fd9a9c8e76f0f783f7c0b04203
MD5 9bc6f8262f9a5c0d0fe43792121902bc
BLAKE2b-256 f31bd8eda517b33332eb1c710e9a99df6d2854540d6403dfc43ef2106bf5aff9

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