easyrsa/op_test.sh
Eric F Crist 38575d870c
test suite fixes
* need the script to actually do more functional testing
* need to be able to test input, need something automated

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-12-11 20:39:21 -06:00

16 lines
383 B
Bash

#!/bin/sh
# 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