Add readme
This commit is contained in:
10
examples/certbot-norbert-auth.sh
Normal file
10
examples/certbot-norbert-auth.sh
Normal 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\"}"
|
||||
10
examples/certbot-norbert-cleanup.sh
Normal file
10
examples/certbot-norbert-cleanup.sh
Normal 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\"}"
|
||||
Reference in New Issue
Block a user