summaryrefslogtreecommitdiff
path: root/bin/serverscripts/cfdnsreq
blob: a3806549b1afb557fbb2bb5bb214e3faa004dc7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

if [ $# -eq 0 ]
then
	echo "no domain provided."
	exit 1
fi

certbot certonly \
	--dns-cloudflare \
	--dns-cloudflare-credentials ~/.secrets/cloudflare.ini \
	-m raymaekers.luca@gmail.com \
	-d $1