3 # add test roots using rootStoreTool.
5 # first the system certs
7 rootStoreTool a
-c UnrestrictedSystemRoot.cer
-s || exit(1)
8 rootStoreTool a
-c SMIME_SystemRoot.cer
-s -p smime
|| exit(1)
9 rootStoreTool a
-c SSL_SystemRoot.cer
-s -p ssl
|| exit(1)
10 rootStoreTool a
-c KeychainAccessSystemRoot.cer
-s -a "/Applications/Utilities/Keychain Access.app" || exit(1)
12 # Now user certs - this will need UI
14 rootStoreTool a
-c UnrestrictedUserRoot.cer
|| exit(1)
15 rootStoreTool a
-c SMIME_UserRoot.cer
-p smime
|| exit(1)
16 rootStoreTool a
-c SSL_UserRoot.cer
-p ssl
|| exit(1)
17 rootStoreTool a
-c KeychainAccessUserRoot.cer
-a "/Applications/Utilities/Keychain Access.app" || exit(1)