Code Review
/
oom
/
platform
/
cert-service.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
[OOM-CERT-SERVICE] Add curl requests to Makefile
[oom/platform/cert-service.git]
/
parseCertServiceResponse.sh
1
#!/bin/bash
2
read -r RESPONSE
3
echo "$RESPONSE" | jq -r '.certificateChain[]' > ./compose-resources/certs-from-curl/$1-cert.pem
4
echo "$RESPONSE" | jq -r '.trustedCertificates[]' > ./compose-resources/certs-from-curl/$1-cacert.pem