11 lines
262 B
Bash
11 lines
262 B
Bash
|
#!/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\"}"
|