]> git.saurik.com Git - apple/security.git/blame - SecurityTests/clxutils/certcrl/testSubjects/expiredAppleCA/one.scr
Security-57740.31.2.tar.gz
[apple/security.git] / SecurityTests / clxutils / certcrl / testSubjects / expiredAppleCA / one.scr
CommitLineData
d8f41ccd
A
1#
2# test handling of expired Apple development CA certs, Radar 3622125.
3#
4
5globals
6allowUnverified = true
7crlNetFetchEnable = false
8certNetFetchEnable = false
9useSystemAnchors = false
10end
11
12#
13# Original Dev CA expires Sep 7, 2007
14# New Dev CA expires Dec 31, 2008
15# leaf cert expires Oct 13, 2006
16#
17# After initial sanity checks, we evaluate at a time after the
18# original CA expired and before the new CA expires; we assume
19# that the leaf is expired in all cases.
20#
21
22test = "No CA input certs, both CAs in DlDb"
23cert = dmitchtread.cer
24root = AppleDevRoot.pem
25certDb = appleDevCAs.keychain
26verifyTime = 20071201000000
27error = CSSMERR_TP_CERT_EXPIRED
28# leaf expired
29# IS_IN_INPUT_CERTS | EXPIRED
30certstatus = 0:0x05
31# !IS_IN_INPUT_CERTS, !EXPIRED
32certstatus = 1:0x0
33# IS_IN_ANCHORS IS_ROOT
34certstatus = 2:0x18
35end