forked from qt/qtbase
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tst_QSslCertificate::verify - remove QSKIP
And re-generate certificates. Fixes: QTBUG-95429 Change-Id: Id970a0a9315d146d6dd1e66c9cff9b7d75657e2d Reviewed-by: Mårten Nordheim <[email protected]> (cherry picked from commit e7ab17a) (cherry picked from commit f0107ab) Reviewed-by: Timur Pocheptsov <[email protected]>
- Loading branch information
Showing
6 changed files
with
121 additions
and
253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,9 @@ | ||
openssl verify -CAfile cacert.pem -untrusted test-intermediate-ca-cert.pem test-intermediate-is-ca-cert.pem | ||
openssl verify -CAfile cacert.pem -untrusted test-ocsp-good-cert.pem test-intermediate-not-ca-cert.pem | ||
|
||
1. cacert.pem is, obviously, a root CA certificate. | ||
2. test-intermediate-ca-cert.pem is a certificate, signed by the root CA, an intermediate CA. | ||
3. test-intermediate-is-ca-cert.pem is a certificate, signed by test-intermediate-ca-cert.pem. | ||
4. test-ocsp-good-cert.pem is signed by root CA, it has CA:FALSE but keyUsage allowing to sign | ||
CSRs - this is how OpenSSL would report us 'invalid CA certificate' instead of 'No issuer found'. | ||
5. test-intermediate-not-ca-cert.pem is signed by test-ocsp-good-cert.pem. |
44 changes: 23 additions & 21 deletions
44
tests/auto/network/ssl/qsslcertificate/verify-certs/cacert.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIID6zCCAtOgAwIBAgIJAP4bjANFSx0BMA0GCSqGSIb3DQEBBQUAMIGrMSYwJAY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fxNDLPCWImukKfWGUfWlpnbbF4nYdaeP/S+LvsCklgphGdtLE | ||
uO+bNLUNFT61X3d0eg/NQ0tMFFgjTQkKYueYpoAtS8zsHfJxLKzNVjdkUaqEsN1x | ||
AmE6LLVhMwf7EHwlgCMb3H59R9N+kz8bjCNQrErctF0crvdZjlX9AudZGz6e6xso | ||
Mmw6epkGSGF6eMjK62mQX4Y/15ruNIvuLla1dzcCAwEAAaNjMGEwHQYDVR0OBBYE | ||
FFpvgro1qjV/QzO+gq/hScIGw7CpMB8GA1UdIwQYMBaAFFpvgro1qjV/QzO+gq/h | ||
ScIGw7CpMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgGGMA0GCSqGSIb3 | ||
DQEBCwUAA4IBAQC+Xbv1f2r2YBXTM7/Uc48DFjdCb4dOKOF8anIGmsG5IfcG77DW | ||
PkyVvPVBVQYw11GtyEwdl5nYyM5VMUT2Jv0kL3sRjQASaQLQCJa3KpYKUV6/7+0W | ||
h8oUSb6FyP8Ks/GTVgHGlSSWU6TixG2k85kKSDNinUDHqrjyS+EYXR4FZHY68lu1 | ||
JSSDBrdEEMmBcChj7Yze9LcdcEUbsALori4363rJCsDmfE6M5nZCFGSn1oUAB8LS | ||
XJ62DI16XbKjwSSFsvJA87n3Ujivytjgdq0e1EgpeNjFvcq5lJ83pQHK/G6+hIna | ||
toLOSqYHUzZv5+NalkbfTUOLSuecUMDTz+KG | ||
-----END CERTIFICATE----- |
88 changes: 24 additions & 64 deletions
88
tests/auto/network/ssl/qsslcertificate/verify-certs/test-intermediate-ca-cert.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,26 @@ | ||
Certificate: | ||
Data: | ||
Version: 3 (0x2) | ||
Serial Number: 28 (0x1c) | ||
Signature Algorithm: sha1WithRSAEncryption | ||
Issuer: CN=Westpoint Certificate Test CA, ST=Lancashire, C=UK/[email protected], O=Westpoint Certificate Test Root Certification Authority | ||
Validity | ||
Not Before: Jul 31 21:01:18 2011 GMT | ||
Not After : Jul 28 21:01:18 2021 GMT | ||
Subject: ST=Lancashire, C=UK/[email protected], O=Test intermediate CA | ||
Subject Public Key Info: | ||
Public Key Algorithm: rsaEncryption | ||
Public-Key: (1024 bit) | ||
Modulus: | ||
00:bc:bd:83:c1:bc:36:d8:9c:74:68:5a:46:48:25: | ||
83:59:f8:35:1e:8f:dc:2c:52:3b:7c:2e:ea:40:c4: | ||
93:b6:39:31:df:f5:a6:f8:01:17:67:93:21:59:9b: | ||
89:7f:ed:2a:19:7b:25:a5:e1:71:12:99:e5:14:28: | ||
df:75:b5:17:1c:3b:1d:3d:74:48:4f:b7:42:f4:3a: | ||
ab:56:05:2b:fc:d3:27:97:01:08:5b:ad:26:9b:f2: | ||
87:51:9c:7e:e1:f1:ef:1c:bf:ad:7e:38:d9:76:89: | ||
30:a6:8c:2f:6f:87:9f:9e:57:13:14:b4:45:30:f3: | ||
be:58:df:8a:d2:ee:7b:1d:89 | ||
Exponent: 65537 (0x10001) | ||
X509v3 extensions: | ||
Authority Information Access: | ||
OCSP - URI:http://ocsp.example.com:8888/ | ||
|
||
X509v3 Basic Constraints: | ||
CA:TRUE | ||
Signature Algorithm: sha1WithRSAEncryption | ||
33:84:9d:0e:b2:59:04:dc:ef:e3:04:8b:00:6c:64:ea:58:9e: | ||
36:59:76:27:59:a0:b8:ee:0d:86:83:ff:db:65:eb:6c:1f:16: | ||
47:e7:f5:e6:c3:88:81:73:7e:ed:12:8d:7e:fd:5e:b1:5c:68: | ||
47:f8:f9:ca:e3:e0:c0:f3:12:b2:24:3b:77:2c:98:de:05:6d: | ||
a8:ec:27:b8:af:ab:84:25:26:73:b4:58:4c:7c:c1:74:97:98: | ||
ab:0e:e6:99:70:bc:38:b0:9a:e3:d9:5c:75:fa:46:d2:87:55: | ||
09:86:8f:ef:4a:e4:ef:3e:32:c6:ac:9d:27:86:29:b8:78:38: | ||
7b:87:6c:57:72:bd:57:99:73:36:db:fa:52:bd:7b:a7:05:cd: | ||
28:b8:85:fc:11:47:5e:c6:77:72:6a:fb:73:3e:8b:a4:6d:f8: | ||
17:f4:12:d5:36:e0:ef:5c:f8:b2:a1:69:3e:4c:cf:86:5f:63: | ||
f6:02:60:95:7f:61:e8:cb:7f:14:66:da:36:2e:78:13:3e:68: | ||
ae:3f:13:c1:79:88:18:18:3f:23:f3:9a:e1:e7:7e:ae:50:e4: | ||
b7:80:76:31:92:74:79:2c:de:d0:74:fe:81:7c:f6:01:14:6a: | ||
1f:5f:88:85:6a:11:1d:50:af:f1:97:4d:67:40:c3:e9:ae:6f: | ||
60:e2:bc:e2 | ||
-----BEGIN CERTIFICATE----- | ||
MIIDUDCCAjigAwIBAgIBHDANBgkqhkiG9w0BAQUFADCBqzEmMCQGA1UEAxMdV2Vz | ||
dHBvaW50IENlcnRpZmljYXRlIFRlc3QgQ0ExEzARBgNVBAgTCkxhbmNhc2hpcmUx | ||
CzAJBgNVBAYTAlVLMR0wGwYJKoZIhvcNAQkBFg5jYUBleGFtcGxlLmNvbTFAMD4G | ||
A1UEChM3V2VzdHBvaW50IENlcnRpZmljYXRlIFRlc3QgUm9vdCBDZXJ0aWZpY2F0 | ||
aW9uIEF1dGhvcml0eTAeFw0xMTA3MzEyMTAxMThaFw0yMTA3MjgyMTAxMThaMGIx | ||
EzARBgNVBAgTCkxhbmNhc2hpcmUxCzAJBgNVBAYTAlVLMR8wHQYJKoZIhvcNAQkB | ||
FhB0ZXN0QGV4YW1wbGUuY29tMR0wGwYDVQQKExRUZXN0IGludGVybWVkaWF0ZSBD | ||
QTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAvL2Dwbw22Jx0aFpGSCWDWfg1 | ||
Ho/cLFI7fC7qQMSTtjkx3/Wm+AEXZ5MhWZuJf+0qGXslpeFxEpnlFCjfdbUXHDsd | ||
PXRIT7dC9Dq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xpGFlpyFgWq3m054iD | ||
UAWX8IPCQRMwhoKmSqNbhtYIKLXyDe3Xg6yD0ySDKjlB | ||
-----END CERTIFICATE----- |
74 changes: 23 additions & 51 deletions
74
tests/auto/network/ssl/qsslcertificate/verify-certs/test-intermediate-is-ca-cert.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,25 @@ | ||
Certificate: | ||
Data: | ||
Version: 3 (0x2) | ||
Serial Number: 29 (0x1d) | ||
Signature Algorithm: sha1WithRSAEncryption | ||
Issuer: ST=Lancashire, C=UK/[email protected], O=Test intermediate CA | ||
Validity | ||
Not Before: Jul 31 21:01:18 2011 GMT | ||
Not After : Jul 28 21:01:18 2021 GMT | ||
Subject: CN=example.com | ||
Subject Public Key Info: | ||
Public Key Algorithm: rsaEncryption | ||
Public-Key: (1024 bit) | ||
Modulus: | ||
00:c9:bb:98:5b:27:cd:b1:8a:a9:38:fc:aa:bb:ad: | ||
a1:ed:cb:94:94:3e:79:90:ae:35:f3:87:b1:2a:4e: | ||
d5:ff:55:93:e0:1a:68:2a:36:94:05:38:a7:72:64: | ||
a3:31:0f:61:5c:ec:76:41:f1:35:4a:5e:bc:ef:51: | ||
90:9e:33:b4:08:7a:3f:f0:04:a8:46:99:96:25:b3: | ||
03:c8:cd:8c:33:42:76:82:b9:db:61:c6:91:ed:76: | ||
86:ae:04:38:d7:e5:5c:a9:a9:f9:b6:13:f4:90:40: | ||
6d:ec:2f:ba:ed:bc:ff:88:05:f0:7b:c8:ac:bd:d0: | ||
72:3a:91:64:86:06:89:66:0d | ||
Exponent: 65537 (0x10001) | ||
X509v3 extensions: | ||
X509v3 Basic Constraints: | ||
CA:FALSE | ||
Authority Information Access: | ||
OCSP - URI:http://ocsp.example.com:8888/ | ||
|
||
Signature Algorithm: sha1WithRSAEncryption | ||
22:30:97:01:ea:d0:a8:d8:b5:32:97:c8:c9:8b:7d:01:02:53: | ||
74:f8:0a:10:dc:fc:73:b2:50:bb:59:47:f3:e4:9f:44:94:d5: | ||
ca:c0:64:da:83:00:95:43:15:a5:e3:30:ce:66:ca:55:8c:16: | ||
03:1e:55:02:8b:c7:ad:ed:2e:ae:ee:31:59:53:37:ff:26:86: | ||
93:9d:e2:69:2e:c0:2a:66:38:a5:b5:54:a1:02:0a:83:67:e0: | ||
91:cf:fc:09:c3:70:71:b6:cf:fc:d3:e9:9f:f5:1c:4d:55:ec: | ||
66:f7:07:71:fc:d6:17:de:e1:ab:e6:f2:7b:83:46:1e:b9:96: | ||
95:8f | ||
-----BEGIN CERTIFICATE----- | ||
MIICNjCCAZ+gAwIBAgIBHTANBgkqhkiG9w0BAQUFADBiMRMwEQYDVQQIEwpMYW5j | ||
YXNoaXJlMQswCQYDVQQGEwJVSzEfMB0GCSqGSIb3DQEJARYQdGVzdEBleGFtcGxl | ||
LmNvbTEdMBsGA1UEChMUVGVzdCBpbnRlcm1lZGlhdGUgQ0EwHhcNMTEwNzMxMjEw | ||
MTE4WhcNMjEwNzI4MjEwMTE4WjAWMRQwEgYDVQQDEwtleGFtcGxlLmNvbTCBnzAN | ||
BgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAybuYWyfNsYqpOPyqu62h7cuUlD55kK41 | ||
84exKk7V/1WT4BpoKjaUBTincmSjMQ9hXOx2QfE1Sl6871GQnjO0CHo/8ASoRpmW | ||
JbMDyM2MM0J2grnbYcaR7XaGrgQ41+Vcqan5thP0kEBt7C+67bz/iAXwe8isvdBy | ||
OpFkhgaJZg0CAwEAAaNIMEYwCQYDVR0TBAIwADA5BggrBgEFBQcBAQQtMCswKQYI | ||
KwYBBQUHMAGGHWh0dHA6Ly9vY3NwLmV4YW1wbGUuY29tOjg4ODgvMA0GCSqGSIb3 | ||
DQEBBQUAA4GBACIwlwHq0KjYtTKXyMmLfQECU3T4ChDc/HOyULtZR/Pkn0SU1crA | ||
ZN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pcEMxS8ycQCwaUp6HC1 | ||
y+HHtfSYu9DRu4PXKccWlQIDAQABo2swaTAOBgNVHQ8BAf8EBAMCBeAwHQYDVR0l | ||
BBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMEMDgGCCsGAQUFBwEBBCwwKjAoBggrBgEF | ||
BQcwAYYcaHR0cDovL29jc3AuZXhhbXBsZS5jb206ODg4ODANBgkqhkiG9w0BAQsF | ||
AAOCAQEAcMAO6aZesrll+VnceYD2A77Uckqu7UaJ+Cno/aXxaZuBVmfyhdUyK9DF | ||
bqLNGooR2DGbCjnoOpAaNGngfEkLH/aiDOaGgF9hPOfeUo2Axw7ElfVvwoyEy4zy | ||
h7GLaA491mjg3XF5ZB56wxbWiBO7nvnHP2ln6x8L5A9RZIofxmChwNuDulB5aog5 | ||
xfoZn8nqM+HQZNUNx5gX/QgPaVu3ytcVy0t8KYQesATc4hu3kaUPP372Unm4qOyA | ||
WjX8g4zgCs4aVhjNqWEuX4FPyZQeY0IE5BK+H50z0m+rfH02Amlvq7TYpN50A9wL | ||
qLirP+moVzEWJKJP0HWT/jo7Ze53FA== | ||
-----END CERTIFICATE----- |
74 changes: 22 additions & 52 deletions
74
tests/auto/network/ssl/qsslcertificate/verify-certs/test-intermediate-not-ca-cert.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,24 @@ | ||
Certificate: | ||
Data: | ||
Version: 3 (0x2) | ||
Serial Number: 27 (0x1b) | ||
Signature Algorithm: sha1WithRSAEncryption | ||
Issuer: CN=example.com, ST=Lancashire, C=UK/[email protected], O=Some organisation | ||
Validity | ||
Not Before: Jul 31 21:01:18 2011 GMT | ||
Not After : Jul 28 21:01:18 2021 GMT | ||
Subject: CN=example.com | ||
Subject Public Key Info: | ||
Public Key Algorithm: rsaEncryption | ||
Public-Key: (1024 bit) | ||
Modulus: | ||
00:ea:d6:97:b5:3c:f4:37:8a:58:b4:7a:49:31:55: | ||
dd:c8:84:ee:36:f6:72:3a:31:99:d1:df:af:bb:f9: | ||
17:e9:d8:47:d2:20:4b:94:ce:ea:c1:6b:23:9a:da: | ||
02:41:29:51:34:05:13:c0:98:4d:87:f8:91:a8:85: | ||
81:e4:ab:26:3d:26:59:29:16:7d:04:db:57:7b:f0: | ||
b6:2b:5d:cf:e7:82:ba:83:a7:bc:63:43:03:2a:2b: | ||
18:40:89:4c:1e:90:bc:bf:10:24:81:50:0d:2e:e8: | ||
8e:a9:0a:fc:f8:cd:97:98:3c:cc:55:b7:f2:b2:0d: | ||
0e:36:53:3a:b2:d0:45:90:8b | ||
Exponent: 65537 (0x10001) | ||
X509v3 extensions: | ||
X509v3 Basic Constraints: | ||
CA:FALSE | ||
Authority Information Access: | ||
OCSP - URI:http://ocsp.example.com:8888/ | ||
|
||
Signature Algorithm: sha1WithRSAEncryption | ||
82:d8:53:9c:d8:0b:0a:b3:9d:b4:0a:9f:93:ec:96:a6:31:6b: | ||
79:c9:d2:1c:76:0b:b7:f3:9f:b9:7a:dd:d7:b7:7b:26:ba:0a: | ||
54:2a:a3:ad:89:8e:3c:b8:8e:ea:09:53:58:73:9a:b3:a0:40: | ||
90:02:f2:60:04:b8:f0:2a:61:bd:91:9b:5e:81:5f:bf:cc:f2: | ||
33:33:8a:70:07:f5:ea:c0:05:38:34:f7:dc:ea:0c:74:01:5d: | ||
dd:92:ab:f2:87:64:1b:7c:be:ae:37:c1:6c:ae:99:73:a5:aa: | ||
45:20:32:57:19:cb:30:45:61:2c:3b:23:52:ee:f0:cc:12:80: | ||
97:34 | ||
-----BEGIN CERTIFICATE----- | ||
MIICSTCCAbKgAwIBAgIBGzANBgkqhkiG9w0BAQUFADB1MRQwEgYDVQQDEwtleGFt | ||
cGxlLmNvbTETMBEGA1UECBMKTGFuY2FzaGlyZTELMAkGA1UEBhMCVUsxHzAdBgkq | ||
hkiG9w0BCQEWEHRl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ERTIFICATE----- |
Oops, something went wrong.