43c4e29e92
FossilOrigin-Name: a9a44233b1245a44294ae7f530827e706959ae15be2dedfccd3cca974b8607d7
30 lines
456 B
Bash
Executable File
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
|
|
|
|
|