revoc.cfg (1135B)
1 # This Source Code Form is subject to the terms of the Mozilla Public 2 # License, v. 2.0. If a copy of the MPL was not distributed with this 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 4 5 scenario Revocation 6 7 entity Root 8 type Root 9 serial 10 10 11 entity CA0 12 type Intermediate 13 issuer Root 14 serial 11 15 16 entity CA1 17 type Intermediate 18 issuer CA0 19 serial 12 20 21 entity EE11 22 type EE 23 issuer CA1 24 serial 13 25 26 entity EE12 27 type EE 28 issuer CA1 29 serial 14 30 31 entity CA2 32 type Intermediate 33 issuer CA0 34 serial 15 35 36 entity EE21 37 type EE 38 issuer CA2 39 serial 16 40 41 crl Root 42 crl CA0 43 crl CA1 44 crl CA2 45 46 revoke CA1 47 serial 14 48 49 revoke CA0 50 serial 15 51 52 db All 53 54 import Root::CTu,CTu,CTu 55 import CA0:Root: 56 import CA1:CA0: 57 import CA2:CA0: 58 59 # EE11 - not revoked 60 verify EE11:CA1 61 trust Root: 62 rev_type leaf 63 rev_mtype crl 64 result pass 65 66 # EE12 - revoked 67 verify EE12:CA1 68 trust Root: 69 rev_type leaf 70 rev_mtype crl 71 result fail 72 73 # EE11 - CA1 not revoked 74 verify EE11:CA1 75 trust Root: 76 rev_type chain 77 rev_mtype crl 78 result pass 79 80 # EE21 - CA2 revoked 81 verify EE21:CA2 82 trust Root: 83 rev_type chain 84 rev_mtype crl 85 result fail