Skip to content

Instantly share code, notes, and snippets.

@espro
espro / bitwarden-run-dns-cloudflare.diff
Created July 9, 2020 04:19
Replace Bitwarden's run.sh default certbot HTTP challenge method with dns-cloudflare
*** run.sh 2020-07-09 00:18:13.829515273 -0400
--- bwdata/scripts/run.sh 2020-07-09 00:18:06.925540167 -0400
*************** function install() {
*** 68,78 ****
read EMAIL
echo ""
mkdir -p $OUTPUT_DIR/letsencrypt
! docker pull certbot/certbot
! docker run -it --rm --name certbot -p 80:80 -v $OUTPUT_DIR/letsencrypt:/etc/letsencrypt/ certbot/certbot \