1#! /bin/csh -f
2#
3# Remove localcert, clientcert, and dsacert keychains.
4#
5
6source sslKcSetup
7echo Removing local keychains....
8
9set SECURITY=/usr/bin/security
10set cmd="$SECURITY delete-keychain $LOCAL_KC"
11echo $cmd
12$cmd
13# ignore errors, keep going 
14set cmd="$SECURITY delete-keychain $CLIENT_KC"
15echo $cmd
16$cmd
17
18set cmd="$SECURITY delete-keychain $DSA_KC"
19echo $cmd
20$cmd
21
22set cmd="$SECURITY delete-keychain $P12_KC"
23echo $cmd
24$cmd
25