actube/ssl/mkciscoimport.sh
7u83@mail.ru 43c4e29e92 Modyfied to match new directory structure
FossilOrigin-Name: a9a44233b1245a44294ae7f530827e706959ae15be2dedfccd3cca974b8607d7
2015-01-24 07:49:16 +00:00

30 lines
456 B
Bash
Executable File

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