Skip to content

Commit

Permalink
US-572876 - Adding more extensions to certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Oct 12, 2023
1 parent ff0bf0c commit 8b41658
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/pega-web-ready-testcases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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,"]

Expand Down
37 changes: 37 additions & 0 deletions tests/test-artifacts/certs/test.inv
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
-----BEGIN CERTIFICATE-----
MIIGizCCBXOgAwIBAgIQYnvLQo/q1fYkYzoTIwLnUTANBgkqhkiG9w0BAQsFADBE
MQswCQYDVQQGEwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgSW5jLjEdMBsGA1UEAxMU
R2VvVHJ1c3QgU1NMIENBIC0gRzMwHhcNMTYxMDI1MDAwMDAwWhcNMTgxMTI0MjM1
OTU5WjCBgzELMAkGA1UEBhMCTVgxGTAXBgNVBAgMEERpc3RyaXRvIEZlZGVyYWwx
GTAXBgNVBAcMEENpdWRhZCBkZSBNZXhpY28xJDAiBgNVBAoMG0VsZWN0cm9uaWMg
QmlsbHMgJiBTZXJ2aWNlczEYMBYGA1UEAwwPZWJzLWNmZGkuY29tLm14MIIBIjAN
BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyiHnBIOWZFmZl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