diff options
Diffstat (limited to 'scripts/cert-request.sh')
-rwxr-xr-x | scripts/cert-request.sh | 8 |
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 |