| Crates.io | letsencrypt-inwx |
| lib.rs | letsencrypt-inwx |
| version | 2.0.2 |
| created_at | 2018-06-04 09:31:21.10815+00 |
| updated_at | 2019-10-07 17:37:46.647026+00 |
| description | A small cli utility for automating the letsencrypt dns-01 challenge for domains hosted by inwx |
| homepage | |
| repository | https://github.com/kegato/letsencrypt-inwx |
| max_upload_size | |
| id | 68455 |
| size | 128,468 |
A small cli utility for automating the letsencrypt dns-01 challenge for domains hosted by inwx. This allows you to obtain wildcard certificates from letsencrypt.
sudo dpkg -i <path_to_the_deb_file>/usr/bin/./etc/ to /usr/lib/letsencrypt-inwx/cargo install letsencrypt-inwxYou can store the configuration file at /etc/letsencrypt-inwx.json or at ~/.config/letsencrypt-inwx.json when used with certbot or specify it's path with the -c option.
The configuration file should look like this (without the comments):
{
"accounts": [
{
"username": "user",
"password": "pass",
// optional, if the domain is not configured all accounts will be tried
"domains": [
"example.com"
],
// optional, if true the public inwx test server will be used
"ote": false
}
],
// optional
"options": {
// optional, if true letsencrypt-inwx will not wait until the created record is publicly visible, default: false
"no_dns_check": false,
// optional, the amount of time in seconds to wait after creating a record, default: 5 seconds
"wait_interval": 5,
// optional: the dns server to use, default: the google public dns server
"dns_server": "8.8.8.8"
}
}
docker run --rm -it -v /etc/letsencrypt-inwx.json:/etc/letsencrypt-inwx.json -v /etc/letsencrypt:/etc/letsencrypt kegato/letsencrypt-inwx certonly --email <your_email> --preferred-challenges=dns-01 --manual --manual-auth-hook /usr/lib/letsencrypt-inwx/certbot-inwx-auth --manual-cleanup-hook /usr/lib/letsencrypt-inwx/certbot-inwx-cleanup --manual-public-ip-logging-ok -d <your_domain>/etc/letsencrypt/live/<your_domain>/docker run --rm -it -v /etc/letsencrypt-inwx.json:/etc/letsencrypt-inwx.json -v /etc/letsencrypt:/etc/letsencrypt kegato/letsencrypt-inwx renewsudo certbot certonly -n --agree-tos --email <your_email> --preferred-challenges=dns-01 --manual --manual-auth-hook /usr/lib/letsencrypt-inwx/certbot-inwx-auth --manual-cleanup-hook /usr/lib/letsencrypt-inwx/certbot-inwx-cleanup --manual-public-ip-logging-ok -d <your_domain>letsencrypt-inwx create -c <config_file> -d _acme-challenge.<your_domain> -v <acme_token>letsencrypt-inwx delete -c <config_file> -d _acme-challenge.<your_domain>libssl-dev and pkg-config are required when building on Ubuntu / Debian see here.
cargo install cargo-debcargo deb to build the packagecargo build --release to build the letsencrypt-inwx executable