This is a hook for the Let's Encrypt ACME client dehydrated (previously known as letsencrypt.sh
) that allows you to use GoDaddy APIs DNS records to respond to dns-01
challenges. Requires bash and your GoDaddy API Key and Secret being in the environment.
$ cd ~
$ git clone https://github.com/lukas2511/dehydrated
$ cd dehydrated
$ mkdir hooks
$ git clone https://github.com/walcony/letsencrypt-GoDaddy-hook.git hooks/godaddy
Your Godady API ey and secret are expected to be in the environment. If you do not have a key and secret yet, go to Godady APIs getting started to obtain them. If the API key and secret values are not in the enviornment yet, set them up by the following commands in bash:
$ export GODADDY_KEY='example-key'
$ export GODADDY_SECRET='example-secret'
$ ./dehydrated -c -d example.com -t dns-01 -k 'hooks/godaddy/hook.sh'