* 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>
16 lines
383 B
Bash
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
|