From 8b41658711a571ff3457a29032f922b5251e9fa7 Mon Sep 17 00:00:00 2001 From: "saurabh.kumar2@in.pega.com" Date: Thu, 12 Oct 2023 19:05:19 +0530 Subject: [PATCH] US-572876 - Adding more extensions to certificate --- tests/pega-web-ready-testcases.yaml | 3 ++- tests/test-artifacts/certs/test.inv | 37 +++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 tests/test-artifacts/certs/test.inv diff --git a/tests/pega-web-ready-testcases.yaml b/tests/pega-web-ready-testcases.yaml index 24758e92..11d8ec8f 100755 --- a/tests/pega-web-ready-testcases.yaml +++ b/tests/pega-web-ready-testcases.yaml @@ -1579,7 +1579,8 @@ commandTests: bash -c './scripts/docker-entrypoint.sh run &'&& sleep 15s && keytool -list -keystore $JAVA_HOME/lib/security/cacerts -alias badsslcert -storepass changeit && - keytool -list -keystore $JAVA_HOME/lib/security/cacerts -alias goodsslcert -storepass changeit + keytool -list -keystore $JAVA_HOME/lib/security/cacerts -alias goodsslcert -storepass changeit && + keytool -list -keystore $JAVA_HOME/lib/security/cacerts -alias testcert -storepass changeit exitCode: 0 expectedOutput: ["badsslcert(.*)trustedCertEntry,","goodsslcert(.*)trustedCertEntry,","testcert(.*)trustedCertEntry,"] diff --git a/tests/test-artifacts/certs/test.inv b/tests/test-artifacts/certs/test.inv new file mode 100644 index 00000000..88693aca --- /dev/null +++ b/tests/test-artifacts/certs/test.inv @@ -0,0 +1,37 @@ +-----BEGIN CERTIFICATE----- +MIIGizCCBXOgAwIBAgIQYnvLQo/q1fYkYzoTIwLnUTANBgkqhkiG9w0BAQsFADBE +MQswCQYDVQQGEwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgSW5jLjEdMBsGA1UEAxMU +R2VvVHJ1c3QgU1NMIENBIC0gRzMwHhcNMTYxMDI1MDAwMDAwWhcNMTgxMTI0MjM1 +OTU5WjCBgzELMAkGA1UEBhMCTVgxGTAXBgNVBAgMEERpc3RyaXRvIEZlZGVyYWwx +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