Certbot DNS authenticator for Google Domains
Project description
certbot-dns-google-domains
A Certbot DNS Authenticator for Google Domains.
Named Arguments
Option | Description |
---|---|
--authenticator dns-google-domains |
Select this authenticator plugin. |
--dns-google-domains-credentials FILE |
Path to the INI file with credentials. |
--dns-google-domains-propagation-seconds INT |
How long to wait for DNS changes to propagate. Default = 30s. |
--dns-google-domains-zone STRING |
What the registered domain on Google domains is. This is required if you are requesting a certificate for a sub-domain. Default = None. |
Credentials
The credentials file includes the access token for Google Domains.
dns_google_domains_access_token = abcdef
Usage Example
Docker / Podman
docker run \
-v '/var/lib/letsencrypt:/var/lib/letsencrypt' \
-v '/etc/letsencrypt:/etc/letsencrypt' \
--cap-drop=all \
ghcr.io/aaomidi/certbot-dns-google-domains:latest \
certbot certonly \
--authenticator 'dns-google-domains' \
--dns-google-domains-credentials '/var/lib/letsencrypt/dns_google_domains_credentials.ini' \
--server 'https://acme-v02.api.letsencrypt.org/directory' \
--dns-google-domains-zone 'example.com' \
-d 'a.example.com'
Notes:
-v '/var/lib/letsencrypt:/var/lib/letsencrypt'
is where certbot by default outputs certificates, keys, and account information.-v '/etc/letsencrypt:/etc/letsencrypt'
is where certbot keeps its configuration.--authenticator 'dns-google-domains'
uses the dns-google-domains authenticator.--dns-google-domains-credentials '/var/lib/letsencrypt/dns_google_domains_credentials.ini'
is the path to the credentials file.--dns-google-domains-zone 'example.com'
is the main domain you have registered with Google domains. This is required if you're issuing certificates for a subdomain.
Python
You can get the certbot-dns-google-domains
package from PyPi:
pip3 install certbot certbot-dns-google-domains
certbot certonly \
--authenticator 'dns-google-domains' \
--dns-google-domains-credentials '/var/lib/letsencrypt/dns_google_domains_credentials.ini' \
--server 'https://acme-v02.api.letsencrypt.org/directory' \
--dns-google-domains-zone 'example.com' \
-d 'a.example.com'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for certbot_dns_google_domains-0.1.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cc9006c73dd948650c1176b172fa0c5e9aa1142caca0f3754f8afdf85f51cb2 |
|
MD5 | 1f938c44ea01429d802f8e4b625679b9 |
|
BLAKE2b-256 | 4ae4ddc1a1963eedba02f8058cc7bd5acc9802a5d9e1cff7b8b87e1c195ffadd |
Close
Hashes for certbot_dns_google_domains-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0ac0c1725b0db6bb8c6bd28f379352f7b966461568d9d84c9360e02190f3791 |
|
MD5 | 9a70bb90a86c5aebf8671243584defce |
|
BLAKE2b-256 | 80d3f333df9a1644fe984fe4038b5090e36fe50a81aa225965ddecc6a73b67f9 |