sudo su
apt install python3-pip mktemp curl sed grep libffi-dev libssl-dev
cd ~
git clone https://github.com/lukas2511/dehydrated
cd dehydrated
mkdir hooks
git clone https://github.com/kappataumu/letsencrypt-cloudflare-hook hooks/cloudflare
pip3 install -r hooks/cloudflare/requirements.txt
echo "export [email protected]" >> config
echo "export CF_KEY=K9uX2HyUjeWg5AhAb" >> config
echo "export CF_DEBUG=true" >> config
./dehydrated -c -d domain.tld -t dns-01 -k '/opt/dehydrated/hooks/cloudflare/hook.py'
Leave a Reply