summaryrefslogtreecommitdiffstats
path: root/scripts/cert-request.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/cert-request.sh')
-rwxr-xr-xscripts/cert-request.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/cert-request.sh b/scripts/cert-request.sh
index 84b3e07..8bebb76 100755
--- a/scripts/cert-request.sh
+++ b/scripts/cert-request.sh
@@ -32,10 +32,12 @@ json="{
#echo $json
curl\
- -H "Content-Type:application/json"\
- -H "Accept:applicaton/json"\
- --negotiate -u :\
+ -H "Content-Type: application/json"\
+ -H "Accept: applicaton/json"\
+ -H "Referer: https://dev.example.com/ipa/xml"\
+ --negotiate\
--cacert /etc/ipa/ca.crt\
+ -u :\
-d "$json"\
-X POST\
$IPA_JSON_URL