Title: [230911] trunk/Tools
Revision
230911
Author
[email protected]
Date
2018-04-23 06:45:20 -0700 (Mon, 23 Apr 2018)

Log Message

[GTK][WPE] TestSSL fails due to additional TLS errors returned
https://bugs.webkit.org/show_bug.cgi?id=184860

Reviewed by Carlos Garcia Campos.

Add script and config file for regenerating the test certificate.
Regenerate it. TestSSL no longer fails on my machine.

I do see a ton of network process crashes and _javascript_ errors, none of
which prevent the test from passing, but this commit only claims to fix
the certificate validation portion of the test.

* TestWebKitAPI/Tests/WebKitGLib/resources/generate-test-cert.sh: Added.
* TestWebKitAPI/Tests/WebKitGLib/resources/test-cert.conf: Added.
* TestWebKitAPI/Tests/WebKitGLib/resources/test-cert.pem:

Modified Paths

Added Paths

Diff

Modified: trunk/Tools/ChangeLog (230910 => 230911)


--- trunk/Tools/ChangeLog	2018-04-23 13:39:53 UTC (rev 230910)
+++ trunk/Tools/ChangeLog	2018-04-23 13:45:20 UTC (rev 230911)
@@ -1,3 +1,21 @@
+2018-04-23  Michael Catanzaro  <[email protected]>
+
+        [GTK][WPE] TestSSL fails due to additional TLS errors returned
+        https://bugs.webkit.org/show_bug.cgi?id=184860
+
+        Reviewed by Carlos Garcia Campos.
+
+        Add script and config file for regenerating the test certificate.
+        Regenerate it. TestSSL no longer fails on my machine.
+
+        I do see a ton of network process crashes and _javascript_ errors, none of
+        which prevent the test from passing, but this commit only claims to fix
+        the certificate validation portion of the test.
+
+        * TestWebKitAPI/Tests/WebKitGLib/resources/generate-test-cert.sh: Added.
+        * TestWebKitAPI/Tests/WebKitGLib/resources/test-cert.conf: Added.
+        * TestWebKitAPI/Tests/WebKitGLib/resources/test-cert.pem:
+
 2018-04-20  Carlos Garcia Campos  <[email protected]>
 
         [GLIB] ERROR: Thread was unable to be detached when running /jsc/vm test in debug

Added: trunk/Tools/TestWebKitAPI/Tests/WebKitGLib/resources/generate-test-cert.sh (0 => 230911)


--- trunk/Tools/TestWebKitAPI/Tests/WebKitGLib/resources/generate-test-cert.sh	                        (rev 0)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGLib/resources/generate-test-cert.sh	2018-04-23 13:45:20 UTC (rev 230911)
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+certtool --generate-self-signed --load-privkey test-key.pem  \
+   --template test-cert.conf --outfile test-cert.pem
Property changes on: trunk/Tools/TestWebKitAPI/Tests/WebKitGLib/resources/generate-test-cert.sh
___________________________________________________________________

Added: svn:executable

+* \ No newline at end of property

Added: trunk/Tools/TestWebKitAPI/Tests/WebKitGLib/resources/test-cert.conf (0 => 230911)


--- trunk/Tools/TestWebKitAPI/Tests/WebKitGLib/resources/test-cert.conf	                        (rev 0)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGLib/resources/test-cert.conf	2018-04-23 13:45:20 UTC (rev 230911)
@@ -0,0 +1,21 @@
+# In how many days, counting from today, this certificate will expire.
+# Use -1 if there is no expiration date.
+expiration_days = -1
+
+# An IP address in case of a server.
+ip_address = "127.0.0.1"
+
+#### Key usage
+
+# The following key usage flags are used by CAs and end certificates
+
+# Whether this certificate will be used to sign data (needed
+# in TLS DHE ciphersuites). This is the digitalSignature flag
+# in RFC5280 terminology.
+signing_key
+
+# Whether this certificate will be used to encrypt data (needed
+# in TLS RSA ciphersuites). Note that it is preferred to use different
+# keys for encryption and signing. This is the keyEncipherment flag
+# in RFC5280 terminology.
+encryption_key

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitGLib/resources/test-cert.pem (230910 => 230911)


--- trunk/Tools/TestWebKitAPI/Tests/WebKitGLib/resources/test-cert.pem	2018-04-23 13:39:53 UTC (rev 230910)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGLib/resources/test-cert.pem	2018-04-23 13:45:20 UTC (rev 230911)
@@ -1,13 +1,12 @@
 -----BEGIN CERTIFICATE-----
-MIIB9jCCAV+gAwIBAgIJALeuXBo+vwz9MA0GCSqGSIb3DQEBBQUAMBQxEjAQBgNV
-BAMMCTEyNy4wLjAuMTAeFw0xMjA3MTIxMj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kqhkiG9w0B
+AQsFAAOBgQCkKd9x8OLlTFa4SGvkzv41I6xITR86i5ACErOhMqGdJw1QLUx7ckFp
+WoFvScZaQuTK2Po0hra85PDNQpkRKRApgpCUjxOYznc0t78+Dj2jtQCV0w3LYtlO
+1KPG1jAdvAzLjzYrA336fHm/2Cpmr5lZ7kmxV3B/UKnFD3V+p6NLoA==
 -----END CERTIFICATE-----
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to