Skip to main content
Pylint

Loopia DNS Authenticator for Certbot

This allows automatic completion of Certbot’s DNS01 challange for domains managed on Loopia DNS.

Installing

$ sudo pip install certbot-dns-loopia

Note that you should normally install this as root, unless you know what you are doing.

Usage

The plugin requires the following permissions enabled for your Loopia API user:

  • addZoneRecord

  • getZoneRecords

  • removeSubdomain

  • removeZoneRecord

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

--dns-loopia-credentials (required)

INI file with user and password for your Loopia API user. user normally has the format user@loopiaapi.

The credentials file must have the folling format:

dns_loopia_user = user@loopiaapi
dns_loopia_password = passwordgoeshere

For safety reasons the file must not be world readable. You can solve this by running:

$ chmod 600 credentials.ini

Then you can run certbot using:

$ sudo certbot certonly \
    --authenticator dns-loopia \
    --dns-loopia-credentials credentials.ini \
    -d domain.com

If you want to obtain a wildcard certificate you can use the domain -d *.domain.com.

Known issues

  • Due to caching on Loopia’s side it can take up to 15 minutes before changes propagates. Therefore the plugin will wait 15 minutes before contacting the ACME server. It has been known to work with as little as 90 seconds and sometimes less and if you want to try something other than 15 minutes then add --dns-loopia-propagation-seconds 90 to parameters for 90 seconds or how many seconds you want.

Changelog

Version 1.0.0

Released 4th May 2021

This is a breaking change. The CLI arguments and the name of the package has changed to match other DNS authenticator plugins.

Thank you Peter Magnusson (@kmpm) for contributing this change!

  • Updated name to certbot-dns-loopia to match other DNS plugins

  • Dropped Python < 3.6 support

Version 0.2.0

Released 21st August 2017

  • Rewrote plugin to match the implementation of certbot-dns-* plugins

  • Updated dependency requirements since the old release was completely broken for newer acme and certbot (see issue #2)

Version 0.1.0

Released 10th May 2017

  • Initial release

Disclaimer

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

Release files for certbot-dns-loopia 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for certbot-dns-loopia 1.0.1
File Size Uploaded
certbot-dns-loopia-1.0.1.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for certbot-dns-loopia 1.0.1
File Interpreter ABI Platform
certbot_dns_loopia-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.2 kB

Release files / certbot-dns-loopia-1.0.1.tar.gz

Download URL certbot-dns-loopia-1.0.1.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
02b28fae798964bdfc3a4bda443f420219d9e5f3baf812f589e593a38a75683a
BLAKE2b-256 checksum
How to use checksums
b97171fa5b403aacc48b4b649e4fc5604f4c69bcc7029065ef78fa9df47648f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release files / certbot_dns_loopia-1.0.1-py3-none-any.whl

Download URL certbot_dns_loopia-1.0.1-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f04ad41b468bc110192ceee3147beb4491db8bc24c025409e567e9771f0badd
BLAKE2b-256 checksum
How to use checksums
6671729ded295e027bbfd4a52083afa6c30f3c73d425ae0254e89137688daa19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page