actube/ssl/mkciscoimport.sh

30 lines
457 B
Bash
Raw Permalink Normal View History

#!/bin/sh
NAME=$1
if [ -z $1 ]
then
NAME="root-ca.crt"
fi
#echo clock set $(date "+%H:%M:%S %d %b %Y")
echo debug capwap console cli
echo configure terminal
echo crypto ca profile enrollment ACTube
echo authentication terminal
echo enrollment terminal
echo exit
echo crypto ca trustpoint ACTube
echo enrollment profile ACTube
echo revocation-check none
echo exit
echo crypto ca authenticate ACTube
cat root-ca/$NAME
echo
echo y
echo
echo exit
echo