Update op_test to support show-cert, add'l cmds

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
This commit is contained in:
Eric F Crist 2018-12-11 20:15:21 -06:00
parent 7cb2840cd7
commit 9db151e388

View File

@ -3,4 +3,13 @@
# Runs some basic operational testing
cd easyrsa3 || exit 1
echo "===> Init-PKI"
sh -x easyrsa init-pki
echo "===> Build-CA"
sh -x easyrsa -batch build-ca nopass
echo "===> Build-Server"
sh -x easyrsa -batch build-server full s01 nopass
sh -x easyrsa show-cert s01
echo "===> Build-Client"
sh -x easyrsa -batch build-client-full c01 nopass
sh -x easyrsa show-cert c01