diff --git a/quovadis/quovadis.php b/quovadis/quovadis.php index 048672d54b147c133929b82b4eae405d0c618270..0c4a0a5ba240c4afad2a350746364770f1850068 100644 --- a/quovadis/quovadis.php +++ b/quovadis/quovadis.php @@ -156,13 +156,13 @@ Quovadis UCC DNS Helper -Your API key is: $api_key; +Your API key is: $api_key Rough API usage is: -curl -X POST -d username=accmurphy https://quovadis.ucc.asn.au/register -curl -X POST -d username=accmurphy -d api_key=foo -d new_api_key=bar https://quovadis.ucc.asn.au/update-api-key -curl -X POST -d username=accmurphy -d api_key=foo -d challenge=thingy -d value=123456abcdef https://quovadis.ucc.asn.au/update-challenge +curl -X POST -d username=accmurphy https://quovadis.ucc.asn.au/quovadis/register +curl -X POST -d username=accmurphy -d api_key=foo -d new_api_key=bar https://quovadis.ucc.asn.au/quovadis/update-api-key +curl -X POST -d username=accmurphy -d api_key=foo -d challenge=thingy -d value=123456abcdef https://quovadis.ucc.asn.au/quovadis/update-challenge END; // In case any of our lines are larger than 70 characters, we should use wordwrap() @@ -190,9 +190,9 @@ Rough API usage is: </p> <pre> -curl -X POST -d username=accmurphy https://quovadis.ucc.asn.au/register -curl -X POST -d username=accmurphy -d api_key=foo -d new_api_key=bar https://quovadis.ucc.asn.au/update-api-key -curl -X POST -d username=accmurphy -d api_key=foo -d challenge=thingy -d value=123456abcdef https://quovadis.ucc.asn.au/update-challenge +curl -X POST -d username=accmurphy https://quovadis.ucc.asn.au/quovadis/register +curl -X POST -d username=accmurphy -d api_key=foo -d new_api_key=bar https://quovadis.ucc.asn.au/quovadis/update-api-key +curl -X POST -d username=accmurphy -d api_key=foo -d challenge=thingy -d value=123456abcdef https://quovadis.ucc.asn.au/quovadis/update-challenge </pre> END; diff --git a/scripts/certbot-hook-quovadis.sh b/scripts/certbot-hook-quovadis.sh index 3985794bc52fc5bfd79c1c1c3cd361696f67b693..e462ed3b8991b730c4adfd603785063de5a416d1 100755 --- a/scripts/certbot-hook-quovadis.sh +++ b/scripts/certbot-hook-quovadis.sh @@ -47,7 +47,7 @@ fi # Strip only the top domain to get the zone id DOMAIN=$(expr match "$CERTBOT_DOMAIN" '\(.*\)\.ucc\..*') -BASE_API="${BASE_API:-https://quovadis.ucc.asn.au/}" +BASE_API="${BASE_API:-https://quovadis.ucc.asn.au/quovadis}" # Create TXT record RECORD_ID=$(curl -s -X POST "$BASE_API/update-challenge" \