0.9.11 • Published 2 years ago

certbot-namesilo-hook v0.9.11

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

certbot-namesilo-hook

What's this for?

For those who use Letsencrypt's Certbot and want wildcard certificates on Namesilo, certificate creation and renewal is quite a pain since the main method is via the DNS records ACME TXT challenge. Namesilo offers no tooling to assist in automation of the letsencrypt renewal. But it does, however, have an API we can call. We use certbot's manual-auth-hook to perform our needed function (updating the TXT record and waiting until it is updated), and no longer have to do this manually.

Requirements

Node.JS, NPM

How to use?

  1. npm install -g certbot-namesilo-hook
  2. Generate NameSilo API key (at https://www.namesilo.com/account/api-manager)
  3. In your terminal (or in your terminal profile (e.g. .bash_profile/.zprofile) ) do export NAMESILO_API="<your_api_key>" (add environment variable)
  4. When you run certbot, add the options for --manual-auth-hook and --manual-cleanup-hook to be certbot-namesilo-hook

Example Usage

certbot certonly --manual --email awesomeemail@wow.com \
--agree-tos \
--preferred-challenges=dns \
--manual-auth-hook certbot-namesilo-hook \
--manual-cleanup-hook certbot-namesilo-hook \
-d *.awesomewebsite.com -d awesomewebsite.com

Or when renewing

certbot renew --email awesomeemail@wow.com \
--agree-tos \
--preferred-challenges=dns \
--manual-auth-hook certbot-namesilo-hook \
--manual-cleanup-hook certbot-namesilo-hook \
-d *.awesomewebsite.com -d awesomewebsite.com

Tip Jar
Stellar Lumens (XLM) : 
GCVKPZQUDXWVNPIIMF3FXR6KWAOHTEWPZZM2AQE4J3TXR6ZDHXQHP5BQ
Cardano (ADA) : 
addr1q9datt8urnyuc2059tquh59sva0pja7jqg4nfhnje7xcy6zpndeesglqkxhjvcgdu820flcecjzunwp6qen4yr92gm6smssug8
0.9.11

2 years ago

0.9.8

2 years ago

0.9.7

2 years ago

0.9.9

2 years ago

0.9.4

2 years ago

0.9.10

2 years ago

0.9.6

2 years ago

0.9.5

2 years ago

0.9.1

2 years ago

0.9.3

2 years ago

0.9.2

2 years ago

0.9.0

3 years ago

1.0.0

3 years ago