From 93c02b5f9f876fc9b110e52cb737f95aa3463f32 Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Mon, 6 May 2013 03:53:38 -0400 Subject: Added new scripts. --- scripts/cert-request.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'scripts/cert-request.sh') 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 -- cgit