2014-08-11 17:32:37 +02:00
|
|
|
#!/bin/sh
|
2015-01-24 08:49:16 +01:00
|
|
|
|
|
|
|
NAME=$1
|
|
|
|
if [ -z $1 ]
|
|
|
|
then
|
|
|
|
NAME="root-ca.crt"
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
2014-08-11 17:32:37 +02:00
|
|
|
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
|
2015-01-24 08:49:16 +01:00
|
|
|
cat root-ca/$NAME
|
2014-08-11 17:32:37 +02:00
|
|
|
echo
|
|
|
|
echo y
|
|
|
|
echo
|
|
|
|
echo exit
|
|
|
|
echo
|
|
|
|
|
|
|
|
|