qt5base-lts/tests/auto/qsslcertificate/verify-certs
Richard Moore 451f3b3785 Add the ability to verify a chain of certificates
Currently it is only possible to verify a certificate chain when
connecting to a server. This change makes it possible to verify a
chain at any time.

Change-Id: Ib70ad7b81418f880e995f391b82ce59561ededb8
Merge-request: 11
Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com>
Reviewed-on: http://codereview.qt.nokia.com/1509
2011-07-12 13:57:14 +02:00
..
cacert.pem Add the ability to verify a chain of certificates 2011-07-12 13:57:14 +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 Add the ability to verify a chain of certificates 2011-07-12 13:57:14 +02:00
test-intermediate-is-ca-cert.pem Add the ability to verify a chain of certificates 2011-07-12 13:57:14 +02:00
test-intermediate-not-ca-cert.pem Add the ability to verify a chain of certificates 2011-07-12 13:57:14 +02:00
test-ocsp-good-cert.pem Add the ability to verify a chain of certificates 2011-07-12 13:57:14 +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