#!/bin/sh
#

echo -n "Remove surrent keys and certificates? [y/N]:"
read
if [ $REPLY = "Y" -o $REPLY = "y" ]; then
    echo "removing files!"
    /bin/rm -v server.*
fi

echo -n "Remove CA key and cert? [y/N]:"
read
if [ $REPLY = "Y" -o $REPLY = "y" ]; then
    echo "removing files!"
    /bin/rm -v ca.key ca.crt
fi
