security/nss/tests/chains/scenarios/ocspd.cfg

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 4
michael@0 5 scenario OCSPD
michael@0 6
michael@0 7 #root CA
michael@0 8 entity OCSPRoot
michael@0 9 type Root
michael@0 10 export_key
michael@0 11
michael@0 12 #CA - OK
michael@0 13 entity OCSPCA1
michael@0 14 type Intermediate
michael@0 15 issuer OCSPRoot
michael@0 16 serial 1
michael@0 17 ocsp online
michael@0 18 export_key
michael@0 19
michael@0 20 #CA - revoked
michael@0 21 entity OCSPCA2
michael@0 22 type Intermediate
michael@0 23 issuer OCSPRoot
michael@0 24 serial 2
michael@0 25 ocsp online
michael@0 26 export_key
michael@0 27
michael@0 28 #CA - unknown status
michael@0 29 entity OCSPCA3
michael@0 30 type Intermediate
michael@0 31 issuer OCSPRoot
michael@0 32 serial 3
michael@0 33 ocsp offline
michael@0 34 export_key
michael@0 35
michael@0 36 #EE - OK
michael@0 37 entity OCSPEE11
michael@0 38 type EE
michael@0 39 issuer OCSPCA1
michael@0 40 serial 1
michael@0 41 ocsp online
michael@0 42
michael@0 43 #EE - revoked on OCSP
michael@0 44 entity OCSPEE12
michael@0 45 type EE
michael@0 46 issuer OCSPCA1
michael@0 47 serial 2
michael@0 48 ocsp online
michael@0 49
michael@0 50 #EE - revoked on CRL
michael@0 51 entity OCSPEE13
michael@0 52 type EE
michael@0 53 issuer OCSPCA1
michael@0 54 serial 3
michael@0 55 ocsp online
michael@0 56
michael@0 57 #EE - revoked on OCSP and CRL
michael@0 58 entity OCSPEE14
michael@0 59 type EE
michael@0 60 issuer OCSPCA1
michael@0 61 serial 4
michael@0 62 ocsp online
michael@0 63
michael@0 64 #EE - unknown status
michael@0 65 entity OCSPEE15
michael@0 66 type EE
michael@0 67 issuer OCSPCA1
michael@0 68 serial 5
michael@0 69 ocsp offline
michael@0 70
michael@0 71 #EE - valid EE, revoked CA
michael@0 72 entity OCSPEE21
michael@0 73 type EE
michael@0 74 issuer OCSPCA2
michael@0 75 serial 1
michael@0 76 ocsp online
michael@0 77
michael@0 78 #EE - revoked EE, revoked CA
michael@0 79 entity OCSPEE22
michael@0 80 type EE
michael@0 81 issuer OCSPCA2
michael@0 82 serial 2
michael@0 83 ocsp online
michael@0 84
michael@0 85 #EE - revoked EE, CA pointing to invalid OCSP
michael@0 86 entity OCSPEE23
michael@0 87 type EE
michael@0 88 issuer OCSPCA2
michael@0 89 serial 3
michael@0 90 ocsp offline
michael@0 91
michael@0 92 #EE - valid EE, CA pointing to invalid OCSP
michael@0 93 entity OCSPEE31
michael@0 94 type EE
michael@0 95 issuer OCSPCA3
michael@0 96 serial 1
michael@0 97 ocsp online
michael@0 98
michael@0 99 #EE - revoked EE, CA pointing to invalid OCSP
michael@0 100 entity OCSPEE32
michael@0 101 type EE
michael@0 102 issuer OCSPCA3
michael@0 103 serial 2
michael@0 104 ocsp online
michael@0 105
michael@0 106 #EE - EE pointing to invalid OCSP, CA pointing to invalid OCSP
michael@0 107 entity OCSPEE33
michael@0 108 type EE
michael@0 109 issuer OCSPCA3
michael@0 110 serial 3
michael@0 111 ocsp offline
michael@0 112
michael@0 113 crl OCSPRoot
michael@0 114
michael@0 115 revoke OCSPRoot
michael@0 116 serial 2
michael@0 117
michael@0 118 crl OCSPCA1
michael@0 119
michael@0 120 revoke OCSPCA1
michael@0 121 serial 2
michael@0 122
michael@0 123 revoke OCSPCA1
michael@0 124 serial 4
michael@0 125
michael@0 126 crl OCSPCA2
michael@0 127
michael@0 128 revoke OCSPCA2
michael@0 129 serial 2
michael@0 130
michael@0 131 revoke OCSPCA2
michael@0 132 serial 3
michael@0 133
michael@0 134 crl OCSPCA3
michael@0 135
michael@0 136 revoke OCSPCA3
michael@0 137 serial 2
michael@0 138
michael@0 139 revoke OCSPCA3
michael@0 140 serial 3
michael@0 141
michael@0 142 # Used for running a single OCSP server (httpserv) instance that can
michael@0 143 # handle multiple CAs, e.g.:
michael@0 144 # httpserv -p 8641 -d . -f dbpasswd \
michael@0 145 # -A OCSPRoot -C OCSPRoot.crl -A OCSPCA1 -C OCSPCA1.crl \
michael@0 146 # -A OCSPCA2 -C OCSPCA2.crl -A OCSPCA3 -C OCSPCA3.crl
michael@0 147 db Server
michael@0 148 import OCSPRoot::CT,C,C
michael@0 149 import_key OCSPRoot
michael@0 150 import_key OCSPCA1
michael@0 151 import_key OCSPCA2
michael@0 152 import_key OCSPCA3
michael@0 153
michael@0 154 # A DB containing all certs, but no keys.
michael@0 155 # Useful for manual OCSP client testing, e.g.:
michael@0 156 # ocspclnt -d . -S OCSPEE12OCSPCA1 -u s
michael@0 157 db Client
michael@0 158 import OCSPRoot::CT,C,C
michael@0 159 import OCSPCA1OCSPRoot::
michael@0 160 import OCSPCA2OCSPRoot::
michael@0 161 import OCSPCA3OCSPRoot::
michael@0 162 import OCSPEE11OCSPCA1::
michael@0 163 import OCSPEE12OCSPCA1::
michael@0 164 import OCSPEE13OCSPCA1::
michael@0 165 import OCSPEE14OCSPCA1::
michael@0 166 import OCSPEE15OCSPCA1::
michael@0 167 import OCSPEE21OCSPCA2::
michael@0 168 import OCSPEE22OCSPCA2::
michael@0 169 import OCSPEE23OCSPCA2::
michael@0 170 import OCSPEE31OCSPCA3::
michael@0 171 import OCSPEE32OCSPCA3::
michael@0 172 import OCSPEE33OCSPCA3::

mercurial