Add readme

This commit is contained in:
2022-02-13 19:00:03 +01:00
parent 38cdb839d1
commit 305161e6be
4 changed files with 168 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
#!/bin/sh
API_USER=""
API_KEY=""
curl -s --request POST \
--url http://10.200.100.10:18000/present \
--header 'Content-Type: application/json' \
--user "$API_USER:$API_KEY" \
--data "{\"fqdn\": \"$CERTBOT_DOMAIN\", \"value\": \"$CERTBOT_VALIDATION\"}"

View File

@@ -0,0 +1,10 @@
#!/bin/sh
API_USER=""
API_KEY=""
curl -s --request POST \
--url http://10.200.100.10:18000/cleanup \
--header 'Content-Type: application/json' \
--user "$API_USER:$API_KEY" \
--data "{\"fqdn\": \"$CERTBOT_DOMAIN\", \"value\": \"$CERTBOT_VALIDATION\"}"