Builds a script that can be pasted into a Cisco terminal to import the ca certificate.

The script must be started in enabled mode.
After rebooting the LAP the importet cert is lost.

FossilOrigin-Name: c4ae8fdbd8d929c8d72e0313eb986dfc9b02643475fc82e0c4d7561303da1be5
This commit is contained in:
7u83@mail.ru 2014-08-11 15:32:37 +00:00
parent 4d8643be77
commit d982c4fd9e
1 changed files with 21 additions and 0 deletions

21
ssl/mkciscoimport.sh Executable file
View File

@ -0,0 +1,21 @@
#!/bin/sh
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.crt
echo
echo y
echo
echo exit
echo