summaryrefslogtreecommitdiffstats
path: root/scripts/tps-config-mod.sh
blob: f7d4b2615c8eb7ec703846b895c0bf5c4cef4a7a (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

INPUT=$1

#    -H "Accept: application/xml" \

SSL_DIR=~/.dogtag/pki-tomcat/ca/alias curl -E "caadmin:Secret123" \
    -H "Content-Type: application/xml" \
    -X PATCH \
    --data @$INPUT \
    https://$HOSTNAME:8443/tps/rest/config | xmllint --format -