Compare commits
5 Commits
Author | SHA1 | Date |
---|---|---|
jens | 034cd9594d | |
Jens Timmerman | 2c249941fc | |
Jens Timmerman | 4a6d45c8a0 | |
Jens Timmerman | 9fe11c74a8 | |
Jens Timmerman | 1f2a588aa4 |
|
@ -1,3 +1,5 @@
|
|||
.eggs/*
|
||||
dist/*
|
||||
*.egg-info/*
|
||||
certbot_dns_transip.egg-info/*
|
||||
*/__pycache__/*
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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):
|
||||
|
|
10
setup.py
10
setup.py
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue