./harica gen-cert \
--domains "fancy.domain" \
--requester-email "[email protected]" \
--requester-password "password" \
--requester-totp-seed "totp-seed" \
--validator-email "[email protected]" \
--validator-password "password" \
--validator-totp-seed "totp-seed" \
--csr "-----BEGIN CERTIFICATE REQUEST-----\nfoo-bar\n-----END CERTIFICATE REQUEST-----"
In case you want to (re)validate several domains using DNS Challenges, you may use this module. To use this module, you must have a DNS server/provider that supports standard AXFR Updates to your zones. Right now, we consider all domains to be revalidated that expire in the next 30 days. Domains with a validity of more than 30 days get ignored by the tool.
Please create a new YAML file with the following structure.
zones:
- domain: "domain.de."
nameserver: "dns-server:53"
tsig_key_name: "hm.edu."
tsig_secret: "tsig_key"
tsig_secret_alg: "hmac-md5.sig-alg.reg.int."
net: "tcp"
- domain: "domain.eu."
nameserver: "dns-server:53"
tsig_key_name: "tsig_key_name."
tsig_secret: "tsig_key"
tsig_secret_alg: "hmac-md5.sig-alg.reg.int."
net: "tcp"
Alternative Algorithms are:
hmac-sha1.
hmac-sha224.
hmac-sha256.
hmac-sha384.
hmac-sha512.
hmac-md5.sig-alg.reg.int.
Afterwards you can trigger the validation flow:
./harica validation \
-u "harica-user" \
-p "harica-password" \
-t "harica-totp" \
--imap-host "imap.server.com" \
--imap-username "fancy-user" \
--imap-password "fancy-password" \
--domains "domain.de,domain.eu" \
--email "[email protected]" \
--dns "./path/to/dns-config"
Warning
Please note that we do not recommend validating large batches at once since the code is not that reslient for failures or timeouts. Try to keep the batches smaller than 10 domains and start more batches sequentially.