]> git.saurik.com Git - apple/security.git/blob - SecurityTests/clxutils/sslScripts/removeLocalCerts
Security-57031.30.12.tar.gz
[apple/security.git] / SecurityTests / clxutils / sslScripts / removeLocalCerts
1 #! /bin/csh -f
2 #
3 # Remove localcert, clientcert, and dsacert keychains.
4 #
5
6 source sslKcSetup
7 echo Removing local keychains....
8
9 set SECURITY=/usr/bin/security
10 set cmd="$SECURITY delete-keychain $LOCAL_KC"
11 echo $cmd
12 $cmd
13 # ignore errors, keep going
14 set cmd="$SECURITY delete-keychain $CLIENT_KC"
15 echo $cmd
16 $cmd
17
18 set cmd="$SECURITY delete-keychain $DSA_KC"
19 echo $cmd
20 $cmd
21
22 set cmd="$SECURITY delete-keychain $P12_KC"
23 echo $cmd
24 $cmd