Compare commits

...

5 Commits
1.0 ... main

Author SHA1 Message Date
jens 034cd9594d Update README.md 2024-01-27 14:24:41 +00:00
Jens Timmerman 2c249941fc bugfix 2020-09-13 18:11:58 +02:00
Jens Timmerman 4a6d45c8a0 added another example 2020-09-13 17:59:33 +02:00
Jens Timmerman 9fe11c74a8 set description text to markdown 2020-09-13 17:57:05 +02:00
Jens Timmerman 1f2a588aa4 renamed project to certbot-dns-transip-simple 2020-09-13 17:53:02 +02:00
4 changed files with 15 additions and 7 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
.eggs/*
dist/*
*.egg-info/*
certbot_dns_transip.egg-info/*
*/__pycache__/*

View File

@ -1,6 +1,8 @@
certbot-dns-transip
=====================
# NO longer maintained, use https://certbot-dns-transip.readthedocs.io/en/stable/ instead
transip_ DNS Authenticator plugin for Certbot
This plugin automates the process of completing a ``dns-01`` challenge by
@ -17,7 +19,7 @@ Installation
pip install certbot-dns-transip
pip install certbot-dns-transip-simple
Named Arguments
@ -82,6 +84,10 @@ certbot certonly \
-d '*.example.com'
```
```bash
certbot certonly -d 'example.com' -d '*.example.com' --agree-tos --authenticator dns-transip --dns-transip-credentials=credentials.ini -n --email=certbot@example.com --dns-transip-propagation-seconds 600
```
It is suggested to secure the folder as follows::
chown root:root /etc/letsencrypt/.secrets
chmod 600 /etc/letsencrypt/.secrets

View File

@ -62,7 +62,7 @@ class Authenticator(dns_common.DNSAuthenticator):
def _get_dns_entry(self, domain, validation_name, validation):
# transip api expects the name record without the domain part at the end
if validation_name.endswith(domain):
validation_name = validation.name[:-len(domain)].strip('.')
validation_name = validation_name[:-len(domain)].strip('.')
return DnsEntry(validation_name, self.ttl, 'TXT', validation)
def _get_transip_client(self):

View File

@ -1,7 +1,7 @@
from setuptools import setup
from setuptools import find_packages
version = "0.2.0"
version = "1.1.0"
install_requires = [
"acme>=0.29.0",
@ -15,15 +15,15 @@ install_requires = [
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.rst")) as f:
with open(path.join(this_directory, "README.md")) as f:
long_description = f.read()
setup(
name="certbot-dns-transip",
name="certbot-dns-transip-simple",
version=version,
description="transip DNS Authenticator plugin for Certbot",
description="transip DNS Authenticator plugin for Certbot, simple to set up, no docker etc.",
long_description=long_description,
long_description_content_type="text/x-rst",
long_description_content_type="text/markdown",
url="https://gitea.caret.be/jens/certbot-dns-transip",
author="Jens Timmerman",
author_email="certbotdnstransip@caret.be",