(file) Return to certificate_test.mak CVS log (file) (dir) Up to [Pegasus] / pegasus / mak

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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2