Skip to content
Snippets Groups Projects
Commit eaf384ac authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Break up the openssl commands

parent c9f58537
Branches
No related tags found
1 merge request!4Release
......@@ -172,7 +172,10 @@ else
fi
echo "DOWNLOADING TLS Cert..."
CMD="openssl s_client -showcerts -connect $(cat results/startgwserver.txt) < /dev/null 2>&1 | openssl x509 -outform PEM"
CMD="openssl s_client -showcerts -connect $(cat results/startgwserver.txt)"
echo $CMD
eval $CMD < /dev/null 2>&1 > "results/startgwcert.bin"
CMD="cat results/startgwcert.bin | openssl x509 -outform PEM"
echo $CMD
eval $CMD > "results/startgwcert.pem"
head "results/startgwcert.pem"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment