1 denise.eckstein 1.1 #//%2006////////////////////////////////////////////////////////////////////////
2 #//
3 #// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
4 #// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
5 #// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
6 #// IBM Corp.; EMC Corporation, The Open Group.
7 #// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
8 #// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
9 #// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
10 #// EMC Corporation; VERITAS Software Corporation; The Open Group.
11 #// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
12 #// EMC Corporation; Symantec Corporation; The Open Group.
13 #//
14 #// Permission is hereby granted, free of charge, to any person obtaining a copy
15 #// of this software and associated documentation files (the "Software"), to
16 #// deal in the Software without restriction, including without limitation the
17 #// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
18 #// sell copies of the Software, and to permit persons to whom the Software is
19 #// furnished to do so, subject to the following conditions:
|
20 kumpf 1.5 #//
|
21 denise.eckstein 1.1 #// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
22 #// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
23 #// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
24 #// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
25 #// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
26 #// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
27 #// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 #// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 #//
30 #//==============================================================================
31
32 ###############################################################################
33 # This Makefile implements three main funtions:
34 # make -f TestMakefile setupCBATestCertificates
35 # make -f TestMakefile runCBATestSuites
36 # make -f TestMakefile cleanupCBATestCertificates
37 ###############################################################################
38
39 ifndef PEGASUS_HAS_SSL
40 setupCBATestCertificates: FORCE
41 @$(ECHO) \
|
42 kumpf 1.5 "+++++ PEGASUS_HAS_SSL not defined: CBA test certificates not created."
|
43 denise.eckstein 1.1 cleanupCBATestCertificates: FORCE
44 @$(ECHO) \
|
45 kumpf 1.5 "+++++ PEGASUS_HAS_SSL not defined: CBA test certificates not removed."
|
46 denise.eckstein 1.1 runCBATestSuites: FORCE
47 @$(ECHO) \
|
48 kumpf 1.5 "+++++ PEGASUS_HAS_SSL not defined: CBA test suites not run."
|
49 denise.eckstein 1.1 else
|
50 kumpf 1.5 ifdef PEGASUS_DISABLE_PRIVILEGED_TESTS
|
51 denise.eckstein 1.1 setupCBATestCertificates: FORCE
52 @$(ECHO) \
|
53 kumpf 1.5 "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: CBA test certificates not created."
|
54 denise.eckstein 1.1 cleanupCBATestCertificates: FORCE
55 @$(ECHO) \
|
56 kumpf 1.5 "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: CBA test certificates not created."
|
57 denise.eckstein 1.1 runCBATestSuites: FORCE
58 @$(ECHO) \
|
59 kumpf 1.5 "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: CBA test certificates not created."
|
60 denise.eckstein 1.1 else
|
61 kumpf 1.5 ifndef PEGASUS_TEST_USER_DEFINED
|
62 denise.eckstein 1.1 setupCBATestCertificates: FORCE
63 @$(ECHO) \
64 "+++++ PEGASUS_ PEGASUS_TEST_USER_DEFINED not defined:" \
|
65 kumpf 1.5 "CBA test certificates not created."
|
66 denise.eckstein 1.1 cleanupCBATestCertificates: FORCE
67 @$(ECHO) \
68 "+++++ PEGASUS_ PEGASUS_TEST_USER_DEFINED not defined:" \
|
69 kumpf 1.5 "CBA test certificates not removed."
|
70 denise.eckstein 1.1 runCBATestSuites: FORCE
71 @$(ECHO) \
72 "+++++ PEGASUS_ PEGASUS_TEST_USER_DEFINED not defined:" \
|
73 kumpf 1.5 "CBA test suites not run."
|
74 denise.eckstein 1.1 else
75
76 ###############################################################################
77 # To add new certificates to this Makefile:
78 # 1.) Update the OpenPegasus Certificate Test Readme to include the
79 # new certificate definition. This document is available in
|
80 kumpf 1.5 # in CVS (pegasus/mak/certificate_test_readme.html).
81 # 2.) Add the definition of the new certificate to the
|
82 denise.eckstein 1.1 # "Certificate Definition" section in this Makefile.
83 # Notes:
84 # a. Please use the Certificate ID (CID) to generate the Certificate
85 # Serial Number (i.e., 50000+CID). Note: To avoid collisions with
|
86 kumpf 1.5 # other tests, all serial numbers are in the 50000 - 59999 range.
|
87 denise.eckstein 1.1 # 3.) Add the new certificate to the appropriate definition group. See
88 # the "Certificate Group Definition" section for more details.
89 ###############################################################################
90
91 ###############################################################################
92 # To use certificate_test.mak, the following variables need to be
93 # included in the enclosing Makefile.
94 # ROOT = $(PEGASUS_ROOT)
95 # include $(ROOT)/mak/config.mak
96 # include $(ROOT)/mak/commands.mak
97 # include $(ROOT)/mak/test.mak
98 # .PHONY: FORCE
99 # FORCE:
100 #
101 # To avoid conflicts with enclosing Makefiles, all Makefile options include
102 # the string "CBA" (e.g., setupCBATestCerticates).
103 ###############################################################################
104 include $(ROOT)/mak/configschema.mak
105
106 ifndef PEGASUS_TEST_CERT_USER_ID
107 PEGASUS_TEST_CERT_USER_ID = $(PEGASUS_TEST_USER_ID)
108 denise.eckstein 1.1 endif
109
110 ifndef PEGASUS_TEST_USER_INVLD_USR
111 PEGASUS_TEST_USER_INVLD_USR = invalidUSER
112 endif
113
114 ifndef PEGASUS_TEST_USER_INVLD_PASS
115 PEGASUS_TEST_USER_INVLD_PASS = invalidPWD
116 endif
117
118 ifndef PEGASUS_TEST_CERT_DIR
119 PEGASUS_TEST_CERT_DIR = $(PEGASUS_HOME)/certDir
120 endif
121
|
122 kumpf 1.5 ifndef PEGASUS_SSL_SERVER_TRUSTSTORE
|
123 denise.eckstein 1.1 PEGASUS_SSL_SERVER_TRUSTSTORE = $(PEGASUS_HOME)/cimserver_trust
124 endif
125
126 PEGASUS_CBA_TEST_CA_DATABASE_FILE = $(PEGASUS_TEST_CERT_DIR)/databaseFile
127 PEGASUS_CBA_TEST_CA_SERIAL_FILE = $(PEGASUS_TEST_CERT_DIR)/serialFile
128 PEGASUS_CBA_TEST_CA_SSL_CNF_FILE = $(PEGASUS_TEST_CERT_DIR)/testOpenSSL.cnf
129
130 ###############################################################################
131 # Certificate Definitions
132 ###############################################################################
133
134 PEGASUS_TEST_INVLD_CIM_NOT_B = "20040329074919.000000+000"
|
135 kumpf 1.5 PEGASUS_TEST_INVLD_CERT_NOT_B = "040329074919Z"
136 PEGASUS_TEST_INVLD_CIM_NOT_A = "20050329074919.000000+000"
137 PEGASUS_TEST_INVLD_CERT_NOT_A = "050329074919Z"
|
138 denise.eckstein 1.1
139 PEGASUS_TEST_VLD_CIM_NOT_B = "20060329074919.000000+000"
|
140 kumpf 1.5 PEGASUS_TEST_VLD_CERT_NOT_B = "060329074919Z"
141 PEGASUS_TEST_VLD_CIM_NOT_A = "20260329074919.000000+000"
142 PEGASUS_TEST_VLD_CERT_NOT_A = "260329074919Z"
|
143 denise.eckstein 1.1
144 # ID = 10: Define PEGASUS_SCERT_NOTTS_NO_USR
145 # Valid Certificate - Not In Truststore - No User
146 PEGASUS_SCERT_NOTTS_NO_USR = testSCertNotInTrustStoreNoUser
147 PEGASUS_SCERT_NOTTS_NO_USR_SUBJECT = \
148 "/C=US/ST=CA/L=SF/O=OG/OU=OP/CN=NOTTS_NO_USER"
|
149 kumpf 1.5 PEGASUS_SCERT_NOTTS_NO_USR_ISSUER_SYM = PEGASUS_SCERT_NOTTS_NO_USR
|
150 denise.eckstein 1.1 PEGASUS_SCERT_NOTTS_NO_USR_SERIAL_NO = 50010
151 PEGASUS_SCERT_NOTTS_NO_USR_SERIAL_NO_HEX = C35A
152 PEGASUS_SCERT_NOTTS_NO_USR_EXPIRED = NO
|
153 kumpf 1.5 PEGASUS_SCERT_NOTTS_NO_USR_TYPE = s
|
154 denise.eckstein 1.1 PEGASUS_SCERT_NOTTS_NO_USR_IN_TS = NO
155
156 # ID = 40: Define PEGASUS_SCERT_IN_TS_NO_USR
157 # Valid Certificate - In Truststore - No User
158 PEGASUS_SCERT_IN_TS_NO_USR = testSCertInTrustStoreNoUser
159 PEGASUS_SCERT_IN_TS_NO_USR_SUBJECT = \
160 "/C=US/ST=CA/L=SF/O=OG/OU=OP/CN=SCERT_IN_TS_NO_USER"
161 PEGASUS_SCERT_IN_TS_NO_USR_ISSUER_SYM = PEGASUS_SCERT_IN_TS_NO_USR
162 PEGASUS_SCERT_IN_TS_NO_USR_SERIAL_NO = 50040
163 PEGASUS_SCERT_IN_TS_NO_USR_SERIAL_NO_HEX = C378
164 PEGASUS_SCERT_IN_TS_NO_USR_USER_NAME =
|
165 sushma.fernandes 1.3 PEGASUS_SCERT_IN_TS_NO_USR_HASH_NAME = \
166 $(shell $(OPENSSL_COMMAND) x509 -hash -noout \
167 -in $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_NO_USR).cert).0
|
168 denise.eckstein 1.1 PEGASUS_SCERT_IN_TS_NO_USR_EXPIRED = NO
|
169 sushma.fernandes 1.3 PEGASUS_SCERT_IN_TS_NO_USR_TYPE = s
|
170 kumpf 1.5 PEGASUS_SCERT_IN_TS_NO_USR_IN_TS = YES
|
171 denise.eckstein 1.1
172 # ID = 50: Define PEGASUS_SCERT_IN_TS_VLD_USR
173 # Valid Certificate - In Truststore - Valid User
174 PEGASUS_SCERT_IN_TS_VLD_USR = testSCertInTrustStoreValidUser
175 PEGASUS_SCERT_IN_TS_VLD_USR_SUBJECT = \
176 "/C=US/ST=CA/L=SF/O=OG/OU=OP/CN=SCERT_IN_TS_VALID_USER"
177 PEGASUS_SCERT_IN_TS_VLD_USR_ISSUER_SYM = PEGASUS_SCERT_IN_TS_VLD_USR
178 PEGASUS_SCERT_IN_TS_VLD_USR_SERIAL_NO = 50050
179 PEGASUS_SCERT_IN_TS_VLD_USR_SERIAL_NO_HEX = C382
180 PEGASUS_SCERT_IN_TS_VLD_USR_USER_NAME = $(PEGASUS_TEST_CERT_USER_ID)
|
181 kumpf 1.5 PEGASUS_SCERT_IN_TS_VLD_USR_EXPIRED = NO
182 PEGASUS_SCERT_IN_TS_VLD_USR_TYPE = s
183 PEGASUS_SCERT_IN_TS_VLD_USR_IN_TS = YES
|
184 denise.eckstein 1.1
185 # ID = 60: Define PEGASUS_SCERT_IN_TS_INVLD_USR
186 # Valid Certificate - In Truststore - Invalid User
187 PEGASUS_SCERT_IN_TS_INVLD_USR = testSCertInTrustStoreInvalidUser
188 PEGASUS_SCERT_IN_TS_INVLD_USR_SUBJECT = \
189 "/C=US/ST=CA/L=SF/O=OG/OU=OP/CN=SCERT_IN_TS_INVALID_USER"
190 PEGASUS_SCERT_IN_TS_INVLD_USR_ISSUER_SYM = PEGASUS_SCERT_IN_TS_INVLD_USR
191 PEGASUS_SCERT_IN_TS_INVLD_USR_SERIAL_NO = 50060
192 PEGASUS_SCERT_IN_TS_INVLD_USR_SERIAL_NO_HEX = C38C
193 PEGASUS_SCERT_IN_TS_INVLD_USR_USER_NAME = \
194 $(PEGASUS_TEST_USER_INVLD_USR)
195 PEGASUS_SCERT_IN_TS_INVLD_USR_HASH_NAME = \
196 $(shell $(OPENSSL_COMMAND) x509 -hash -noout \
197 -in $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_INVLD_USR).cert).0
|
198 kumpf 1.5 PEGASUS_SCERT_IN_TS_INVLD_USR_EXPIRED = NO
199 PEGASUS_SCERT_IN_TS_INVLD_USR_TYPE = s
200 PEGASUS_SCERT_IN_TS_INVLD_USR_IN_TS = YES
|
201 denise.eckstein 1.1
202 # ID = 070: Define PEGASUS_EXP_SCERT_NOTTS_NO_USR
203 # Expired Certificate - In Truststore - No User
204 PEGASUS_EXP_SCERT_NOTTS_NO_USR = testExpiredSCertNotInTrustStoreNoUser
205 PEGASUS_EXP_SCERT_NOTTS_NO_USR_SUBJECT = \
206 "/C=US/ST=CA/L=SF/O=OG/OU=OP/CN=EXP_SCERT_NOT_IN_TS_NO_USER"
207 PEGASUS_EXP_SCERT_NOTTS_NO_USR_ISSUER_SYM = PEGASUS_EXP_SCERT_NOTTS_NO_USR
208 PEGASUS_EXP_SCERT_NOTTS_NO_USR_SERIAL_NO = 50070
209 PEGASUS_EXP_SCERT_NOTTS_NO_USR_SERIAL_NO_HEX = C396
210 PEGASUS_EXP_SCERT_NOTTS_NO_USR_USER_NAME =
211 PEGASUS_EXP_SCERT_NOTTS_NO_USR_HASH_NAME = \
212 $(shell $(OPENSSL_COMMAND) x509 -hash -noout \
213 -in $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_NOTTS_NO_USR).cert).0
|
214 kumpf 1.5 PEGASUS_EXP_SCERT_NOTTS_NO_USR_EXPIRED = YES
|
215 sushma.fernandes 1.3 PEGASUS_EXP_SCERT_NOTTS_NO_USR_TYPE = s
|
216 kumpf 1.5 PEGASUS_EXP_SCERT_NOTTS_NO_USR_IN_TS = NO
|
217 denise.eckstein 1.1
218 # ID = 100: Define PEGASUS_EXP_SCERT_IN_TS_NO_USR
219 # Expired Certificate - In Truststore - No User
220 PEGASUS_EXP_SCERT_IN_TS_NO_USR = testExpiredSCertInTrustStoreNoUser
221 PEGASUS_EXP_SCERT_IN_TS_NO_USR_SUBJECT = \
222 "/C=US/ST=CA/L=SF/O=OG/OU=OP/CN=EXP_SCERT_IN_TS_NO_USER"
223 PEGASUS_EXP_SCERT_IN_TS_NO_USR_ISSUER_SYM = PEGASUS_EXP_SCERT_IN_TS_NO_USR
224 PEGASUS_EXP_SCERT_IN_TS_NO_USR_SERIAL_NO = 50100
225 PEGASUS_EXP_SCERT_IN_TS_NO_USR_SERIAL_NO_HEX = C3B4
226 PEGASUS_EXP_SCERT_IN_TS_NO_USR_USER_NAME =
227 PEGASUS_EXP_SCERT_IN_TS_NO_USR_HASH_NAME = \
228 $(shell $(OPENSSL_COMMAND) x509 -hash -noout \
229 -in $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_NO_USR).cert).0
|
230 kumpf 1.5 PEGASUS_EXP_SCERT_IN_TS_NO_USR_EXPIRED = YES
231 PEGASUS_EXP_SCERT_IN_TS_NO_USR_TYPE = s
232 PEGASUS_EXP_SCERT_IN_TS_NO_USR_IN_TS = YES
|
233 denise.eckstein 1.1
234 # ID = 110 : Define PEGASUS_EXP_SCERT_IN_TS_VLD_USR
235 # Expired Certificate - In Truststore - Valid User
236 PEGASUS_EXP_SCERT_IN_TS_VLD_USR = testExpiredSCertInTrustStoreValidUser
237 PEGASUS_EXP_SCERT_IN_TS_VLD_USR_SUBJECT = \
238 "/C=US/ST=CA/L=SF/O=OG/OU=OP/CN=EXP_SCERT_IN_TS_VALID_USER"
239 PEGASUS_EXP_SCERT_IN_TS_VLD_USR_ISSUER_SYM = PEGASUS_EXP_SCERT_IN_TS_VLD_USR
240 PEGASUS_EXP_SCERT_IN_TS_VLD_USR_SERIAL_NO = 50110
241 PEGASUS_EXP_SCERT_IN_TS_VLD_USR_SERIAL_NO_HEX = C3BE
242 PEGASUS_EXP_SCERT_IN_TS_VLD_USR_USER_NAME = $(PEGASUS_TEST_CERT_USER_ID)
243 PEGASUS_EXP_SCERT_IN_TS_VLD_USR_HASH_NAME = \
244 $(shell $(OPENSSL_COMMAND) x509 -hash -noout \
245 -in $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_VLD_USR).cert).0
|
246 kumpf 1.5 PEGASUS_EXP_SCERT_IN_TS_VLD_USR_EXPIRED = YES
247 PEGASUS_EXP_SCERT_IN_TS_VLD_USR_TYPE = s
248 PEGASUS_EXP_SCERT_IN_TS_VLD_USR_IN_TS = YES
|
249 denise.eckstein 1.1
250 # ID = 120: Define PEGASUS_EXP_SCERT_IN_TS_INVLD_USR
251 # Expired Certificate - In Truststore - Invalid User
252 PEGASUS_EXP_SCERT_IN_TS_INVLD_USR = testExpiredSCertInTrustStoreInvalidUser
253 PEGASUS_EXP_SCERT_IN_TS_INVLD_USR_SUBJECT = \
254 "/C=US/ST=CA/L=SF/O=OG/OU=OP/CN=EXP_SCERT_IN_TS_INVALID_USER"
255 PEGASUS_EXP_SCERT_IN_TS_INVLD_USR_ISSUER_SYM = PEGASUS_EXP_SCERT_IN_TS_INVLD_USR
256 PEGASUS_EXP_SCERT_IN_TS_INVLD_USR_SERIAL_NO = 50120
257 PEGASUS_EXP_SCERT_IN_TS_INVLD_USR_SERIAL_NO_HEX = C3C8
258 PEGASUS_EXP_SCERT_IN_TS_INVLD_USR_USER_NAME = \
259 $(PEGASUS_TEST_USER_INVLD_USR)
260 PEGASUS_EXP_SCERT_IN_TS_INVLD_USR_HASH_NAME = \
261 $(shell $(OPENSSL_COMMAND) x509 -hash -noout \
262 -in $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_INVLD_USR).cert).0
|
263 kumpf 1.5 PEGASUS_EXP_SCERT_IN_TS_INVLD_USR_EXPIRED = YES
264 PEGASUS_EXP_SCERT_IN_TS_INVLD_USR_TYPE = s
265 PEGASUS_EXP_SCERT_IN_TS_INVLD_USR_IN_TS = YES
|
266 denise.eckstein 1.1
267 # ID = 240: Define PEGASUS_RACERT_IN_TS_NO_USR
268 # Valid Certificate - In Truststore - No User
269 PEGASUS_RACERT_IN_TS_NO_USR = testRACertInTrustStoreNoUser
270 PEGASUS_RACERT_IN_TS_NO_USR_SUBJECT = \
271 "/C=US/ST=CA/L=SF/O=OG/OU=OP/CN=RACERT_IN_TS_NO_USER"
272 PEGASUS_RACERT_IN_TS_NO_USR_ISSUER_SYM = PEGASUS_RACERT_IN_TS_NO_USR
273 PEGASUS_RACERT_IN_TS_NO_USR_SERIAL_NO = 50240
274 PEGASUS_RACERT_IN_TS_NO_USR_SERIAL_NO_HEX = C440
275 PEGASUS_RACERT_IN_TS_NO_USR_USER_NAME =
276 PEGASUS_RACERT_IN_TS_NO_USR_EXPIRED = NO
|
277 sushma.fernandes 1.3 PEGASUS_RACERT_IN_TS_NO_USR_TYPE = a
|
278 kumpf 1.5 PEGASUS_RACERT_IN_TS_NO_USR_IN_TS = YES
|
279 denise.eckstein 1.1
280 # ID = 610: Define PEGASUS_ECERT_NOTTS_NO_USR_RA0240
281 # Valid ECERT - Not In Truststore - No User
282 PEGASUS_ECERT_NOTTS_NO_USR_RA0240 = \
283 testECertNotInTrustStoreNoUser_testRACertInTrustStoreNoUser
284 PEGASUS_ECERT_NOTTS_NO_USR_RA0240_SUBJECT = \
285 "/C=US/ST=CA/L=SF/O=OG/OU=OP/CN=ECERT_NOT_IN_TS_NO_USER_RACERT_IN_TS"
286 PEGASUS_ECERT_NOTTS_NO_USR_RA0240_SERIAL_NO = 50610
287 PEGASUS_ECERT_NOTTS_NO_USR_RA0240_SERIAL_NO_HEX = C5B2
288 PEGASUS_ECERT_NOTTS_NO_USR_RA0240_ISSUER_SYM = PEGASUS_RACERT_IN_TS_NO_USR
289 PEGASUS_ECERT_NOTTS_NO_USR_RA0240_EXPIRED = NO
|
290 kumpf 1.5 PEGASUS_ECERT_NOTTS_NO_USR_RA0240_TYPE = e
|
291 denise.eckstein 1.1 PEGASUS_ECERT_NOTTS_NO_USR_RA0240_IN_TS = NO
292
293 # ID = 620: Define PEGASUS_ECERT_NOTTS_VLD_USR_RA0240
294 # Valid ECERT - Not In Truststore - Valid User
295 PEGASUS_ECERT_NOTTS_VLD_USR_RA0240 = \
296 testECertNotInTrustStoreValidUser_testRACertInTrustStoreValidUser
297 PEGASUS_ECERT_NOTTS_VLD_USR_RA0240_SUBJECT = \
298 "/C=US/ST=CA/L=SF/O=OG/OU=OP/CN=ECERT_NOT_IN_TS_VALID_USER_RACERT_IN_TS"
299 PEGASUS_ECERT_NOTTS_VLD_USR_RA0240_SERIAL_NO = 50620
300 PEGASUS_ECERT_NOTTS_VLD_USR_RA0240_SERIAL_NO_HEX = C5BC
301 PEGASUS_ECERT_NOTTS_VLD_USR_RA0240_USER_NAME = \
302 $(PEGASUS_TEST_CERT_USER_ID)
303 PEGASUS_ECERT_NOTTS_VLD_USR_RA0240_ISSUER_SYM = PEGASUS_RACERT_IN_TS_NO_USR
304 PEGASUS_ECERT_NOTTS_VLD_USR_RA0240_EXPIRED = NO
|
305 kumpf 1.5 PEGASUS_ECERT_NOTTS_VLD_USR_RA0240_TYPE = e
|
306 denise.eckstein 1.1 PEGASUS_ECERT_NOTTS_VLD_USR_RA0240_IN_TS = NO
307 PEGASUS_ECERT_NOTTS_VLD_USR_RA0240_HASH_NAME = \
308 $(shell $(OPENSSL_COMMAND) x509 -hash -noout \
309 -in $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_VLD_USR_RA0240).cert).0
310
311 # ID = 630: Define PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240
312 # Valid ECERT - Not In Truststore - Invalid User
313 PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240 = \
314 testECertNotInTrustStoreInvalidUser_testRACertInTrustStoreValidUser
315 PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240_SUBJECT = \
316 "/C=US/ST=CA/L=SF/O=OG/OU=OP/CN=ECERT_NOT_IN_TS_INVALID_USER_RACERT_IN_TS"
317 PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240_SERIAL_NO = 50630
318 PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240_SERIAL_NO_HEX = C5C6
319 PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240_USER_NAME = \
320 $(PEGASUS_TEST_USER_INVLD_USR)
321 PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240_HASH_NAME = \
322 $(shell $(OPENSSL_COMMAND) x509 -hash -noout \
323 -in $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240).cert).0
324 PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240_ISSUER_SYM = PEGASUS_RACERT_IN_TS_NO_USR
325 PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240_EXPIRED = NO
|
326 kumpf 1.5 PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240_TYPE = e
|
327 denise.eckstein 1.1 PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240_IN_TS = NO
328
329 # ID = 670: Define PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240
330 # Expired ECERT - Not In Truststore - No User
331 PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240 = \
332 testExpiredECertNotInTrustStoreNoUser_testRACertInTrustStoreNoUser
333 PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240_SUBJECT = \
334 "/C=US/ST=CA/L=SF/O=OG/OU=OP/CN=EXP_ECERT_NOT_IN_TS_NO_USER_RACERT_IN_TS"
335 PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240_SERIAL_NO = 50670
336 PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240_SERIAL_NO_HEX = C5EE
337 PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240_ISSUER_SYM = PEGASUS_RACERT_IN_TS_NO_USR
|
338 kumpf 1.5 PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240_EXPIRED = YES
339 PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240_TYPE = e
340 PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240_IN_TS = NO
|
341 denise.eckstein 1.1
342 # ID = 680: Define PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240
343 # Expired ECERT - Not In Truststore - Valid User
344 PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240 = \
345 testExpiredECertNotInTrustStoreValidUser_testRACertInTrustStoreValidUser
346 PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240_SUBJECT = \
347 "/C=US/ST=CA/L=SF/O=OG/OU=OP/CN=EXP_ECERT_NOT_IN_TS_VALID_USER_RACERT_IN_TS"
348 PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240_SERIAL_NO = 50680
349 PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240_SERIAL_NO_HEX = C5F8
350 PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240_USER_NAME = \
351 $(PEGASUS_TEST_CERT_USER_ID)
352 PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240_ISSUER_SYM = PEGASUS_RACERT_IN_TS_NO_USR
353 PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240_EXPIRED = YES
|
354 kumpf 1.5 PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240_TYPE = e
355 PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240_IN_TS = NO
|
356 denise.eckstein 1.1 PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240_HASH_NAME = \
357 $(shell $(OPENSSL_COMMAND) x509 -hash -noout -in \
358 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240).cert).0
359
360 # ID = 690: Define PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240
361 # Expired ECERT - Not In Truststore - Invalid User
362 PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240 = \
363 testExpiredECertNotInTrustStoreInvalidUser_testRACertInTrustStoreValidUser
364 PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240_SUBJECT = \
365 "/C=US/ST=CA/L=SF/O=OG/OU=OP/CN=EXP_ECERT_NOT_IN_TS_INVALID_USER_RACERT_IN_TS"
366 PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240_SERIAL_NO = 50690
367 PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240_SERIAL_NO_HEX = C602
368 PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240_USER_NAME = \
369 $(PEGASUS_TEST_USER_INVLD_USR)
370 PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240_HASH_NAME = \
371 $(shell $(OPENSSL_COMMAND) x509 -hash -noout -in \
372 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240).cert).0
373 PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240_ISSUER_SYM = \
374 PEGASUS_RACERT_IN_TS_NO_USR
375 PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240_EXPIRED = YES
|
376 kumpf 1.5 PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240_TYPE = e
377 PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240_IN_TS = NO
|
378 denise.eckstein 1.1
379 ###############################################################################
380 # Certificate Group Definitions
381 ###############################################################################
382 ###############################################################################
|
383 kumpf 1.5 # When a new certificate is defined it should also be added to one and only
|
384 denise.eckstein 1.1 # one of the following three groups:
385 #
386 # PEGASUS_VALIDATED_REG_XXXX certificates are valid certificates that can
|
387 sushma.fernandes 1.3 # be successfully registered using the cimtrust command.
|
388 denise.eckstein 1.1 # PEGASUS_VALIDATED_REG_SCERT_NAME_SYMBOLS
389 # PEGASUS_VALIDATED_REG_RACERT_NAME_SYMBOLS
390 # PEGASUS_VALIDATED_REG_IACERT_NAME_SYMBOLS
391 # PEGASUS_VALDIATED_REG_ECERT_NAME_SYMBOLS
392 #
393 # PEGASUS_NOT_VALIDATED_REG_XXXX certificates are certificates that can
|
394 sushma.fernandes 1.3 # NOT be registered using the cimtrust command. To bypass the validity
|
395 denise.eckstein 1.1 # tests performed by the Certificate Provider, the cimmofl command will
396 # be used to register these certificates.
397 # PEGASUS_NOT_VALIDATED_REG_SCERT_NAME_SYMBOLS
398 # PEGASUS_NOT_VALIDATED_REG_RACERT_NAME_SYMBOLS
399 # PEGASUS_NOT_VALIDATED_REG_IACERT_NAME_SYMBOLS
400 # PEGASUS_NOT_VALIDATED_REG_ECERT_NAME_SYMBOLS
401 #
402 # PEGASUS_NOT_REG_XXXX certificates are not registered with the
403 # CIM Server. These certificates still need to be created.
404 ###############################################################################
405
406 PEGASUS_VALIDATED_REG_SCERT_NAME_SYMBOLS = \
|
407 kumpf 1.5 PEGASUS_SCERT_IN_TS_VLD_USR
408
|
409 denise.eckstein 1.1 PEGASUS_VALIDATED_REG_RACERT_NAME_SYMBOLS = \
410 PEGASUS_RACERT_IN_TS_NO_USR
411
412 PEGASUS_VALIDATED_REG_IACERT_NAME_SYMBOLS =
413
|
414 kumpf 1.5 PEGASUS_VALIDATED_REG_ECERT_NAME_SYMBOLS =
|
415 denise.eckstein 1.1
416 PEGASUS_VALIDATED_REG_CERT_NAME_SYMBOLS = \
417 $(PEGASUS_VALIDATED_REG_SCERT_NAME_SYMBOLS) \
418 $(PEGASUS_VALIDATED_REG_RACERT_NAME_SYMBOLS) \
419 $(PEGASUS_VALIDATED_REG_IACERT_NAME_SYMBOLS) \
420 $(PEGASUS_VALIDATED_REG_ECERT_NAME_SYMBOLS)
421
422 PEGASUS_NOT_VALIDATED_REG_SCERT_NAME_SYMBOLS = \
423 PEGASUS_SCERT_IN_TS_INVLD_USR \
|
424 sushma.fernandes 1.3 PEGASUS_SCERT_IN_TS_NO_USR \
|
425 denise.eckstein 1.1 PEGASUS_EXP_SCERT_NOTTS_NO_USR \
426 PEGASUS_EXP_SCERT_IN_TS_NO_USR \
427 PEGASUS_EXP_SCERT_IN_TS_VLD_USR \
428 PEGASUS_EXP_SCERT_IN_TS_INVLD_USR
429
430 PEGASUS_NOT_VALIDATED_REG_RACERT_NAME_SYMBOLS =
431
432 PEGASUS_NOT_VALIDATED_REG_IACERT_NAME_SYMBOLS =
433
434 PEGASUS_NOT_VALIDATED_REG_ECERT_NAME_SYMBOLS = \
435 PEGASUS_ECERT_NOTTS_VLD_USR_RA0240 \
436 PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240 \
437 PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240 \
438 PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240
439
440 PEGASUS_NOT_VALIDATED_REG_CERT_NAME_SYMBOLS = \
441 $(PEGASUS_NOT_VALIDATED_REG_SCERT_NAME_SYMBOLS) \
442 $(PEGASUS_NOT_VALIDATED_REG_RACERT_NAME_SYMBOLS) \
443 $(PEGASUS_NOT_VALIDATED_REG_IACERT_NAME_SYMBOLS) \
444 $(PEGASUS_NOT_VALIDATED_REG_ECERT_NAME_SYMBOLS)
445
446 denise.eckstein 1.1 PEGASUS_REG_CERT_NAME_SYMBOLS = \
447 $(PEGASUS_VALIDATED_REG_CERT_NAME_SYMBOLS) \
448 $(PEGASUS_NOT_VALIDATED_REG_CERT_NAME_SYMBOLS)
|
449 kumpf 1.5
|
450 denise.eckstein 1.1 PEGASUS_NOT_REG_SCERT_NAME_SYMBOLS = \
|
451 kumpf 1.5 PEGASUS_SCERT_NOTTS_NO_USR
|
452 denise.eckstein 1.1
|
453 kumpf 1.5 PEGASUS_NOT_REG_RACERT_NAME_SYMBOLS =
|
454 denise.eckstein 1.1
|
455 kumpf 1.5 PEGASUS_NOT_REG_IACERT_NAME_SYMBOLS =
|
456 denise.eckstein 1.1
457 PEGASUS_NOT_REG_ECERT_NAME_SYMBOLS = \
458 PEGASUS_ECERT_NOTTS_NO_USR_RA0240 \
459 PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240
460
461 PEGASUS_NOT_REG_CERT_NAME_SYMBOLS = \
462 $(PEGASUS_NOT_REG_SCERT_NAME_SYMBOLS) \
463 $(PEGASUS_NOT_REG_RACERT_NAME_SYMBOLS) \
464 $(PEGASUS_NOT_REG_IACERT_NAME_SYMBOLS) \
465 $(PEGASUS_NOT_REG_ECERT_NAME_SYMBOLS)
466
467 PEGASUS_SCERT_NAME_SYMBOLS = \
468 $(PEGASUS_VALIDATED_REG_SCERT_NAME_SYMBOLS) \
469 $(PEGASUS_NOT_VALIDATED_REG_SCERT_NAME_SYMBOLS) \
470 $(PEGASUS_NOT_REG_SCERT_NAME_SYMBOLS)
471
472 PEGASUS_RACERT_NAME_SYMBOLS = \
473 $(PEGASUS_VALIDATED_REG_RACERT_NAME_SYMBOLS) \
474 $(PEGASUS_NOT_VALIDATED_REG_RACERT_NAME_SYMBOLS) \
475 $(PEGASUS_NOT_REG_RACERT_NAME_SYMBOLS)
476
477 denise.eckstein 1.1 PEGASUS_IACERT_NAME_SYMBOLS = \
478 $(PEGASUS_VALIDATED_REG_IACERT_NAME_SYMBOLS) \
479 $(PEGASUS_NOT_VALIDATED_REG_IACERT_NAME_SYMBOLS) \
480 $(PEGASUS_NOT_REG_IACERT_NAME_SYMBOLS)
481
482 PEGASUS_ECERT_NAME_SYMBOLS = \
483 $(PEGASUS_VALIDATED_REG_ECERT_NAME_SYMBOLS) \
484 $(PEGASUS_NOT_VALIDATED_REG_ECERT_NAME_SYMBOLS) \
485 $(PEGASUS_NOT_REG_ECERT_NAME_SYMBOLS)
486
487 PEGASUS_CERT_NAME_SYMBOLS = \
488 $(PEGASUS_SCERT_NAME_SYMBOLS) \
489 $(PEGASUS_RACERT_NAME_SYMBOLS) \
490 $(PEGASUS_IACERT_NAME_SYMBOLS) \
491 $(PEGASUS_ECERT_NAME_SYMBOLS)
|
492 kumpf 1.5
|
493 denise.eckstein 1.1 ###############################################################################
494 # Certificate Operations
495 ###############################################################################
496
497 createCBATestSSLConfigurationFile:
|
498 kumpf 1.5 @$(RM) $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE)
|
499 denise.eckstein 1.1 @$(ECHO-E) "[ ca ]" \
500 >> $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE)
501 @$(ECHO-E) "default_ca = CA_default" \
|
502 kumpf 1.5 >> $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE)
|
503 denise.eckstein 1.1 @$(ECHO-E) "[ CA_default ]" \
|
504 kumpf 1.5 >> $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE)
|
505 denise.eckstein 1.1 @$(ECHO-E) "database = $(PEGASUS_CBA_TEST_CA_DATABASE_FILE)" \
|
506 kumpf 1.5 >> $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE)
|
507 denise.eckstein 1.1 @$(ECHO-E) "serial = $(PEGASUS_CBA_TEST_CA_SERIAL_FILE)" \
508 >> $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE)
509 @$(ECHO-E) "[ policy_any ]" \
510 >> $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE)
511 @$(ECHO-E) "countryName = supplied" \
512 >> $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE)
513 @$(ECHO-E) "stateOrProvinceName = supplied" \
514 >> $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE)
515 @$(ECHO-E) "localityName = supplied" \
516 >> $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE)
517 @$(ECHO-E) "organizationName = supplied" \
518 >> $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE)
519 @$(ECHO-E) "organizationalUnitName = supplied" \
520 >> $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE)
521 @$(ECHO-E) "commonName = supplied" \
522 >> $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE)
523 @$(ECHO-E) "[ req ]" \
524 >> $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE)
525 @$(ECHO-E) "distinguished_name = req_distinguished_name" \
526 >> $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE)
527 @$(ECHO-E) "[ req_distinguished_name ]" \
528 denise.eckstein 1.1 >> $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE)
529 @$(ECHO-E) "countryName=Country Name (2 letter code)" \
530 >> $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE)
531 @$(ECHO-E) "countryName_min = 2" \
532 >> $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE)
533 @$(ECHO-E) "countryName_max = 2" \
534 >> $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE)
535 @$(ECHO-E) "stateOrProvinceName = State or Province Name (full name)" \
536 >> $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE)
537 @$(ECHO-E) "localityName = Locality Name (eg, city)" \
538 >> $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE)
539 @$(ECHO-E) "organizationName = Organization Name (eg, company)" \
540 >> $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE)
541 @$(ECHO-E) "organizationalUnitName = Organizational Unit Name (eg, section)" \
542 >> $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE)
543 @$(ECHO-E) "commonName = Common Name (eg. YOUR name)" \
544 >> $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE)
545 @$(ECHO-E) "commonName_max = 64" \
546 >> $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE)
547
548 ###############################################################################
|
549 kumpf 1.5 # The setupTestCerticate option can be used to configure the
|
550 denise.eckstein 1.1 # test certificates used during the OpenPegasus tests.
|
551 kumpf 1.5 #
|
552 denise.eckstein 1.1 # make -f TestMakefile setupCBATestCertificates
553 #
554 ###############################################################################
555 setupCBATestCertificates:
556 $(MKDIRHIER) $(PEGASUS_TEST_CERT_DIR)
|
557 kumpf 1.5 $(RM) $(PEGASUS_CBA_TEST_CA_DATABASE_FILE)
558 $(TOUCH) $(PEGASUS_CBA_TEST_CA_DATABASE_FILE)
|
559 denise.eckstein 1.1 $(MAKE) -f TestMakefile createCBATestSSLConfigurationFile
560 $(MAKE) -f TestMakefile createCBATestCertificates
561 $(MAKE) -f TestMakefile registerInvalidCBATestCertificates
562 $(MAKE) -f TestMakefile registerValidCBATestCertificates
563
564 ###############################################################################
565 deleteCBATestCertificateFiles:
566 $(RM) $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).key
567 $(RM) $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).csr
568 $(RM) $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).cert
569 $(RM) $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).mof
570 $(RM) $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)_SERIAL_NO_HEX).pem
571
572 deleteCBATestCertificate:
|
573 sushma.fernandes 1.3 cimtrust -r \
|
574 denise.eckstein 1.1 -i $($($(TEST_NAME_SYM)_ISSUER_SYM)_SUBJECT) \
|
575 kumpf 1.5 -n $($(TEST_NAME_SYM)_SERIAL_NO)
|
576 denise.eckstein 1.1 $(MAKE) -f TestMakefile deleteCBATestCertificateFiles \
577 TEST_CERT_NAME=$($(TEST_NAME_SYM))
578
579 ###############################################################################
|
580 kumpf 1.5 # The deleteCBATestCertificates option removes the registered certificates
|
581 sushma.fernandes 1.3 # from the truststore using the cimtrust command. In addition, it
|
582 denise.eckstein 1.1 # removes any created certificate files from the $(PEGASUS_TEST_CERT_DIR)
583 # directory.
584 #
|
585 kumpf 1.5 # make -f TestMakefile deleteCBATestCertificates
|
586 denise.eckstein 1.1 #
587 # NOTE: This command ignores all errors when removing the certificates.
588 # TODO: Enhance test to ignore only "CIM_ERR_NOT_FOUND" errors.
589 ###############################################################################
590 deleteCBATestCertificates: FORCE
591 $(foreach i, $(PEGASUS_REG_CERT_NAME_SYMBOLS), \
|
592 denise.eckstein 1.2 $(MAKESH) $(MAKE) -f TestMakefile deleteCBATestCertificate -i \
593 TEST_NAME_SYM=$(i) $(NL))
|
594 denise.eckstein 1.1 $(foreach i, $(PEGASUS_NOT_REG_CERT_NAME_SYMBOLS), \
|
595 denise.eckstein 1.2 $(MAKESH) $(MAKE) -f TestMakefile deleteCBATestCertificateFiles \
596 TEST_NAME_SYM=$(i) $(NL))
|
597 denise.eckstein 1.1
598 ###############################################################################
|
599 kumpf 1.5 # The cleanupCBATestCerticate option can be used to configure the
|
600 denise.eckstein 1.1 # test certificates used during the OpenPegasus tests.
|
601 kumpf 1.5 #
|
602 denise.eckstein 1.1 # make -f TestMakefile cleanupCBATestCertificates
603 #
604 ###############################################################################
605 cleanupCBATestCertificate_CONFIG_OPTIONS = \
606 enableHttpsConnection=true sslClientVerificationMode=optional
607 cleanupCBATestCertificate_TESTSUITE_CMDS = \
608 $(MAKE)@@-f@@TestMakefile@@deleteCBATestCertificates
609
610 cleanupCBATestCertificates: FORCE
611 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
612 CIMSERVER_CONFIG_OPTIONS="$(cleanupCBATestCertificate_CONFIG_OPTIONS)" \
613 TESTSUITE_CMDS="$(cleanupCBATestCertificate_TESTSUITE_CMDS)"
|
614 kumpf 1.5 $(RM) $(PEGASUS_CBA_TEST_CA_DATABASE_FILE)
615 $(RM) $(PEGASUS_CBA_TEST_CA_DATABASE_FILE).old
|
616 denise.eckstein 1.1 $(RM) $(PEGASUS_CBA_TEST_CA_DATABASE_FILE).attr
617 $(RM) $(PEGASUS_CBA_TEST_CA_DATABASE_FILE).attr.old
|
618 kumpf 1.5 $(RM) $(PEGASUS_CBA_TEST_CA_SERIAL_FILE)
619 $(RM) $(PEGASUS_CBA_TEST_CA_SERIAL_FILE).old
|
620 denise.eckstein 1.1 $(RM) $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE)
621
622 ###############################################################################
|
623 kumpf 1.5 # The runCBATestSuite option can be used to run the
624 # Certificate-Based Authentication (CBA) suite of tests.
625 #
|
626 denise.eckstein 1.1 # make -f TestMakefile runCBATestSuites
627 #
628 ###############################################################################
629 runCBATestSuites: FORCE
630 $(MAKE) -f TestMakefile runCBATestConfiguration1
631 $(MAKE) -f TestMakefile runCBATestConfiguration2
632 $(MAKE) -f TestMakefile runCBATestConfiguration3
633
634 ###############################################################################
635 # The displayTestCerticate option uses the "openssl x509" command line tool
636 # to display certificate information. For example,
637 #
638 # make -f TestMakefile displayCBATestCertificate \
639 # TEST_CERT_NAME=testCertInTrustStoreValidUser
640 #
641 ###############################################################################
642 displayCBATestCertificate: FORCE
643 @$(ECHO) "*** $(PEGASUS_TEST_CERT_DIR)/$(TEST_CERT_NAME).cert ***"
644 @$(OPENSSL_COMMAND) x509 \
645 -in $(PEGASUS_TEST_CERT_DIR)/$(TEST_CERT_NAME).cert -noout -text
646
647 denise.eckstein 1.1 ###############################################################################
648 # The displayCBATestCerticates option uses the "openssl x509" command line
649 # tool to display information about the configured OpenPegasus test
|
650 kumpf 1.5 # certificates.
|
651 denise.eckstein 1.1 #
|
652 kumpf 1.5 # make -f TestMakefile displayCBATestCertificates
|
653 denise.eckstein 1.1 #
654 ###############################################################################
655 displayCBATestCertificates: FORCE
656 @$(foreach i, $(PEGASUS_CERT_NAME_SYMBOLS), \
|
657 denise.eckstein 1.2 $(MAKESH) $(MAKE) -f TestMakefile displayCBATestCertificate \
658 TEST_CERT_NAME=$($(i)) $(NL))
|
659 denise.eckstein 1.1
660 registerInvalidCBATestCertificates:
|
661 dave.sudlik 1.4 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
|
662 denise.eckstein 1.1 $(foreach i, $(PEGASUS_NOT_VALIDATED_REG_CERT_NAME_SYMBOLS), \
|
663 denise.eckstein 1.2 $(MAKESH) $(MAKE) -f TestMakefile \
664 registerInvalidCBATestCertificate \
|
665 denise.eckstein 1.1 TEST_NAME_SYM=$(i) \
666 TEST_CERT_EXPIRED=$($(i)_EXPIRED) \
|
667 denise.eckstein 1.2 TEST_CERT_IN_TS=$($(i)_IN_TS) $(NL))
|
668 denise.eckstein 1.1
669 ###############################################################################
670 # The registerInvalidCBATestCertificate option is used to register an invalid
|
671 kumpf 1.5 # certificate or a valid certificate with an invalid user.
|
672 denise.eckstein 1.1 # 1. Generate mof file to create invalid PG_SSLCertificate instance.
673 # 2. Use cimmofl to create the instance.
674 # 3. Place certificate in the cimserver_truststore
675 ###############################################################################
676
677 registerInvalidCBATestCertificate:
678 @$(RM) $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).mof
679 @$(ECHO-E) "instance of PG_SSLCertificate {" \
680 >> $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).mof
681 @$(ECHO-E) " IssuerName =" \
682 "\"$($($(TEST_NAME_SYM)_ISSUER_SYM)_SUBJECT)\";" \
683 >> $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).mof
684 @$(ECHO-E) " SerialNumber =" \
685 "\"$($(TEST_NAME_SYM)_SERIAL_NO)\";" \
686 >> $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).mof
687 @$(ECHO-E) " SubjectName =" \
688 "\"$($(TEST_NAME_SYM)_SUBJECT)\";" \
689 >> $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).mof
690 @$(ECHO-E) " RegisteredUserName =" \
691 "\"$($(TEST_NAME_SYM)_USER_NAME)\";" \
692 >> $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).mof
693 denise.eckstein 1.1 @$(ECHO-E) " TruststoreType = 2;" \
694 >> $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).mof
695 @$(ECHO-E) " TruststorePath =" \
696 "\"$(PEGASUS_SSL_SERVER_TRUSTSTORE)/$($(TEST_NAME_SYM)_HASH_NAME)\";" \
697 >> $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).mof
698 ifeq ($(TEST_CERT_EXPIRED), YES)
699 @$(ECHO-E) " NotBefore =" \
700 "\"$(PEGASUS_TEST_INVLD_CIM_NOT_B)\";" \
701 >> $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).mof
702 @$(ECHO-E) " NotAfter =" \
703 "\"$(PEGASUS_TEST_INVLD_CIM_NOT_A)\";" \
704 >> $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).mof
705 else
706 @$(ECHO-E) " NotBefore =" \
707 "\"$(PEGASUS_TEST_VLD_CIM_NOT_B)\";" \
708 >> $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).mof
709 @$(ECHO-E) " NotAfter =" \
710 "\"$(PEGASUS_TEST_VLD_CIM_NOT_A)\";" \
711 >> $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).mof
712 endif
713 @$(ECHO-E) "};" \
714 denise.eckstein 1.1 >> $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).mof
715 cimmofl "-R$(REPOSITORY_DIR)" "-N$(REPOSITORY_NAME)" \
716 "-n$(INTERNALNS)" \
717 "$(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).mof"
718 ifeq ($(TEST_CERT_IN_TS), YES)
719 $(COPY) $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).cert \
720 $(PEGASUS_SSL_SERVER_TRUSTSTORE)/$($(TEST_NAME_SYM)_HASH_NAME)
721 endif
722
723 signCBATestCertificate:
724 ifeq ($(TEST_CERT_EXPIRED), YES)
725 $(OPENSSL_COMMAND) ca \
726 -batch \
727 -config $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE) \
728 -cert $(PEGASUS_TEST_CERT_DIR)/$($(TEST_CERT_ISSUER_SYM)).cert \
729 -keyfile $(PEGASUS_TEST_CERT_DIR)/$($(TEST_CERT_ISSUER_SYM)).key \
730 -md md5 \
731 -policy policy_any \
732 -startdate $(PEGASUS_TEST_INVLD_CERT_NOT_B) \
733 -enddate $(PEGASUS_TEST_INVLD_CERT_NOT_A) \
734 -outdir $(PEGASUS_TEST_CERT_DIR) \
735 denise.eckstein 1.1 -out $(PEGASUS_TEST_CERT_DIR)/$(TEST_CERT_NAME).cert \
736 -in $(PEGASUS_TEST_CERT_DIR)/$(TEST_CERT_NAME).csr
737 else
738 $(OPENSSL_COMMAND) ca \
739 -batch \
740 -config $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE) \
741 -cert $(PEGASUS_TEST_CERT_DIR)/$($(TEST_CERT_ISSUER_SYM)).cert \
742 -keyfile $(PEGASUS_TEST_CERT_DIR)/$($(TEST_CERT_ISSUER_SYM)).key \
743 -md md5 \
744 -policy policy_any \
745 -startdate $(PEGASUS_TEST_VLD_CERT_NOT_B) \
746 -enddate $(PEGASUS_TEST_VLD_CERT_NOT_A) \
747 -outdir $(PEGASUS_TEST_CERT_DIR) \
748 -out $(PEGASUS_TEST_CERT_DIR)/$(TEST_CERT_NAME).cert \
749 -in $(PEGASUS_TEST_CERT_DIR)/$(TEST_CERT_NAME).csr
750 endif
751
752 createSelfSignedCBATestCertificate:
753 $(RM) $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).key
754 $(RM) $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).csr
755 $(RM) $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).cert
|
756 kumpf 1.5 $(RM) $(PEGASUS_CBA_TEST_CA_SERIAL_FILE)
|
757 denise.eckstein 1.1 @$(ECHO-E) "$($(TEST_NAME_SYM)_SERIAL_NO_HEX)" \
758 >> $(PEGASUS_CBA_TEST_CA_SERIAL_FILE)
759 $(OPENSSL_COMMAND) genrsa -out \
760 $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).key 1024
761 $(OPENSSL_COMMAND) req -new \
762 -config $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE) \
763 -subj "$($(TEST_NAME_SYM)_SUBJECT)" \
764 -key $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).key \
765 -out $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).csr
766 $(OPENSSL_COMMAND) x509 \
767 -in $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).csr \
768 -req -signkey $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).key \
769 -out $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).cert
770 $(MAKE) -f TestMakefile signCBATestCertificate \
771 TEST_CERT_NAME=$($(TEST_NAME_SYM)) \
772 TEST_CERT_ISSUER_SYM=$($(TEST_NAME_SYM)_ISSUER_SYM) \
773 TEST_CERT_EXPIRED=$($(TEST_NAME_SYM)_EXPIRED) \
774 TEST_CERT_IN_TS=$($(TEST_NAME_SYM)_IN_TS)
775
776 createSelfSignedCACBATestCertificate:
777 $(MAKE) -f TestMakefile createSelfSignedCBATestCertificate \
778 denise.eckstein 1.1 TEST_NAME_SYM=$(TEST_NAME_SYM) \
779 TEST_CERT_SET_SERIAL=$(TEST_NAME_SYM)
780
781 createCASignedCBATestCertificate:
782 $(RM) $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).key
783 $(RM) $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).csr
784 $(RM) $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).cert
|
785 kumpf 1.5 $(RM) $(PEGASUS_CBA_TEST_CA_SERIAL_FILE)
|
786 denise.eckstein 1.1 @$(ECHO-E) "$($(TEST_NAME_SYM)_SERIAL_NO_HEX)" \
|
787 kumpf 1.5 >> $(PEGASUS_CBA_TEST_CA_SERIAL_FILE)
|
788 denise.eckstein 1.1 $(OPENSSL_COMMAND) genrsa -out \
789 $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).key 1024
790 $(OPENSSL_COMMAND) req -new \
791 -config $(PEGASUS_CBA_TEST_CA_SSL_CNF_FILE) \
792 -subj "$($(TEST_NAME_SYM)_SUBJECT)" \
793 -key $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).key \
794 -out $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).csr
795 $(OPENSSL_COMMAND) x509 -req \
796 -in $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).csr \
797 $(TEST_CERT_SET_SERIAL) \
798 -CA $(PEGASUS_TEST_CERT_DIR)/$($($(TEST_NAME_SYM)_ISSUER_SYM)).cert \
799 -CAkey \
800 $(PEGASUS_TEST_CERT_DIR)/$($($(TEST_NAME_SYM)_ISSUER_SYM)).key \
|
801 kumpf 1.5 -out $(PEGASUS_TEST_CERT_DIR)/$($(TEST_NAME_SYM)).cert
|
802 denise.eckstein 1.1 $(MAKE) -f TestMakefile signCBATestCertificate \
803 TEST_CERT_NAME=$($(TEST_NAME_SYM)) \
804 TEST_CERT_ISSUER_SYM=$($(TEST_NAME_SYM)_ISSUER_SYM) \
805 TEST_CERT_EXPIRED=$($(TEST_NAME_SYM)_EXPIRED) \
806 TEST_CERT_IN_TS=$($(TEST_NAME_SYM)_IN_TS) \
807
808 registerCBATestCertificate:
809 ifdef TEST_CERT_USER
|
810 sushma.fernandes 1.3 cimtrust -a \
|
811 denise.eckstein 1.1 -f $(PEGASUS_TEST_CERT_DIR)/$(TEST_CERT_NAME).cert \
|
812 sushma.fernandes 1.3 -U $(TEST_CERT_USER) \
813 -T $(TEST_CERT_TYPE)
|
814 denise.eckstein 1.1 else
|
815 sushma.fernandes 1.3 cimtrust -a \
816 -f $(PEGASUS_TEST_CERT_DIR)/$(TEST_CERT_NAME).cert \
817 -T $(TEST_CERT_TYPE)
|
818 denise.eckstein 1.1 endif
819
820 registerValidCBATestCertificates_CONFIG_OPTIONS = \
821 enableHttpsConnection=true sslClientVerificationMode=optional \
822 enableAuthentication=true
823 registerValidCBATestCertificates_TESTSUITE_CMDS = \
824 $(MAKE)@@-f@@TestMakefile@@internal_RegisterValidCBATestCertificates
825
826 registerValidCBATestCertificates: FORCE
827 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
828 CIMSERVER_CONFIG_OPTIONS= \
829 "$(registerValidCBATestCertificates_CONFIG_OPTIONS)" \
830 TESTSUITE_CMDS="$(registerValidCBATestCertificates_TESTSUITE_CMDS)"
831
832 internal_RegisterValidCBATestCertificates:
833 $(foreach i, $(PEGASUS_VALIDATED_REG_CERT_NAME_SYMBOLS), \
|
834 denise.eckstein 1.2 $(MAKESH) $(MAKE) -f TestMakefile registerCBATestCertificate \
|
835 denise.eckstein 1.1 TEST_CERT_NAME=$($(i)) \
|
836 sushma.fernandes 1.3 TEST_CERT_TYPE=$($(i)_TYPE) \
|
837 kumpf 1.5 TEST_CERT_USER=$($(i)_USER_NAME) $(NL))
|
838 denise.eckstein 1.1
839 ###############################################################################
|
840 kumpf 1.5 # The createCBATestCertificates option creates the certificate files and
841 # places them in $(PEGASUS_TEST_CERT_DIR) directory.
|
842 denise.eckstein 1.1 #
|
843 kumpf 1.5 # make -f TestMakefile createCBATestCertificates
|
844 denise.eckstein 1.1 #
845 ###############################################################################
846 createCBATestCertificates:
847 ifeq ($(OPENSSL_SET_SERIAL_SUPPORTED),true)
848 $(foreach i, $(PEGASUS_SCERT_NAME_SYMBOLS), \
|
849 denise.eckstein 1.2 $(MAKESH) $(MAKE) -f TestMakefile \
850 createSelfSignedCBATestCertificate \
|
851 denise.eckstein 1.1 TEST_NAME_SYM=$(i) \
|
852 denise.eckstein 1.2 TEST_CERT_SET_SERIAL="-set_serial $($(i)_SERIAL_NO)" $(NL))
|
853 denise.eckstein 1.1 $(foreach i, $(PEGASUS_RACERT_NAME_SYMBOLS), \
|
854 denise.eckstein 1.2 $(MAKESH) $(MAKE) -f TestMakefile \
855 createSelfSignedCACBATestCertificate \
|
856 denise.eckstein 1.1 TEST_NAME_SYM=$(i) \
|
857 denise.eckstein 1.2 TEST_CERT_SET_SERIAL="-set_serial $($(i)_SERIAL_NO)" $(NL))
|
858 denise.eckstein 1.1 $(foreach i, $(PEGASUS_ECERT_NAME_SYMBOLS), \
|
859 denise.eckstein 1.2 $(MAKESH) $(MAKE) -f TestMakefile \
860 createCASignedCBATestCertificate \
|
861 denise.eckstein 1.1 TEST_NAME_SYM=$(i) \
|
862 denise.eckstein 1.2 TEST_CERT_SET_SERIAL="-set_serial $($(i)_SERIAL_NO)" $(NL))
|
863 denise.eckstein 1.1 else
864 $(foreach i, $(PEGASUS_SCERT_NAME_SYMBOLS), \
|
865 denise.eckstein 1.2 $(MAKESH) $(MAKE) -f TestMakefile \
866 createSelfSignedCBATestCertificate \
867 TEST_NAME_SYM=$(i) $(NL))
|
868 denise.eckstein 1.1 $(foreach i, $(PEGASUS_RACERT_NAME_SYMBOLS), \
|
869 denise.eckstein 1.2 $(MAKESH) $(MAKE) -f TestMakefile \
870 createSelfSignedCACBATestCertificate \
871 TEST_NAME_SYM=$(i) $(NL))
|
872 denise.eckstein 1.1 $(foreach i, $(PEGASUS_ECERT_NAME_SYMBOLS), \
|
873 denise.eckstein 1.2 $(MAKESH) $(MAKE) -f TestMakefile \
874 createCASignedCBATestCertificate \
875 TEST_NAME_SYM=$(i) $(NL))
|
876 denise.eckstein 1.1 endif
877
878 ###############################################################################
|
879 kumpf 1.5 # TestCertClient Parameters
|
880 denise.eckstein 1.1 # Parameter 1: Client Certification File
881 # Parameter 2: Client Private Key File
|
882 kumpf 1.5 # Parameter 3: Random Key File
883 # Parameter 4: User Name
884 # Parameter 5: Password
885 # Parameter 6: Expected Result
886 # Parameter 7: Expected Identity
|
887 denise.eckstein 1.1 ###############################################################################
888
889 ###############################################################################
890 runCBATestConfiguration1_CONFIG_OPTIONS = \
891 enableHttpsConnection=true sslClientVerificationMode=disabled \
892 enableAuthentication=true
893 runCBATestConfiguration1_TESTSUITE_CMDS = \
894 $(MAKE)@@-f@@TestMakefile@@internal_runCBATestConfiguration1
895
896 runCBATestConfiguration1: FORCE
897 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
898 CIMSERVER_CONFIG_OPTIONS="$(runCBATestConfiguration1_CONFIG_OPTIONS)" \
899 TESTSUITE_CMDS="$(runCBATestConfiguration1_TESTSUITE_CMDS)"
900
901 internal_runCBATestConfiguration1: FORCE
902 #
903 # TEST ID = 1
904 # Certificate ID = None
905 # Certificate: Not Sent
906 # Username/Password: Not Sent
907 @$(ECHO) "Configuration 1: TestID = 1"
908 denise.eckstein 1.1 @TestCertClient \
909 NONE NONE CONFIG \
910 NONE NONE \
911 FAIL HTTP_401
912 #
913 # TestID = 2
914 # Certificate ID = None
915 # Certificate: Not Sent
916 # Username/Password: Invalid
917 @$(ECHO) "Configuration 1: TestID = 2"
918 @TestCertClient \
919 NONE NONE CONFIG \
920 $(PEGASUS_TEST_USER_ID) \
921 $(PEGASUS_TEST_USER_INVLD_PASS) \
|
922 kumpf 1.5 FAIL HTTP_401
|
923 denise.eckstein 1.1 #
924 # TestID = 3
925 # Certificate ID = None
926 # Certificate: Not Sent
|
927 kumpf 1.5 # Username/Password: Valid
|
928 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 3"
929 @TestCertClient \
930 NONE NONE CONFIG \
931 $(PEGASUS_TEST_USER_ID) \
932 $(PEGASUS_TEST_USER_PASS) \
933 PASS $(PEGASUS_TEST_USER_ID)
934 #
935 # TestID = 4
|
936 kumpf 1.5 # Certificate ID = 10
937 # Certificate: Valid SCERT, Not In TS, No User
|
938 denise.eckstein 1.1 # Username/Password: Not Sent
939 @$(ECHO) "Configuration 1: TestID = 4"
940 @TestCertClient \
941 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_NOTTS_NO_USR).cert \
942 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_NOTTS_NO_USR).key \
943 CONFIG NONE NONE\
944 FAIL HTTP_401
945 #
946 # TestID = 5
|
947 kumpf 1.5 # Certificate ID = 10
948 # Certificate: Valid SCERT, Not In TS, No User
|
949 denise.eckstein 1.1 # Username/Password: Invalid
950 @$(ECHO) "Configuration 1: TestID = 5"
951 @TestCertClient \
952 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_NOTTS_NO_USR).cert \
953 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_NOTTS_NO_USR).key \
954 CONFIG \
955 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_INVLD_PASS) \
956 FAIL HTTP_401
957 #
958 # TestID = 6
|
959 kumpf 1.5 # Certificate ID = 10
960 # Certificate: Valid SCERT, Not In TS, No User
|
961 denise.eckstein 1.1 # Username/Password: Valid
962 @$(ECHO) "Configuration 1: TestID = 6"
963 @TestCertClient \
964 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_NOTTS_NO_USR).cert \
965 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_NOTTS_NO_USR).key \
966 CONFIG \
967 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
968 PASS $(PEGASUS_TEST_USER_ID)
969 #
970 # TestID = 7
|
971 kumpf 1.5 # Certificate ID = 60
972 # Certificate: Valid SCERT, In TS, Invalid User
|
973 denise.eckstein 1.1 # Username/Password: Not Sent
974 @$(ECHO) "Configuration 1: TestID = 7"
975 @TestCertClient \
976 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_INVLD_USR).cert \
977 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_INVLD_USR).key \
978 CONFIG NONE NONE \
979 FAIL HTTP_401
980 #
981 # TestID = 8
|
982 kumpf 1.5 # Certificate ID = 60
983 # Certificate: Valid SCERT, In TS, Invalid User
|
984 denise.eckstein 1.1 # Username/Password: Invalid
985 @$(ECHO) "Configuration 1: TestID = 8"
986 @TestCertClient \
987 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_INVLD_USR).cert \
988 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_INVLD_USR).key \
989 CONFIG \
990 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
991 $(PEGASUS_TEST_USER_INVLD_PASS) \
992 FAIL HTTP_401
993 #
994 # TestID = 9
|
995 kumpf 1.5 # Certificate ID = 60
996 # Certificate: Valid SCERT, In TS, Invalid User
|
997 denise.eckstein 1.1 # Username/Password: Valid
998 @$(ECHO) "Configuration 1: TestID = 9"
999 @TestCertClient \
1000 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_INVLD_USR).cert \
1001 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_INVLD_USR).key \
1002 CONFIG \
1003 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
1004 PASS $(PEGASUS_TEST_USER_ID)
1005 #
1006 # TestID = 10
|
1007 kumpf 1.5 # Certificate ID = 50
1008 # Certificate: Valid SCERT, In TS, Valid User
1009 # Username/Password: Not Sent
|
1010 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 10"
1011 @TestCertClient \
1012 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_VLD_USR).cert \
1013 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_VLD_USR).key \
1014 CONFIG \
1015 NONE NONE \
1016 FAIL HTTP_401
1017 #
1018 # TestID = 11
|
1019 kumpf 1.5 # Certificate ID = 50
1020 # Certificate: Valid SCERT, In TS, Valid User
|
1021 denise.eckstein 1.1 # Username/Password: Invalid
1022 @$(ECHO) "Configuration 1: TestID = 11"
1023 @TestCertClient \
1024 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_VLD_USR).cert \
1025 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_VLD_USR).key \
1026 CONFIG \
1027 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_INVLD_PASS) \
1028 FAIL HTTP_401
1029 #
1030 # TestID = 12
|
1031 kumpf 1.5 # Certificate ID = 50
1032 # Certificate: Valid SCERT, In TS, Valid User
|
1033 denise.eckstein 1.1 # Username/Password: Valid
1034 @$(ECHO) "Configuration 1: TestID = 12"
1035 @TestCertClient \
1036 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_VLD_USR).cert \
1037 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_VLD_USR).key \
1038 CONFIG \
1039 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
|
1040 kumpf 1.5 PASS $(PEGASUS_TEST_USER_ID)
|
1041 denise.eckstein 1.1 #
1042 # TestID = 13
|
1043 kumpf 1.5 # Certificate ID = 70
1044 # Certificate: Invalid (EXPIRED) SCERT, Not In TS, No User
1045 # Username/Password: Not Sent
|
1046 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 13"
1047 @TestCertClient \
1048 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_NOTTS_NO_USR).cert \
1049 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_NOTTS_NO_USR).key \
1050 CONFIG \
1051 NONE NONE \
1052 FAIL HTTP_401
1053 #
1054 # TestID = 14
|
1055 kumpf 1.5 # Certificate ID = 70
1056 # Certificate: Invalid (EXPIRED) SCERT, Not In TS, No User
1057 # Username/Password: Invalid
|
1058 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 14"
1059 @TestCertClient \
1060 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_NOTTS_NO_USR).cert \
1061 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_NOTTS_NO_USR).key \
1062 CONFIG \
1063 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
1064 $(PEGASUS_TEST_USER_INVLD_PASS) \
1065 FAIL HTTP_401
1066 #
1067 # TestID = 15
|
1068 kumpf 1.5 # Certificate ID = 70
1069 # Certificate: Invalid (EXPIRED) SCERT, Not In TS, No User
1070 # Username/Password: Valid
|
1071 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 15"
1072 @TestCertClient \
1073 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_NOTTS_NO_USR).cert \
1074 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_NOTTS_NO_USR).key \
1075 CONFIG \
1076 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
|
1077 kumpf 1.5 PASS $(PEGASUS_TEST_USER_ID)
|
1078 denise.eckstein 1.1 #
1079 # TestID = 16
|
1080 kumpf 1.5 # Certificate ID = 100
1081 # Certificate: Invalid (EXPIRED) SCERT, In TS, No User
1082 # Username/Password: Not Sent
|
1083 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 16"
1084 @TestCertClient \
1085 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_NO_USR).cert \
1086 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_NO_USR).key \
1087 CONFIG NONE NONE \
1088 FAIL HTTP_401
1089 #
1090 # TestID = 17
|
1091 kumpf 1.5 # Certificate ID = 100
1092 # Certificate: Invalid (EXPIRED) SCERT, In TS, No User
1093 # Username/Password: Invalid
|
1094 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 17"
1095 @TestCertClient \
1096 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_NO_USR).cert \
1097 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_NO_USR).key \
1098 CONFIG \
1099 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
1100 $(PEGASUS_TEST_USER_INVLD_PASS) \
1101 FAIL HTTP_401
1102 #
1103 # TestID = 18
|
1104 kumpf 1.5 # Certificate ID = 100
1105 # Certificate: Invalid (EXPIRED) SCERT, In TS, No User
1106 # Username/Password: Valid
|
1107 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 18"
1108 @TestCertClient \
1109 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_NO_USR).cert \
1110 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_NO_USR).key \
1111 CONFIG \
1112 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
|
1113 kumpf 1.5 PASS $(PEGASUS_TEST_USER_ID)
|
1114 denise.eckstein 1.1 #
1115 # TestID = 19
|
1116 kumpf 1.5 # Certificate ID = 110
1117 # Certificate: Invalid (EXPIRED) SCERT, In TS, Valid User
1118 # Username/Password: Not Sent
|
1119 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 19"
1120 @TestCertClient \
1121 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_VLD_USR).cert \
1122 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_VLD_USR).key \
1123 CONFIG NONE NONE \
1124 FAIL HTTP_401
1125 #
|
1126 kumpf 1.5 # TestID = 20
1127 # Certificate ID = 110
1128 # Certificate: Invalid (EXPIRED) SCERT, In TS, Valid User
1129 # Username/Password: Invalid
|
1130 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 20"
1131 @TestCertClient \
1132 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_VLD_USR).cert \
1133 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_VLD_USR).key \
1134 CONFIG \
1135 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
1136 $(PEGASUS_TEST_USER_INVLD_PASS) \
1137 FAIL HTTP_401
1138 #
1139 # TestID = 21
|
1140 kumpf 1.5 # Certificate ID = 110
1141 # Certificate: Invalid (EXPIRED) SCERT, In TS, Valid User
1142 # Username/Password: Valid
|
1143 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 21"
1144 @TestCertClient \
1145 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_VLD_USR).cert \
1146 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_VLD_USR).key \
1147 CONFIG \
1148 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
|
1149 kumpf 1.5 PASS $(PEGASUS_TEST_USER_ID)
|
1150 denise.eckstein 1.1 #
|
1151 kumpf 1.5 # TestID = 104
1152 # Certificate ID = 610
1153 # Certificate: Valid ECERT, Not In TS, No User
1154 # Username/Password: Not Sent
|
1155 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 104"
1156 @TestCertClient \
1157 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_NO_USR_RA0240).cert \
1158 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_NO_USR_RA0240).key \
1159 CONFIG NONE NONE \
1160 FAIL HTTP_401
1161 #
|
1162 kumpf 1.5 # TestID = 105
1163 # Certificate ID = 610
1164 # Certificate: Valid ECERT, Not In TS, No User
1165 # Username/Password: Invalid
|
1166 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 105"
1167 @TestCertClient \
1168 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_NO_USR_RA0240).cert \
1169 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_NO_USR_RA0240).key \
1170 CONFIG \
1171 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
1172 $(PEGASUS_TEST_USER_INVLD_PASS) \
1173 FAIL HTTP_401
1174 #
|
1175 kumpf 1.5 # TestID = 106
1176 # Certificate ID = 610
1177 # Certificate: Valid ECERT, Not In TS, No User
1178 # Username/Password: Valid
|
1179 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 106"
1180 @TestCertClient \
1181 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_NO_USR_RA0240).cert \
1182 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_NO_USR_RA0240).key \
1183 CONFIG \
1184 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
1185 PASS $(PEGASUS_TEST_USER_ID)
1186 #
1187 # TestID = 107
|
1188 kumpf 1.5 # Certificate ID = 630
1189 # Certificate: Valid ECERT, Not In TS, Invalid User
1190 # Username/Password: Not Sent
|
1191 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 107"
1192 @TestCertClient \
1193 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240).cert \
1194 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240).key \
1195 CONFIG NONE NONE \
1196 FAIL HTTP_401
1197 #
1198 # TestID = 108
|
1199 kumpf 1.5 # Certificate ID = 630
1200 # Certificate: Valid ECERT, Not In TS, Invalid User
|
1201 denise.eckstein 1.1 # Username/Password: Invalid
1202 @$(ECHO) "Configuration 1: TestID = 108"
1203 @TestCertClient \
1204 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240).cert \
1205 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240).key \
1206 CONFIG \
1207 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
1208 $(PEGASUS_TEST_USER_INVLD_PASS) \
1209 FAIL HTTP_401
1210 #
1211 # TestID = 109
|
1212 kumpf 1.5 # Certificate ID = 630
1213 # Certificate: Valid ECERT, Not In TS, Invalid User
1214 # Username/Password: Valid
|
1215 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 109"
1216 @TestCertClient \
1217 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240).cert \
1218 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240).key \
1219 CONFIG \
1220 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
1221 PASS $(PEGASUS_TEST_USER_ID)
1222 #
1223 # TestID = 110
|
1224 kumpf 1.5 # Certificate ID = 620
1225 # Certificate: Valid ECERT, Not In TS, Valid User
1226 # Username/Password: Not Sent
|
1227 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 110"
1228 @TestCertClient \
1229 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_VLD_USR_RA0240).cert \
1230 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_VLD_USR_RA0240).key \
1231 CONFIG NONE NONE \
1232 FAIL HTTP_401
1233 #
1234 # TestID = 111
|
1235 kumpf 1.5 # Certificate ID = 620
1236 # Certificate: Valid ECERT, Not In TS, Valid User
1237 # Username/Password: Invalid
|
1238 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 111"
1239 @TestCertClient \
1240 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_VLD_USR_RA0240).cert \
1241 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_VLD_USR_RA0240).key \
1242 CONFIG \
1243 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
1244 $(PEGASUS_TEST_USER_INVLD_PASS) \
1245 FAIL HTTP_401
1246 #
1247 # TestID = 112
|
1248 kumpf 1.5 # Certificate ID = 620
1249 # Certificate: Valid ECERT, Not In TS, Valid User
1250 # Username/Password: Valid
|
1251 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 112"
1252 @TestCertClient \
1253 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_VLD_USR_RA0240).cert \
1254 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_VLD_USR_RA0240).key \
1255 CONFIG \
1256 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
1257 PASS $(PEGASUS_TEST_USER_ID)
1258 #
1259 # TestID = 113
|
1260 kumpf 1.5 # Certificate ID = 670
1261 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, No User
1262 # Username/Password: Not Sent
|
1263 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 113"
1264 @TestCertClient \
1265 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240).cert \
1266 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240).key \
1267 CONFIG NONE NONE \
1268 FAIL HTTP_401
1269 #
1270 # TestID = 114
|
1271 kumpf 1.5 # Certificate ID = 670
1272 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, No User
1273 # Username/Password: Invalid
|
1274 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 114"
1275 @TestCertClient \
1276 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240).cert \
1277 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240).key \
1278 CONFIG \
1279 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
1280 $(PEGASUS_TEST_USER_INVLD_PASS) \
1281 FAIL HTTP_401
1282 #
1283 # TestID = 115
|
1284 kumpf 1.5 # Certificate ID = 670
1285 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, No User
1286 # Username/Password: Valid
|
1287 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 115"
1288 @TestCertClient \
1289 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240).cert \
1290 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240).key \
1291 CONFIG \
1292 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
1293 PASS $(PEGASUS_TEST_USER_ID)
1294 #
1295 # TestID = 116
|
1296 kumpf 1.5 # Certificate ID = 690
1297 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, Invalid User
1298 # Username/Password: Not Sent
|
1299 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 116"
1300 @TestCertClient \
1301 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240).cert \
1302 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240).key \
1303 CONFIG NONE NONE \
1304 FAIL HTTP_401
1305 #
1306 # TestID = 117
|
1307 kumpf 1.5 # Certificate ID = 690
1308 # Certificate: Invalid (EXPIREd) ECERT, Not In TS, Invalid User
|
1309 denise.eckstein 1.1 # Username/Password: Invalid
1310 @$(ECHO) "Configuration 1: TestID = 117"
1311 @TestCertClient \
1312 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240).cert \
1313 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240).key \
1314 CONFIG \
1315 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
1316 $(PEGASUS_TEST_USER_INVLD_PASS) \
1317 FAIL HTTP_401
1318 #
1319 # TestID = 118
|
1320 kumpf 1.5 # Certificate ID = 690
1321 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, Invalid User
1322 # Username/Password: Valid
|
1323 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 118"
1324 @TestCertClient \
1325 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240).cert \
1326 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240).key \
1327 CONFIG \
1328 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
1329 PASS $(PEGASUS_TEST_USER_ID)
1330
1331 # TestID = 119
|
1332 kumpf 1.5 # Certificate ID = 680
1333 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, Valid User
1334 # Username/Password: Not Sent
|
1335 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 119"
1336 @TestCertClient \
1337 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240).cert \
1338 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240).key \
1339 CONFIG NONE NONE \
1340 FAIL HTTP_401
1341 #
1342 # TestID = 120
|
1343 kumpf 1.5 # Certificate ID = 680
1344 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, Valid User
1345 # Username/Password: Invalid
|
1346 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 120"
1347 @TestCertClient \
1348 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240).cert \
1349 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240).key \
1350 CONFIG \
1351 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
1352 $(PEGASUS_TEST_USER_INVLD_PASS) \
1353 FAIL HTTP_401
1354 #
1355 # TestID = 121
|
1356 kumpf 1.5 # Certificate ID = 680
1357 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, Valid User
1358 # Username/Password: Valid
|
1359 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 121"
1360 @TestCertClient \
1361 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240).cert \
1362 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240).key \
1363 CONFIG \
1364 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
1365 PASS $(PEGASUS_TEST_USER_ID)
1366
1367 ##############################################################################
1368 ifndef PEGASUS_OVERRIDE_SSL_CERT_VERIFICATION_RESULT
1369 configurationType=2A
1370 else
1371 configurationType=2B
1372 endif
1373
1374 runCBATestConfiguration2_CONFIG_OPTIONS = \
1375 enableHttpsConnection=true sslClientVerificationMode=optional \
1376 enableAuthentication=true
1377 runCBATestConfiguration2_TESTSUITE_CMDS = \
1378 $(MAKE)@@-f@@TestMakefile@@internal_runCBATestConfiguration$(configurationType)
1379
1380 denise.eckstein 1.1 runCBATestConfiguration2: FORCE
1381 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
1382 CIMSERVER_CONFIG_OPTIONS="$(runCBATestConfiguration2_CONFIG_OPTIONS)" \
1383 TESTSUITE_CMDS="$(runCBATestConfiguration2_TESTSUITE_CMDS)"
1384
1385 ###############################################################################
1386 # PEGASUS_OVERRIDE_SSL_CERT_VERIFICATION_RESULT NOT DEFINED
1387 ###############################################################################
1388 internal_runCBATestConfiguration2A: FORCE
1389 #
1390 # TEST ID = 1
1391 # Certificate ID = None
1392 # Certificate: Not Sent
1393 # Username/Password: Not Sent
1394 @$(ECHO) "Configuration 2: TestID = 1"
1395 @TestCertClient NONE NONE CONFIG NONE NONE \
1396 FAIL HTTP_401
1397 #
1398 # TestID = 2
1399 # Certificate ID = None
1400 # Certificate: Not Sent
1401 denise.eckstein 1.1 # Username/Password: Invalid
1402 @$(ECHO) "Configuration 2: TestID = 2"
1403 @TestCertClient NONE NONE CONFIG $(PEGASUS_TEST_USER_ID) \
1404 $(PEGASUS_TEST_USER_INVLD_PASS) \
|
1405 kumpf 1.5 FAIL HTTP_401
|
1406 denise.eckstein 1.1 #
1407 # TestID = 3
1408 # Certificate ID = None
1409 # Certificate: Not Sent
|
1410 kumpf 1.5 # Username/Password: Valid
|
1411 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 3"
1412 @TestCertClient NONE NONE CONFIG $(PEGASUS_TEST_USER_ID)\
1413 $(PEGASUS_TEST_USER_PASS) \
1414 PASS $(PEGASUS_TEST_USER_ID)
1415 #
1416 # TestID = 4
|
1417 kumpf 1.5 # Certificate ID = 10
1418 # Certificate: Valid SCERT, Not In TS, No User
|
1419 denise.eckstein 1.1 # Username/Password: Not Sent
1420 @$(ECHO) "Configuration 2: TestID = 4"
1421 @TestCertClient \
1422 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_NOTTS_NO_USR).cert \
1423 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_NOTTS_NO_USR).key \
1424 CONFIG NONE NONE \
|
1425 kumpf 1.5 FAIL CANNOT_CONNECT
|
1426 denise.eckstein 1.1 #
1427 # TestID = 5
|
1428 kumpf 1.5 # Certificate ID = 10
1429 # Certificate: Valid SCERT, Not In TS, No User
|
1430 denise.eckstein 1.1 # Username/Password: Invalid
1431 @$(ECHO) "Configuration 2: TestID = 5"
1432 @TestCertClient \
1433 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_NOTTS_NO_USR).cert \
1434 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_NOTTS_NO_USR).key \
1435 CONFIG \
1436 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_INVLD_PASS) \
|
1437 kumpf 1.5 FAIL CANNOT_CONNECT
|
1438 denise.eckstein 1.1 #
1439 # TestID = 6
|
1440 kumpf 1.5 # Certificate ID = 10
1441 # Certificate: Valid SCERT, Not In TS, No User
|
1442 denise.eckstein 1.1 # Username/Password: Valid
1443 @$(ECHO) "Configuration 2: TestID = 6"
1444 @TestCertClient \
1445 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_NOTTS_NO_USR).cert \
1446 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_NOTTS_NO_USR).key \
1447 CONFIG \
1448 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
|
1449 kumpf 1.5 FAIL CANNOT_CONNECT
|
1450 denise.eckstein 1.1 #
1451 # TestID = 7
|
1452 kumpf 1.5 # Certificate ID = 60
1453 # Certificate: Valid SCERT, In TS, Invalid User
|
1454 denise.eckstein 1.1 # Username/Password: Not Sent
1455 @$(ECHO) "Configuration 2: TestID = 7"
1456 @TestCertClient \
1457 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_INVLD_USR).cert \
1458 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_INVLD_USR).key \
1459 CONFIG NONE NONE \
1460 FAIL HTTP_401
1461 #
1462 # TestID = 8
|
1463 kumpf 1.5 # Certificate ID = 60
1464 # Certificate: Valid SCERT, In TS, Invalid User
|
1465 denise.eckstein 1.1 # Username/Password: Invalid
1466 @$(ECHO) "Configuration 2: TestID = 8"
1467 @TestCertClient \
1468 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_INVLD_USR).cert \
1469 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_INVLD_USR).key \
1470 CONFIG \
1471 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
1472 $(PEGASUS_TEST_USER_INVLD_PASS) \
1473 FAIL HTTP_401
1474 #
1475 # TestID = 9
|
1476 kumpf 1.5 # Certificate ID = 60
1477 # Certificate: Valid SCERT, In TS, Invalid User
|
1478 denise.eckstein 1.1 # Username/Password: Valid
1479 @$(ECHO) "Configuration 2: TestID = 9"
1480 @TestCertClient \
1481 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_INVLD_USR).cert \
1482 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_INVLD_USR).key \
1483 CONFIG \
1484 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
1485 FAIL HTTP_401
1486 #
1487 # TestID = 10
|
1488 kumpf 1.5 # Certificate ID = 50
1489 # Certificate: Valid SCERT, In TS, Valid User
1490 # Username/Password: Not Sent
|
1491 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 10"
1492 @TestCertClient \
1493 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_VLD_USR).cert \
1494 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_VLD_USR).key \
1495 CONFIG \
1496 NONE NONE \
1497 PASS $(PEGASUS_TEST_CERT_USER_ID)
1498 #
1499 # TestID = 11
|
1500 kumpf 1.5 # Certificate ID = 50
1501 # Certificate: Valid SCERT, In TS, Valid User
|
1502 denise.eckstein 1.1 # Username/Password: Invalid
1503 @$(ECHO) "Configuration 2: TestID = 11"
1504 @TestCertClient \
1505 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_VLD_USR).cert \
1506 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_VLD_USR).key \
1507 CONFIG \
1508 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_INVLD_PASS) \
1509 PASS $(PEGASUS_TEST_CERT_USER_ID)
1510 #
1511 # TestID = 12
|
1512 kumpf 1.5 # Certificate ID = 50
1513 # Certificate: Valid SCERT, In TS, Valid User
|
1514 denise.eckstein 1.1 # Username/Password: Valid
1515 @$(ECHO) "Configuration 2: TestID = 12"
1516 @TestCertClient \
1517 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_VLD_USR).cert \
1518 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_VLD_USR).key \
1519 CONFIG \
1520 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
1521 PASS $(PEGASUS_TEST_CERT_USER_ID)
1522 #
1523 # TestID = 13
|
1524 kumpf 1.5 # Certificate ID = 70
1525 # Certificate: Invalid (EXPIRED) SCERT, Not In TS, No User
1526 # Username/Password: Not Sent
|
1527 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 13"
1528 @TestCertClient \
1529 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_NOTTS_NO_USR).cert \
1530 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_NOTTS_NO_USR).key \
1531 CONFIG \
1532 NONE NONE \
|
1533 kumpf 1.5 FAIL CANNOT_CONNECT
|
1534 denise.eckstein 1.1 #
1535 # TestID = 14
|
1536 kumpf 1.5 # Certificate ID = 70
1537 # Certificate: Invalid (EXPIRED) SCERT, Not In TS, No User
1538 # Username/Password: Invalid
|
1539 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 14"
1540 @TestCertClient \
1541 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_NOTTS_NO_USR).cert \
1542 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_NOTTS_NO_USR).key \
1543 CONFIG \
1544 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
1545 $(PEGASUS_TEST_USER_INVLD_PASS) \
|
1546 kumpf 1.5 FAIL CANNOT_CONNECT
|
1547 denise.eckstein 1.1 #
1548 # TestID = 15
|
1549 kumpf 1.5 # Certificate ID = 70
1550 # Certificate: Invalid (EXPIRED) SCERT, Not In TS, No User
1551 # Username/Password: Valid
|
1552 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 15"
1553 @TestCertClient \
1554 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_NOTTS_NO_USR).cert \
1555 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_NOTTS_NO_USR).key \
1556 CONFIG \
1557 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
|
1558 kumpf 1.5 FAIL CANNOT_CONNECT
|
1559 denise.eckstein 1.1 #
1560 # TestID = 16
|
1561 kumpf 1.5 # Certificate ID = 100
1562 # Certificate: Invalid (EXPIRED) SCERT, In TS, No User
1563 # Username/Password: Not Sent
|
1564 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 16"
1565 @TestCertClient \
1566 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_NO_USR).cert \
1567 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_NO_USR).key \
1568 CONFIG NONE NONE \
|
1569 kumpf 1.5 FAIL CANNOT_CONNECT
|
1570 denise.eckstein 1.1 #
1571 # TestID = 17
|
1572 kumpf 1.5 # Certificate ID = 100
1573 # Certificate: Invalid (EXPIRED) SCERT, In TS, No User
1574 # Username/Password: Invalid
|
1575 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 17"
1576 @TestCertClient \
1577 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_NO_USR).cert \
1578 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_NO_USR).key \
1579 CONFIG \
1580 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
1581 $(PEGASUS_TEST_USER_INVLD_PASS) \
|
1582 kumpf 1.5 FAIL CANNOT_CONNECT
|
1583 denise.eckstein 1.1 #
1584 # TestID = 18
|
1585 kumpf 1.5 # Certificate ID = 100
1586 # Certificate: Invalid (EXPIRED) SCERT, In TS, No User
1587 # Username/Password: Valid
|
1588 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 18"
1589 @TestCertClient \
1590 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_NO_USR).cert \
1591 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_NO_USR).key \
1592 CONFIG \
1593 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
|
1594 kumpf 1.5 FAIL CANNOT_CONNECT
|
1595 denise.eckstein 1.1 #
1596 # TestID = 19
|
1597 kumpf 1.5 # Certificate ID = 110
1598 # Certificate: Invalid (EXPIRED) SCERT, In TS, Valid User
1599 # Username/Password: Not Sent
|
1600 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 19"
1601 @TestCertClient \
1602 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_VLD_USR).cert \
1603 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_VLD_USR).key \
1604 CONFIG NONE NONE \
|
1605 kumpf 1.5 FAIL CANNOT_CONNECT
|
1606 denise.eckstein 1.1 #
|
1607 kumpf 1.5 # TestID = 20
1608 # Certificate ID = 110
1609 # Certificate: Invalid (EXPIRED) SCERT, In TS, Valid User
1610 # Username/Password: Invalid
|
1611 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 20"
1612 @TestCertClient \
1613 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_VLD_USR).cert \
1614 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_VLD_USR).key \
1615 CONFIG \
1616 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
1617 $(PEGASUS_TEST_USER_INVLD_PASS) \
|
1618 kumpf 1.5 FAIL CANNOT_CONNECT
|
1619 denise.eckstein 1.1 #
1620 # TestID = 21
|
1621 kumpf 1.5 # Certificate ID = 110
1622 # Certificate: Invalid (EXPIRED) SCERT, In TS, Valid User
1623 # Username/Password: Valid
|
1624 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 21"
1625 @TestCertClient \
1626 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_VLD_USR).cert \
1627 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_VLD_USR).key \
1628 CONFIG \
1629 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
|
1630 kumpf 1.5 FAIL CANNOT_CONNECT
|
1631 denise.eckstein 1.1 #
|
1632 kumpf 1.5 # TestID = 104
1633 # Certificate ID = 610
1634 # Certificate: Valid ECERT, Not In TS, No User
1635 # Username/Password: Not Sent
|
1636 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 104"
1637 @TestCertClient \
1638 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_NO_USR_RA0240).cert \
1639 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_NO_USR_RA0240).key \
1640 CONFIG NONE NONE \
1641 FAIL HTTP_401
1642 #
|
1643 kumpf 1.5 # TestID = 105
1644 # Certificate ID = 610
1645 # Certificate: Valid ECERT, Not In TS, No User
1646 # Username/Password: Invalid
|
1647 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 105"
1648 @TestCertClient \
1649 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_NO_USR_RA0240).cert \
1650 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_NO_USR_RA0240).key \
1651 CONFIG \
1652 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
1653 $(PEGASUS_TEST_USER_INVLD_PASS) \
1654 FAIL HTTP_401
1655 #
|
1656 kumpf 1.5 # TestID = 106
1657 # Certificate ID = 610
1658 # Certificate: Valid ECERT, Not In TS, No User
1659 # Username/Password: Valid
|
1660 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 106"
1661 @TestCertClient \
1662 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_NO_USR_RA0240).cert \
1663 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_NO_USR_RA0240).key \
1664 CONFIG \
1665 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
1666 FAIL HTTP_401
1667 #
1668 # TestID = 107
|
1669 kumpf 1.5 # Certificate ID = 630
1670 # Certificate: Valid ECERT, Not In TS, Invalid User
1671 # Username/Password: Not Sent
|
1672 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 107"
1673 @TestCertClient \
1674 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240).cert \
1675 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240).key \
1676 CONFIG NONE NONE \
1677 FAIL HTTP_401
1678 #
1679 # TestID = 108
|
1680 kumpf 1.5 # Certificate ID = 630
1681 # Certificate: Valid ECERT, Not In TS, Invalid User
|
1682 denise.eckstein 1.1 # Username/Password: Invalid
1683 @$(ECHO) "Configuration 2: TestID = 108"
1684 @TestCertClient \
1685 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240).cert \
1686 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240).key \
1687 CONFIG \
1688 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
1689 $(PEGASUS_TEST_USER_INVLD_PASS) \
1690 FAIL HTTP_401
1691 #
1692 # TestID = 109
|
1693 kumpf 1.5 # Certificate ID = 630
1694 # Certificate: Valid ECERT, Not In TS, Invalid User
1695 # Username/Password: Valid
|
1696 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 109"
1697 @TestCertClient \
1698 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240).cert \
1699 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240).key \
1700 CONFIG \
1701 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
1702 FAIL HTTP_401
1703 #
1704 # TestID = 110
|
1705 kumpf 1.5 # Certificate ID = 620
1706 # Certificate: Valid ECERT, Not In TS, Valid User
1707 # Username/Password: Not Sent
|
1708 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 110"
1709 @TestCertClient \
1710 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_VLD_USR_RA0240).cert \
1711 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_VLD_USR_RA0240).key \
1712 CONFIG NONE NONE \
1713 PASS $(PEGASUS_TEST_CERT_USER_ID)
1714 #
1715 # TestID = 111
|
1716 kumpf 1.5 # Certificate ID = 620
1717 # Certificate: Valid ECERT, Not In TS, Valid User
1718 # Username/Password: Invalid
|
1719 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 111"
1720 @TestCertClient \
1721 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_VLD_USR_RA0240).cert \
1722 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_VLD_USR_RA0240).key \
1723 CONFIG \
1724 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
1725 $(PEGASUS_TEST_USER_INVLD_PASS) \
1726 PASS $(PEGASUS_TEST_CERT_USER_ID)
1727 #
1728 # TestID = 112
|
1729 kumpf 1.5 # Certificate ID = 620
1730 # Certificate: Valid ECERT, Not In TS, Valid User
1731 # Username/Password: Valid
|
1732 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 112"
1733 @TestCertClient \
1734 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_VLD_USR_RA0240).cert \
1735 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_VLD_USR_RA0240).key \
1736 CONFIG \
1737 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
1738 PASS $(PEGASUS_TEST_CERT_USER_ID)
1739 #
1740 # TestID = 113
|
1741 kumpf 1.5 # Certificate ID = 670
1742 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, No User
1743 # Username/Password: Not Sent
|
1744 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 113"
1745 @TestCertClient \
1746 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240).cert \
1747 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240).key \
1748 CONFIG NONE NONE \
|
1749 kumpf 1.5 FAIL CANNOT_CONNECT
|
1750 denise.eckstein 1.1 #
1751 # TestID = 114
|
1752 kumpf 1.5 # Certificate ID = 670
1753 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, No User
1754 # Username/Password: Invalid
|
1755 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 114"
1756 @TestCertClient \
1757 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240).cert \
1758 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240).key \
1759 CONFIG \
1760 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
1761 $(PEGASUS_TEST_USER_INVLD_PASS) \
|
1762 kumpf 1.5 FAIL CANNOT_CONNECT
|
1763 denise.eckstein 1.1 #
1764 # TestID = 115
|
1765 kumpf 1.5 # Certificate ID = 670
1766 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, No User
1767 # Username/Password: Valid
|
1768 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 115"
1769 @TestCertClient \
1770 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240).cert \
1771 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240).key \
1772 CONFIG \
1773 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
|
1774 kumpf 1.5 FAIL CANNOT_CONNECT
|
1775 denise.eckstein 1.1 #
1776 # TestID = 116
|
1777 kumpf 1.5 # Certificate ID = 690
1778 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, Invalid User
1779 # Username/Password: Not Sent
|
1780 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 116"
1781 @TestCertClient \
1782 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240).cert \
1783 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240).key \
1784 CONFIG NONE NONE \
|
1785 kumpf 1.5 FAIL CANNOT_CONNECT
|
1786 denise.eckstein 1.1 #
1787 # TestID = 117
|
1788 kumpf 1.5 # Certificate ID = 690
1789 # Certificate: Invalid (EXPIREd) ECERT, Not In TS, Invalid User
|
1790 denise.eckstein 1.1 # Username/Password: Invalid
1791 @$(ECHO) "Configuration 2: TestID = 117"
1792 @TestCertClient \
1793 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240).cert \
1794 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240).key \
1795 CONFIG \
1796 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
1797 $(PEGASUS_TEST_USER_INVLD_PASS) \
|
1798 kumpf 1.5 FAIL CANNOT_CONNECT
|
1799 denise.eckstein 1.1 #
1800 # TestID = 118
|
1801 kumpf 1.5 # Certificate ID = 690
1802 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, Invalid User
1803 # Username/Password: Valid
|
1804 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 118"
1805 @TestCertClient \
1806 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240).cert \
1807 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240).key \
1808 CONFIG \
1809 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
|
1810 kumpf 1.5 FAIL CANNOT_CONNECT
|
1811 denise.eckstein 1.1
1812 # TestID = 119
|
1813 kumpf 1.5 # Certificate ID = 680
1814 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, Valid User
1815 # Username/Password: Not Sent
|
1816 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 119"
1817 @TestCertClient \
1818 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240).cert \
1819 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240).key \
1820 CONFIG NONE NONE \
|
1821 kumpf 1.5 FAIL CANNOT_CONNECT
|
1822 denise.eckstein 1.1 #
1823 # TestID = 120
|
1824 kumpf 1.5 # Certificate ID = 680
1825 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, Valid User
1826 # Username/Password: Invalid
|
1827 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 120"
1828 @TestCertClient \
1829 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240).cert \
1830 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240).key \
1831 CONFIG \
1832 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
1833 $(PEGASUS_TEST_USER_INVLD_PASS) \
|
1834 kumpf 1.5 FAIL CANNOT_CONNECT
|
1835 denise.eckstein 1.1 #
1836 # TestID = 121
|
1837 kumpf 1.5 # Certificate ID = 680
1838 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, Valid User
1839 # Username/Password: Valid
|
1840 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 121"
1841 @TestCertClient \
1842 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240).cert \
1843 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240).key \
1844 CONFIG \
1845 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
|
1846 kumpf 1.5 FAIL CANNOT_CONNECT
|
1847 denise.eckstein 1.1
1848 ###############################################################################
1849 # PEGASUS_OVERRIDE_SSL_CERT_VERIFICATION_RESULT DEFINED
1850 ###############################################################################
1851 internal_runCBATestConfiguration2B: FORCE
1852 #
1853 # TEST ID = 1
1854 # Certificate ID = None
1855 # Certificate: Not Sent
1856 # Username/Password: Not Sent
1857 @$(ECHO) "Configuration 2: TestID = 1"
1858 @TestCertClient NONE NONE CONFIG NONE NONE \
1859 FAIL HTTP_401
1860 #
1861 # TestID = 2
1862 # Certificate ID = None
1863 # Certificate: Not Sent
1864 # Username/Password: Invalid
1865 @$(ECHO) "Configuration 2: TestID = 2"
1866 @TestCertClient NONE NONE CONFIG $(PEGASUS_TEST_USER_ID) \
1867 $(PEGASUS_TEST_USER_INVLD_PASS) \
|
1868 kumpf 1.5 FAIL HTTP_401
|
1869 denise.eckstein 1.1 #
1870 # TestID = 3
1871 # Certificate ID = None
1872 # Certificate: Not Sent
|
1873 kumpf 1.5 # Username/Password: Valid
|
1874 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 3"
1875 @TestCertClient NONE NONE CONFIG $(PEGASUS_TEST_USER_ID)\
1876 $(PEGASUS_TEST_USER_PASS) \
1877 PASS $(PEGASUS_TEST_USER_ID)
1878 #
1879 # TestID = 4
|
1880 kumpf 1.5 # Certificate ID = 10
1881 # Certificate: Valid SCERT, Not In TS, No User
|
1882 denise.eckstein 1.1 # Username/Password: Not Sent
1883 @$(ECHO) "Configuration 2: TestID = 4"
1884 @TestCertClient \
1885 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_NOTTS_NO_USR).cert \
1886 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_NOTTS_NO_USR).key \
1887 CONFIG NONE NONE \
1888 FAIL HTTP_401
1889 #
1890 # TestID = 5
|
1891 kumpf 1.5 # Certificate ID = 10
1892 # Certificate: Valid SCERT, Not In TS, No User
|
1893 denise.eckstein 1.1 # Username/Password: Invalid
1894 @$(ECHO) "Configuration 2: TestID = 5"
1895 @TestCertClient \
1896 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_NOTTS_NO_USR).cert \
1897 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_NOTTS_NO_USR).key \
1898 CONFIG \
1899 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_INVLD_PASS) \
1900 FAIL HTTP_401
1901 #
1902 # TestID = 6
|
1903 kumpf 1.5 # Certificate ID = 10
1904 # Certificate: Valid SCERT, Not In TS, No User
|
1905 denise.eckstein 1.1 # Username/Password: Valid
1906 @$(ECHO) "Configuration 2: TestID = 6"
1907 @TestCertClient \
1908 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_NOTTS_NO_USR).cert \
1909 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_NOTTS_NO_USR).key \
1910 CONFIG \
1911 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
1912 PASS $(PEGASUS_TEST_USER_ID)
1913 #
1914 # TestID = 7
|
1915 kumpf 1.5 # Certificate ID = 60
1916 # Certificate: Valid SCERT, In TS, Invalid User
|
1917 denise.eckstein 1.1 # Username/Password: Not Sent
1918 @$(ECHO) "Configuration 2: TestID = 7"
1919 @TestCertClient \
1920 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_INVLD_USR).cert \
1921 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_INVLD_USR).key \
1922 CONFIG NONE NONE \
1923 FAIL HTTP_401
1924 #
1925 # TestID = 8
|
1926 kumpf 1.5 # Certificate ID = 60
1927 # Certificate: Valid SCERT, In TS, Invalid User
|
1928 denise.eckstein 1.1 # Username/Password: Invalid
1929 @$(ECHO) "Configuration 2: TestID = 8"
1930 @TestCertClient \
1931 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_INVLD_USR).cert \
1932 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_INVLD_USR).key \
1933 CONFIG \
1934 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
1935 $(PEGASUS_TEST_USER_INVLD_PASS) \
1936 FAIL HTTP_401
1937 #
1938 # TestID = 9
|
1939 kumpf 1.5 # Certificate ID = 60
1940 # Certificate: Valid SCERT, In TS, Invalid User
|
1941 denise.eckstein 1.1 # Username/Password: Valid
1942 @$(ECHO) "Configuration 2: TestID = 9"
1943 @TestCertClient \
1944 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_INVLD_USR).cert \
1945 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_INVLD_USR).key \
1946 CONFIG \
1947 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
1948 FAIL HTTP_401
1949 #
1950 # TestID = 10
|
1951 kumpf 1.5 # Certificate ID = 50
1952 # Certificate: Valid SCERT, In TS, Valid User
1953 # Username/Password: Not Sent
|
1954 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 10"
1955 @TestCertClient \
1956 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_VLD_USR).cert \
1957 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_VLD_USR).key \
1958 CONFIG \
1959 NONE NONE \
1960 PASS $(PEGASUS_TEST_CERT_USER_ID)
1961 #
1962 # TestID = 11
|
1963 kumpf 1.5 # Certificate ID = 50
1964 # Certificate: Valid SCERT, In TS, Valid User
|
1965 denise.eckstein 1.1 # Username/Password: Invalid
1966 @$(ECHO) "Configuration 2: TestID = 11"
1967 @TestCertClient \
1968 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_VLD_USR).cert \
1969 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_VLD_USR).key \
1970 CONFIG \
1971 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_INVLD_PASS) \
1972 PASS $(PEGASUS_TEST_CERT_USER_ID)
1973 #
1974 # TestID = 12
|
1975 kumpf 1.5 # Certificate ID = 50
1976 # Certificate: Valid SCERT, In TS, Valid User
|
1977 denise.eckstein 1.1 # Username/Password: Valid
1978 @$(ECHO) "Configuration 2: TestID = 12"
1979 @TestCertClient \
1980 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_VLD_USR).cert \
1981 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_VLD_USR).key \
1982 CONFIG \
1983 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
|
1984 kumpf 1.5 PASS $(PEGASUS_TEST_CERT_USER_ID)
|
1985 denise.eckstein 1.1 #
1986 # TestID = 13
|
1987 kumpf 1.5 # Certificate ID = 70
1988 # Certificate: Invalid (EXPIRED) SCERT, Not In TS, No User
1989 # Username/Password: Not Sent
|
1990 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 13"
1991 @TestCertClient \
1992 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_NOTTS_NO_USR).cert \
1993 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_NOTTS_NO_USR).key \
1994 CONFIG \
1995 NONE NONE \
1996 FAIL HTTP_401
1997 #
1998 # TestID = 14
|
1999 kumpf 1.5 # Certificate ID = 70
2000 # Certificate: Invalid (EXPIRED) SCERT, Not In TS, No User
2001 # Username/Password: Invalid
|
2002 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 14"
2003 @TestCertClient \
2004 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_NOTTS_NO_USR).cert \
2005 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_NOTTS_NO_USR).key \
2006 CONFIG \
2007 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
2008 $(PEGASUS_TEST_USER_INVLD_PASS) \
2009 FAIL HTTP_401
2010 #
2011 # TestID = 15
|
2012 kumpf 1.5 # Certificate ID = 70
2013 # Certificate: Invalid (EXPIRED) SCERT, Not In TS, No User
2014 # Username/Password: Valid
|
2015 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 15"
2016 @TestCertClient \
2017 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_NOTTS_NO_USR).cert \
2018 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_NOTTS_NO_USR).key \
2019 CONFIG \
2020 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
|
2021 kumpf 1.5 PASS $(PEGASUS_TEST_USER_ID)
|
2022 denise.eckstein 1.1 #
2023 # TestID = 16
|
2024 kumpf 1.5 # Certificate ID = 100
2025 # Certificate: Invalid (EXPIRED) SCERT, In TS, No User
2026 # Username/Password: Not Sent
|
2027 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 16"
2028 @TestCertClient \
2029 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_NO_USR).cert \
2030 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_NO_USR).key \
2031 CONFIG NONE NONE \
2032 FAIL HTTP_401
2033 #
2034 # TestID = 17
|
2035 kumpf 1.5 # Certificate ID = 100
2036 # Certificate: Invalid (EXPIRED) SCERT, In TS, No User
2037 # Username/Password: Invalid
|
2038 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 17"
2039 @TestCertClient \
2040 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_NO_USR).cert \
2041 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_NO_USR).key \
2042 CONFIG \
2043 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
2044 $(PEGASUS_TEST_USER_INVLD_PASS) \
2045 FAIL HTTP_401
2046 #
2047 # TestID = 18
|
2048 kumpf 1.5 # Certificate ID = 100
2049 # Certificate: Invalid (EXPIRED) SCERT, In TS, No User
2050 # Username/Password: Valid
|
2051 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 18"
2052 @TestCertClient \
2053 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_NO_USR).cert \
2054 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_NO_USR).key \
2055 CONFIG \
2056 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
|
2057 kumpf 1.5 PASS $(PEGASUS_TEST_USER_ID)
|
2058 denise.eckstein 1.1 #
2059 # TestID = 19
|
2060 kumpf 1.5 # Certificate ID = 110
2061 # Certificate: Invalid (EXPIRED) SCERT, In TS, Valid User
2062 # Username/Password: Not Sent
|
2063 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 19"
2064 @TestCertClient \
2065 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_VLD_USR).cert \
2066 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_VLD_USR).key \
2067 CONFIG NONE NONE \
2068 FAIL HTTP_401
2069 #
|
2070 kumpf 1.5 # TestID = 20
2071 # Certificate ID = 110
2072 # Certificate: Invalid (EXPIRED) SCERT, In TS, Valid User
2073 # Username/Password: Invalid
|
2074 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 20"
2075 @TestCertClient \
2076 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_VLD_USR).cert \
2077 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_VLD_USR).key \
2078 CONFIG \
2079 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
2080 $(PEGASUS_TEST_USER_INVLD_PASS) \
2081 FAIL HTTP_401
2082 #
2083 # TestID = 21
|
2084 kumpf 1.5 # Certificate ID = 110
2085 # Certificate: Invalid (EXPIRED) SCERT, In TS, Valid User
2086 # Username/Password: Valid
|
2087 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 21"
2088 @TestCertClient \
2089 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_VLD_USR).cert \
2090 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_VLD_USR).key \
2091 CONFIG \
2092 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
|
2093 kumpf 1.5 PASS $(PEGASUS_TEST_USER_ID)
|
2094 denise.eckstein 1.1 #
|
2095 kumpf 1.5 # TestID = 104
2096 # Certificate ID = 610
2097 # Certificate: Valid ECERT, Not In TS, No User
2098 # Username/Password: Not Sent
|
2099 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 104"
2100 @TestCertClient \
2101 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_NO_USR_RA0240).cert \
2102 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_NO_USR_RA0240).key \
2103 CONFIG NONE NONE \
2104 FAIL HTTP_401
2105 #
|
2106 kumpf 1.5 # TestID = 105
2107 # Certificate ID = 610
2108 # Certificate: Valid ECERT, Not In TS, No User
2109 # Username/Password: Invalid
|
2110 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 105"
2111 @TestCertClient \
2112 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_NO_USR_RA0240).cert \
2113 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_NO_USR_RA0240).key \
2114 CONFIG \
2115 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
2116 $(PEGASUS_TEST_USER_INVLD_PASS) \
2117 FAIL HTTP_401
2118 #
|
2119 kumpf 1.5 # TestID = 106
2120 # Certificate ID = 610
2121 # Certificate: Valid ECERT, Not In TS, No User
2122 # Username/Password: Valid
|
2123 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 106"
2124 @TestCertClient \
2125 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_NO_USR_RA0240).cert \
2126 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_NO_USR_RA0240).key \
2127 CONFIG \
2128 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
2129 FAIL HTTP_401
2130 #
2131 # TestID = 107
|
2132 kumpf 1.5 # Certificate ID = 630
2133 # Certificate: Valid ECERT, Not In TS, Invalid User
2134 # Username/Password: Not Sent
|
2135 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 107"
2136 @TestCertClient \
2137 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240).cert \
2138 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240).key \
2139 CONFIG NONE NONE \
2140 FAIL HTTP_401
2141 #
2142 # TestID = 108
|
2143 kumpf 1.5 # Certificate ID = 630
2144 # Certificate: Valid ECERT, Not In TS, Invalid User
|
2145 denise.eckstein 1.1 # Username/Password: Invalid
2146 @$(ECHO) "Configuration 2: TestID = 108"
2147 @TestCertClient \
2148 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240).cert \
2149 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240).key \
2150 CONFIG \
2151 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
2152 $(PEGASUS_TEST_USER_INVLD_PASS) \
2153 FAIL HTTP_401
2154 #
2155 # TestID = 109
|
2156 kumpf 1.5 # Certificate ID = 630
2157 # Certificate: Valid ECERT, Not In TS, Invalid User
2158 # Username/Password: Valid
|
2159 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 109"
2160 @TestCertClient \
2161 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240).cert \
2162 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240).key \
2163 CONFIG \
2164 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
2165 FAIL HTTP_401
2166 #
2167 # TestID = 110
|
2168 kumpf 1.5 # Certificate ID = 620
2169 # Certificate: Valid ECERT, Not In TS, Valid User
2170 # Username/Password: Not Sent
|
2171 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 110"
2172 @TestCertClient \
2173 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_VLD_USR_RA0240).cert \
2174 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_VLD_USR_RA0240).key \
2175 CONFIG NONE NONE \
|
2176 kumpf 1.5 PASS $(PEGASUS_TEST_CERT_USER_ID)
|
2177 denise.eckstein 1.1 #
2178 # TestID = 111
|
2179 kumpf 1.5 # Certificate ID = 620
2180 # Certificate: Valid ECERT, Not In TS, Valid User
2181 # Username/Password: Invalid
|
2182 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 111"
2183 @TestCertClient \
2184 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_VLD_USR_RA0240).cert \
2185 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_VLD_USR_RA0240).key \
2186 CONFIG \
2187 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
2188 $(PEGASUS_TEST_USER_INVLD_PASS) \
|
2189 kumpf 1.5 PASS $(PEGASUS_TEST_CERT_USER_ID)
|
2190 denise.eckstein 1.1 #
2191 # TestID = 112
|
2192 kumpf 1.5 # Certificate ID = 620
2193 # Certificate: Valid ECERT, Not In TS, Valid User
2194 # Username/Password: Valid
|
2195 denise.eckstein 1.1 @$(ECHO) "Configuration 1: TestID = 112"
2196 @TestCertClient \
2197 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_VLD_USR_RA0240).cert \
2198 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_VLD_USR_RA0240).key \
2199 CONFIG \
2200 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
2201 PASS $(PEGASUS_TEST_CERT_USER_ID)
2202 #
2203 # TestID = 113
|
2204 kumpf 1.5 # Certificate ID = 670
2205 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, No User
2206 # Username/Password: Not Sent
|
2207 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 113"
2208 @TestCertClient \
2209 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240).cert \
2210 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240).key \
2211 CONFIG NONE NONE \
2212 FAIL HTTP_401
2213 #
2214 # TestID = 114
|
2215 kumpf 1.5 # Certificate ID = 670
2216 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, No User
2217 # Username/Password: Invalid
|
2218 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 114"
2219 @TestCertClient \
2220 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240).cert \
2221 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240).key \
2222 CONFIG \
2223 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
2224 $(PEGASUS_TEST_USER_INVLD_PASS) \
2225 FAIL HTTP_401
2226 #
2227 # TestID = 115
|
2228 kumpf 1.5 # Certificate ID = 670
2229 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, No User
2230 # Username/Password: Valid
|
2231 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 115"
2232 @TestCertClient \
2233 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240).cert \
2234 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240).key \
2235 CONFIG \
2236 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
2237 PASS $(PEGASUS_TEST_USER_ID)
2238 #
2239 # TestID = 116
|
2240 kumpf 1.5 # Certificate ID = 690
2241 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, Invalid User
2242 # Username/Password: Not Sent
|
2243 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 116"
2244 @TestCertClient \
2245 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240).cert \
2246 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240).key \
2247 CONFIG NONE NONE \
2248 FAIL HTTP_401
2249 #
2250 # TestID = 117
|
2251 kumpf 1.5 # Certificate ID = 690
2252 # Certificate: Invalid (EXPIREd) ECERT, Not In TS, Invalid User
|
2253 denise.eckstein 1.1 # Username/Password: Invalid
2254 @$(ECHO) "Configuration 2: TestID = 117"
2255 @TestCertClient \
2256 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240).cert \
2257 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240).key \
2258 CONFIG \
2259 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
2260 $(PEGASUS_TEST_USER_INVLD_PASS) \
2261 FAIL HTTP_401
2262 #
2263 # TestID = 118
|
2264 kumpf 1.5 # Certificate ID = 690
2265 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, Invalid User
2266 # Username/Password: Valid
|
2267 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 118"
2268 @TestCertClient \
2269 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240).cert \
2270 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240).key \
2271 CONFIG \
2272 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
2273 PASS $(PEGASUS_TEST_USER_ID)
2274
2275 # TestID = 119
|
2276 kumpf 1.5 # Certificate ID = 680
2277 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, Valid User
2278 # Username/Password: Not Sent
|
2279 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 119"
2280 @TestCertClient \
2281 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240).cert \
2282 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240).key \
2283 CONFIG NONE NONE \
2284 FAIL HTTP_401
2285 #
2286 # TestID = 120
|
2287 kumpf 1.5 # Certificate ID = 680
2288 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, Valid User
2289 # Username/Password: Invalid
|
2290 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 120"
2291 @TestCertClient \
2292 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240).cert \
2293 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240).key \
2294 CONFIG \
2295 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
2296 $(PEGASUS_TEST_USER_INVLD_PASS) \
2297 FAIL HTTP_401
2298 #
2299 # TestID = 121
|
2300 kumpf 1.5 # Certificate ID = 680
2301 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, Valid User
2302 # Username/Password: Valid
|
2303 denise.eckstein 1.1 @$(ECHO) "Configuration 2: TestID = 121"
2304 @TestCertClient \
2305 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240).cert \
2306 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240).key \
2307 CONFIG \
2308 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
2309 PASS $(PEGASUS_TEST_USER_ID)
2310
2311 ###############################################################################
2312 # Configuration 3
2313 # enableAuthentication=true
2314 # enableHttpsConnection=true
2315 # sslClientVerificationMode = required
2316 ###############################################################################
2317 runCBATestConfiguration3_CONFIG_OPTIONS = \
2318 enableHttpsConnection=true sslClientVerificationMode=required \
2319 enableAuthentication=true
2320 runCBATestConfiguration3_TESTSUITE_CMDS = \
2321 $(MAKE)@@-f@@TestMakefile@@internal_runCBATestConfiguration3
2322
2323 runCBATestConfiguration3: FORCE
2324 denise.eckstein 1.1 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
2325 CIMSERVER_CONFIG_OPTIONS="$(runCBATestConfiguration3_CONFIG_OPTIONS)" \
2326 TESTSUITE_CMDS="$(runCBATestConfiguration3_TESTSUITE_CMDS)"
2327
2328 internal_runCBATestConfiguration3: FORCE
2329 #
2330 # TEST ID = 1
2331 # Certificate ID = None
2332 # Certificate: Not Sent
2333 # Username/Password: Not Sent
2334 @$(ECHO) "Configuration 3: TestID = 1"
2335 @TestCertClient NONE NONE CONFIG NONE NONE \
2336 FAIL CANNOT_CONNECT
2337 #
2338 # TestID = 2
2339 # Certificate ID = None
2340 # Certificate: Not Sent
2341 # Username/Password: Invalid
2342 @$(ECHO) "Configuration 3: TestID = 2"
2343 @TestCertClient NONE NONE CONFIG $(PEGASUS_TEST_USER_ID) \
2344 $(PEGASUS_TEST_USER_INVLD_PASS) \
2345 denise.eckstein 1.1 FAIL CANNOT_CONNECT
2346 #
2347 # TestID = 3
2348 # Certificate ID = None
2349 # Certificate: Not Sent
|
2350 kumpf 1.5 # Username/Password: Valid
|
2351 denise.eckstein 1.1 @$(ECHO) "Configuration 3: TestID = 3"
2352 @TestCertClient NONE NONE CONFIG $(PEGASUS_TEST_USER_ID)\
2353 $(PEGASUS_TEST_USER_PASS) \
2354 FAIL CANNOT_CONNECT
2355 #
2356 # TestID = 4
|
2357 kumpf 1.5 # Certificate ID = 10
2358 # Certificate: Valid SCERT, Not In TS, No User
|
2359 denise.eckstein 1.1 # Username/Password: Not Sent
2360 @$(ECHO) "Configuration 3: TestID = 4"
2361 @TestCertClient \
2362 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_NOTTS_NO_USR).cert \
2363 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_NOTTS_NO_USR).key \
2364 CONFIG NONE NONE \
|
2365 kumpf 1.5 FAIL CANNOT_CONNECT
|
2366 denise.eckstein 1.1 #
2367 # TestID = 5
|
2368 kumpf 1.5 # Certificate ID = 10
2369 # Certificate: Valid SCERT, Not In TS, No User
|
2370 denise.eckstein 1.1 # Username/Password: Invalid
2371 @$(ECHO) "Configuration 3: TestID = 5"
2372 @TestCertClient \
2373 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_NOTTS_NO_USR).cert \
2374 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_NOTTS_NO_USR).key \
2375 CONFIG \
2376 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_INVLD_PASS) \
|
2377 kumpf 1.5 FAIL CANNOT_CONNECT
|
2378 denise.eckstein 1.1 #
2379 # TestID = 6
|
2380 kumpf 1.5 # Certificate ID = 10
2381 # Certificate: Valid SCERT, Not In TS, No User
|
2382 denise.eckstein 1.1 # Username/Password: Valid
2383 @$(ECHO) "Configuration 3: TestID = 6"
2384 @TestCertClient \
2385 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_NOTTS_NO_USR).cert \
2386 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_NOTTS_NO_USR).key \
2387 CONFIG \
2388 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
|
2389 kumpf 1.5 FAIL CANNOT_CONNECT
|
2390 denise.eckstein 1.1 #
2391 # TestID = 7
|
2392 kumpf 1.5 # Certificate ID = 60
2393 # Certificate: Valid SCERT, In TS, Invalid User
|
2394 denise.eckstein 1.1 # Username/Password: Not Sent
2395 @$(ECHO) "Configuration 3: TestID = 7"
2396 @TestCertClient \
2397 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_INVLD_USR).cert \
2398 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_INVLD_USR).key \
2399 CONFIG NONE NONE \
2400 FAIL HTTP_401
2401 #
2402 # TestID = 8
|
2403 kumpf 1.5 # Certificate ID = 60
2404 # Certificate: Valid SCERT, In TS, Invalid User
|
2405 denise.eckstein 1.1 # Username/Password: Invalid
2406 @$(ECHO) "Configuration 3: TestID = 8"
2407 @TestCertClient \
2408 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_INVLD_USR).cert \
2409 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_INVLD_USR).key \
2410 CONFIG \
2411 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
2412 $(PEGASUS_TEST_USER_INVLD_PASS) \
2413 FAIL HTTP_401
2414 #
2415 # TestID = 9
|
2416 kumpf 1.5 # Certificate ID = 60
2417 # Certificate: Valid SCERT, In TS, Invalid User
|
2418 denise.eckstein 1.1 # Username/Password: Valid
2419 @$(ECHO) "Configuration 3: TestID = 9"
2420 @TestCertClient \
2421 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_INVLD_USR).cert \
2422 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_INVLD_USR).key \
2423 CONFIG \
2424 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
2425 FAIL HTTP_401
2426 #
2427 # TestID = 10
|
2428 kumpf 1.5 # Certificate ID = 50
2429 # Certificate: Valid SCERT, In TS, Valid User
2430 # Username/Password: Not Sent
|
2431 denise.eckstein 1.1 @$(ECHO) "Configuration 3: TestID = 10"
2432 @TestCertClient \
2433 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_VLD_USR).cert \
2434 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_VLD_USR).key \
2435 CONFIG \
2436 NONE NONE \
|
2437 kumpf 1.5 PASS $(PEGASUS_TEST_CERT_USER_ID)
|
2438 denise.eckstein 1.1 #
2439 # TestID = 11
|
2440 kumpf 1.5 # Certificate ID = 50
2441 # Certificate: Valid SCERT, In TS, Valid User
|
2442 denise.eckstein 1.1 # Username/Password: Invalid
2443 @$(ECHO) "Configuration 3: TestID = 11"
2444 @TestCertClient \
2445 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_VLD_USR).cert \
2446 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_VLD_USR).key \
2447 CONFIG \
2448 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_INVLD_PASS) \
|
2449 kumpf 1.5 PASS $(PEGASUS_TEST_CERT_USER_ID)
|
2450 denise.eckstein 1.1 #
2451 # TestID = 12
|
2452 kumpf 1.5 # Certificate ID = 50
2453 # Certificate: Valid SCERT, In TS, Valid User
|
2454 denise.eckstein 1.1 # Username/Password: Valid
2455 @$(ECHO) "Configuration 3: TestID = 12"
2456 @TestCertClient \
2457 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_VLD_USR).cert \
2458 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_SCERT_IN_TS_VLD_USR).key \
2459 CONFIG \
2460 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
|
2461 kumpf 1.5 PASS $(PEGASUS_TEST_CERT_USER_ID)
|
2462 denise.eckstein 1.1 #
2463 # TestID = 13
|
2464 kumpf 1.5 # Certificate ID = 70
2465 # Certificate: Invalid (EXPIRED) SCERT, Not In TS, No User
2466 # Username/Password: Not Sent
|
2467 denise.eckstein 1.1 @$(ECHO) "Configuration 3: TestID = 13"
2468 @TestCertClient \
2469 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_NOTTS_NO_USR).cert \
2470 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_NOTTS_NO_USR).key \
2471 CONFIG \
2472 NONE NONE \
2473 FAIL CANNOT_CONNECT
2474 #
2475 # TestID = 14
|
2476 kumpf 1.5 # Certificate ID = 70
2477 # Certificate: Invalid (EXPIRED) SCERT, Not In TS, No User
2478 # Username/Password: Invalid
|
2479 denise.eckstein 1.1 @$(ECHO) "Configuration 3: TestID = 14"
2480 @TestCertClient \
2481 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_NOTTS_NO_USR).cert \
2482 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_NOTTS_NO_USR).key \
2483 CONFIG \
2484 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
2485 $(PEGASUS_TEST_USER_INVLD_PASS) \
2486 FAIL CANNOT_CONNECT
2487 #
2488 # TestID = 15
|
2489 kumpf 1.5 # Certificate ID = 70
2490 # Certificate: Invalid (EXPIRED) SCERT, Not In TS, No User
2491 # Username/Password: Valid
|
2492 denise.eckstein 1.1 @$(ECHO) "Configuration 3: TestID = 15"
2493 @TestCertClient \
2494 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_NOTTS_NO_USR).cert \
2495 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_NOTTS_NO_USR).key \
2496 CONFIG \
2497 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
2498 FAIL CANNOT_CONNECT
2499 #
2500 # TestID = 16
|
2501 kumpf 1.5 # Certificate ID = 100
2502 # Certificate: Invalid (EXPIRED) SCERT, In TS, No User
2503 # Username/Password: Not Sent
|
2504 denise.eckstein 1.1 @$(ECHO) "Configuration 3: TestID = 16"
2505 @TestCertClient \
2506 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_NO_USR).cert \
2507 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_NO_USR).key \
2508 CONFIG NONE NONE \
2509 FAIL CANNOT_CONNECT
2510 #
2511 # TestID = 17
|
2512 kumpf 1.5 # Certificate ID = 100
2513 # Certificate: Invalid (EXPIRED) SCERT, In TS, No User
2514 # Username/Password: Invalid
|
2515 denise.eckstein 1.1 @$(ECHO) "Configuration 3: TestID = 17"
2516 @TestCertClient \
2517 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_NO_USR).cert \
2518 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_NO_USR).key \
2519 CONFIG \
2520 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
2521 $(PEGASUS_TEST_USER_INVLD_PASS) \
2522 FAIL CANNOT_CONNECT
2523 #
2524 # TestID = 18
|
2525 kumpf 1.5 # Certificate ID = 100
2526 # Certificate: Invalid (EXPIRED) SCERT, In TS, No User
2527 # Username/Password: Valid
|
2528 denise.eckstein 1.1 @$(ECHO) "Configuration 3: TestID = 18"
2529 @TestCertClient \
2530 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_NO_USR).cert \
2531 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_NO_USR).key \
2532 CONFIG \
2533 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
2534 FAIL CANNOT_CONNECT
2535 #
2536 # TestID = 19
|
2537 kumpf 1.5 # Certificate ID = 110
2538 # Certificate: Invalid (EXPIRED) SCERT, In TS, Valid User
2539 # Username/Password: Not Sent
|
2540 denise.eckstein 1.1 @$(ECHO) "Configuration 3: TestID = 19"
2541 @TestCertClient \
2542 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_VLD_USR).cert \
2543 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_VLD_USR).key \
2544 CONFIG NONE NONE \
2545 FAIL CANNOT_CONNECT
2546 #
|
2547 kumpf 1.5 # TestID = 20
2548 # Certificate ID = 110
2549 # Certificate: Invalid (EXPIRED) SCERT, In TS, Valid User
2550 # Username/Password: Invalid
|
2551 denise.eckstein 1.1 @$(ECHO) "Configuration 3: TestID = 20"
2552 @TestCertClient \
2553 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_VLD_USR).cert \
2554 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_VLD_USR).key \
2555 CONFIG \
2556 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
2557 $(PEGASUS_TEST_USER_INVLD_PASS) \
|
2558 kumpf 1.5 FAIL CANNOT_CONNECT
|
2559 denise.eckstein 1.1 #
2560 # TestID = 21
|
2561 kumpf 1.5 # Certificate ID = 110
2562 # Certificate: Invalid (EXPIRED) SCERT, In TS, Valid User
2563 # Username/Password: Valid
|
2564 denise.eckstein 1.1 @$(ECHO) "Configuration 3: TestID = 21"
2565 @TestCertClient \
2566 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_VLD_USR).cert \
2567 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_SCERT_IN_TS_VLD_USR).key \
2568 CONFIG \
2569 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
|
2570 kumpf 1.5 FAIL CANNOT_CONNECT
|
2571 denise.eckstein 1.1 #
|
2572 kumpf 1.5 # TestID = 104
2573 # Certificate ID = 610
2574 # Certificate: Valid ECERT, Not In TS, No User
2575 # Username/Password: Not Sent
|
2576 denise.eckstein 1.1 @$(ECHO) "Configuration 3: TestID = 104"
2577 @TestCertClient \
2578 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_NO_USR_RA0240).cert \
2579 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_NO_USR_RA0240).key \
2580 CONFIG NONE NONE \
2581 FAIL HTTP_401
2582 #
|
2583 kumpf 1.5 # TestID = 105
2584 # Certificate ID = 610
2585 # Certificate: Valid ECERT, Not In TS, No User
2586 # Username/Password: Invalid
|
2587 denise.eckstein 1.1 @$(ECHO) "Configuration 3: TestID = 105"
2588 @TestCertClient \
2589 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_NO_USR_RA0240).cert \
2590 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_NO_USR_RA0240).key \
2591 CONFIG \
2592 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
2593 $(PEGASUS_TEST_USER_INVLD_PASS) \
2594 FAIL HTTP_401
2595 #
|
2596 kumpf 1.5 # TestID = 106
2597 # Certificate ID = 610
2598 # Certificate: Valid ECERT, Not In TS, No User
2599 # Username/Password: Valid
|
2600 denise.eckstein 1.1 @$(ECHO) "Configuration 3: TestID = 106"
2601 @TestCertClient \
2602 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_NO_USR_RA0240).cert \
2603 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_NO_USR_RA0240).key \
2604 CONFIG \
2605 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
2606 FAIL HTTP_401
2607 #
2608 # TestID = 107
|
2609 kumpf 1.5 # Certificate ID = 630
2610 # Certificate: Valid ECERT, Not In TS, Invalid User
2611 # Username/Password: Not Sent
|
2612 denise.eckstein 1.1 @$(ECHO) "Configuration 3: TestID = 107"
2613 @TestCertClient \
2614 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240).cert \
2615 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240).key \
2616 CONFIG NONE NONE \
2617 FAIL HTTP_401
2618 #
2619 # TestID = 108
|
2620 kumpf 1.5 # Certificate ID = 630
2621 # Certificate: Valid ECERT, Not In TS, Invalid User
|
2622 denise.eckstein 1.1 # Username/Password: Invalid
2623 @$(ECHO) "Configuration 3: TestID = 108"
2624 @TestCertClient \
2625 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240).cert \
2626 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240).key \
2627 CONFIG \
2628 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
2629 $(PEGASUS_TEST_USER_INVLD_PASS) \
2630 FAIL HTTP_401
2631 #
2632 # TestID = 109
|
2633 kumpf 1.5 # Certificate ID = 630
2634 # Certificate: Valid ECERT, Not In TS, Invalid User
2635 # Username/Password: Valid
|
2636 denise.eckstein 1.1 @$(ECHO) "Configuration 3: TestID = 109"
2637 @TestCertClient \
2638 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240).cert \
2639 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_INVLD_USR_RA0240).key \
2640 CONFIG \
2641 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
2642 FAIL HTTP_401
2643 #
2644 # TestID = 110
|
2645 kumpf 1.5 # Certificate ID = 620
2646 # Certificate: Valid ECERT, Not In TS, Valid User
2647 # Username/Password: Not Sent
|
2648 denise.eckstein 1.1 @$(ECHO) "Configuration 3: TestID = 110"
2649 @TestCertClient \
2650 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_VLD_USR_RA0240).cert \
2651 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_VLD_USR_RA0240).key \
2652 CONFIG NONE NONE \
2653 PASS $(PEGASUS_TEST_CERT_USER_ID)
2654 #
2655 # TestID = 111
|
2656 kumpf 1.5 # Certificate ID = 620
2657 # Certificate: Valid ECERT, Not In TS, Valid User
2658 # Username/Password: Invalid
|
2659 denise.eckstein 1.1 @$(ECHO) "Configuration 3: TestID = 111"
2660 @TestCertClient \
2661 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_VLD_USR_RA0240).cert \
2662 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_VLD_USR_RA0240).key \
2663 CONFIG \
2664 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
2665 $(PEGASUS_TEST_USER_INVLD_PASS) \
2666 PASS $(PEGASUS_TEST_CERT_USER_ID)
2667 #
2668 # TestID = 112
|
2669 kumpf 1.5 # Certificate ID = 620
2670 # Certificate: Valid ECERT, Not In TS, Valid User
2671 # Username/Password: Valid
|
2672 denise.eckstein 1.1 @$(ECHO) "Configuration 3: TestID = 112"
2673 @TestCertClient \
2674 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_VLD_USR_RA0240).cert \
2675 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_ECERT_NOTTS_VLD_USR_RA0240).key \
2676 CONFIG \
2677 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
2678 PASS $(PEGASUS_TEST_CERT_USER_ID)
2679 #
2680 # TestID = 113
|
2681 kumpf 1.5 # Certificate ID = 670
2682 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, No User
2683 # Username/Password: Not Sent
|
2684 denise.eckstein 1.1 @$(ECHO) "Configuration 3: TestID = 113"
2685 @TestCertClient \
2686 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240).cert \
2687 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240).key \
2688 CONFIG NONE NONE \
|
2689 kumpf 1.5 FAIL CANNOT_CONNECT
|
2690 denise.eckstein 1.1 #
2691 # TestID = 114
|
2692 kumpf 1.5 # Certificate ID = 670
2693 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, No User
2694 # Username/Password: Invalid
|
2695 denise.eckstein 1.1 @$(ECHO) "Configuration 3: TestID = 114"
2696 @TestCertClient \
2697 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240).cert \
2698 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240).key \
2699 CONFIG \
2700 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
2701 $(PEGASUS_TEST_USER_INVLD_PASS) \
|
2702 kumpf 1.5 FAIL CANNOT_CONNECT
|
2703 denise.eckstein 1.1 #
2704 # TestID = 115
|
2705 kumpf 1.5 # Certificate ID = 670
2706 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, No User
2707 # Username/Password: Valid
|
2708 denise.eckstein 1.1 @$(ECHO) "Configuration 3: TestID = 115"
2709 @TestCertClient \
2710 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240).cert \
2711 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_NO_USR_RA0240).key \
2712 CONFIG \
2713 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
|
2714 kumpf 1.5 FAIL CANNOT_CONNECT
|
2715 denise.eckstein 1.1 #
2716 # TestID = 116
|
2717 kumpf 1.5 # Certificate ID = 690
2718 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, Invalid User
2719 # Username/Password: Not Sent
|
2720 denise.eckstein 1.1 @$(ECHO) "Configuration 3: TestID = 116"
2721 @TestCertClient \
2722 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240).cert \
2723 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240).key \
2724 CONFIG NONE NONE \
|
2725 kumpf 1.5 FAIL CANNOT_CONNECT
|
2726 denise.eckstein 1.1 #
2727 # TestID = 117
|
2728 kumpf 1.5 # Certificate ID = 690
2729 # Certificate: Invalid (EXPIREd) ECERT, Not In TS, Invalid User
|
2730 denise.eckstein 1.1 # Username/Password: Invalid
2731 @$(ECHO) "Configuration 3: TestID = 117"
2732 @TestCertClient \
2733 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240).cert \
2734 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240).key \
2735 CONFIG \
2736 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
2737 $(PEGASUS_TEST_USER_INVLD_PASS) \
|
2738 kumpf 1.5 FAIL CANNOT_CONNECT
|
2739 denise.eckstein 1.1 #
2740 # TestID = 118
|
2741 kumpf 1.5 # Certificate ID = 690
2742 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, Invalid User
2743 # Username/Password: Valid
|
2744 denise.eckstein 1.1 @$(ECHO) "Configuration 3: TestID = 118"
2745 @TestCertClient \
2746 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240).cert \
2747 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_INVLD_USR_RA0240).key \
2748 CONFIG \
2749 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
|
2750 kumpf 1.5 FAIL CANNOT_CONNECT
|
2751 denise.eckstein 1.1
2752 # TestID = 119
|
2753 kumpf 1.5 # Certificate ID = 680
2754 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, Valid User
2755 # Username/Password: Not Sent
|
2756 denise.eckstein 1.1 @$(ECHO) "Configuration 3: TestID = 119"
2757 @TestCertClient \
2758 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240).cert \
2759 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240).key \
2760 CONFIG NONE NONE \
|
2761 kumpf 1.5 FAIL CANNOT_CONNECT
|
2762 denise.eckstein 1.1 #
2763 # TestID = 120
|
2764 kumpf 1.5 # Certificate ID = 680
2765 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, Valid User
2766 # Username/Password: Invalid
|
2767 denise.eckstein 1.1 @$(ECHO) "Configuration 3: TestID = 120"
2768 @TestCertClient \
2769 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240).cert \
2770 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240).key \
2771 CONFIG \
2772 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_TEST_USER_ID) \
2773 $(PEGASUS_TEST_USER_INVLD_PASS) \
|
2774 kumpf 1.5 FAIL CANNOT_CONNECT
|
2775 denise.eckstein 1.1 #
2776 # TestID = 121
|
2777 kumpf 1.5 # Certificate ID = 680
2778 # Certificate: Invalid (EXPIRED) ECERT, Not In TS, Valid User
2779 # Username/Password: Valid
|
2780 denise.eckstein 1.1 @$(ECHO) "Configuration 3: TestID = 121"
2781 @TestCertClient \
2782 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240).cert \
2783 $(PEGASUS_TEST_CERT_DIR)/$(PEGASUS_EXP_ECERT_NOTTS_VLD_USR_RA0240).key \
2784 CONFIG \
2785 $(PEGASUS_TEST_USER_ID) $(PEGASUS_TEST_USER_PASS) \
|
2786 kumpf 1.5 FAIL CANNOT_CONNECT
|
2787 denise.eckstein 1.1
2788 endif
2789 endif
2790 endif
|