qt5base-lts/tests/auto/qsslcertificate/verify-certs
Richard Moore 9158f5a979 Fix the lifespan of the test CA cert used by the autotests.
The test CA I used for the QSslCertificate autotests had a short
lifespan which meant that the tests now fail. See bug QTBUG-20582.
This change gives it a lifespan of 10 years matching the leaf
certificates.
In addition, remove the temporary QEXPECT_FAIL statements.

Change-Id: Ic1918e6e31f5cc755ec43d899663140ebe95a2a9
Merge-request: 37
Task-number: QTBUG-20582
Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com>
Reviewed-on: http://codereview.qt.nokia.com/2548
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
2011-08-03 10:46:12 +02:00
..
cacert.pem Fix the lifespan of the test CA cert used by the autotests. 2011-08-03 10:46:12 +02:00
README Add the ability to verify a chain of certificates 2011-07-12 13:57:14 +02:00
test-addons-mozilla-org-cert.pem Add the ability to verify a chain of certificates 2011-07-12 13:57:14 +02:00
test-intermediate-ca-cert.pem Fix the lifespan of the test CA cert used by the autotests. 2011-08-03 10:46:12 +02:00
test-intermediate-is-ca-cert.pem Fix the lifespan of the test CA cert used by the autotests. 2011-08-03 10:46:12 +02:00
test-intermediate-not-ca-cert.pem Fix the lifespan of the test CA cert used by the autotests. 2011-08-03 10:46:12 +02:00
test-ocsp-good-cert.pem Fix the lifespan of the test CA cert used by the autotests. 2011-08-03 10:46:12 +02:00

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