qt5base-lts/tests/auto/network/ssl/qsslcertificate/verify-certs
..
cacert.pem
README
test-addons-mozilla-org-cert.pem
test-intermediate-ca-cert.pem
test-intermediate-is-ca-cert.pem
test-intermediate-not-ca-cert.pem
test-ocsp-good-cert.pem

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