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

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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2