add manual http scripts

This commit is contained in:
Brad Warren
2016-12-09 16:21:15 -08:00
parent 296804b642
commit 23d8c2a59c
2 changed files with 8 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
#!/bin/sh
cd $(mktemp -d)
mkdir -p .well-known/acme-challenge
echo $CERTBOT_VALIDATION > ".well-known/acme-challenge/$CERTBOT_TOKEN"
python -m SimpleHTTPServer $http_01_port >/dev/null 2>&1 &
echo $!
+2
View File
@@ -0,0 +1,2 @@
#!/bin/sh
kill $CERTBOT_AUTH_OUTPUT