]> git.saurik.com Git - apple/security.git/blame - SecurityTests/clxutils/rootStoreTool/addTestRoots
Security-57740.31.2.tar.gz
[apple/security.git] / SecurityTests / clxutils / rootStoreTool / addTestRoots
CommitLineData
d8f41ccd
A
1#! /bin/csh -f
2#
3# add test roots using rootStoreTool.
4#
5# first the system certs
6#
7rootStoreTool a -c UnrestrictedSystemRoot.cer -s || exit(1)
8rootStoreTool a -c SMIME_SystemRoot.cer -s -p smime || exit(1)
9rootStoreTool a -c SSL_SystemRoot.cer -s -p ssl || exit(1)
10rootStoreTool a -c KeychainAccessSystemRoot.cer -s -a "/Applications/Utilities/Keychain Access.app" || exit(1)
11#
12# Now user certs - this will need UI
13#
14rootStoreTool a -c UnrestrictedUserRoot.cer || exit(1)
15rootStoreTool a -c SMIME_UserRoot.cer -p smime || exit(1)
16rootStoreTool a -c SSL_UserRoot.cer -p ssl || exit(1)
17rootStoreTool a -c KeychainAccessUserRoot.cer -a "/Applications/Utilities/Keychain Access.app" || exit(1)
18#
19echo ...complete.
20rootStoreTool r -A
21