summaryrefslogtreecommitdiffstats
path: root/scripts/cert-request.sh
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2013-05-06 03:53:38 -0400
committerEndi Sukma Dewata <edewata@redhat.com>2013-05-06 04:36:47 -0400
commit93c02b5f9f876fc9b110e52cb737f95aa3463f32 (patch)
treea51e9819e86635fead43e467ee5340a8b9bbc372 /scripts/cert-request.sh
parent040a939197457aaa53568654304ea3df904d5ee0 (diff)
Added new scripts.
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