s_server: test ocsp with "-cert_chain"
authorJames Muir <james@openssl.org>
Wed, 20 Dec 2023 05:15:17 +0000 (00:15 -0500)
committerTomas Mraz <tomas@openssl.org>
Tue, 12 Mar 2024 18:54:27 +0000 (19:54 +0100)
commitcf8422480acf10146d0bc6bec40e3efeb12a2d5a
tree819692bc6f2759077aecb92377b4d2e98bd254e1
parent7f8aba2f44e9ca65b8a95987fa6c46020e1bdd6d
s_server: test ocsp with "-cert_chain"

Add a test to exercise the use of s_server with "-cert_chain" to
construct an ocsp request.

This new functionality was added in PR #22192.

Testing:

  make V=1 TESTS='test_ocsp_cert_chain' test

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23101)
15 files changed:
test/ocsp-tests/ca.cnf [new file with mode: 0644]
test/ocsp-tests/index.txt [new file with mode: 0644]
test/ocsp-tests/index.txt.attr [new file with mode: 0644]
test/ocsp-tests/intermediate-cert.pem [new file with mode: 0644]
test/ocsp-tests/intermediate-csr.pem [new file with mode: 0644]
test/ocsp-tests/intermediate-key.pem [new file with mode: 0644]
test/ocsp-tests/mk-ocsp-cert-chain.sh [new file with mode: 0755]
test/ocsp-tests/ocsp.pem [new file with mode: 0644]
test/ocsp-tests/root-cert.pem [new file with mode: 0644]
test/ocsp-tests/root-key.pem [new file with mode: 0644]
test/ocsp-tests/server-cert.pem [new file with mode: 0644]
test/ocsp-tests/server-csr.pem [new file with mode: 0644]
test/ocsp-tests/server-key.pem [new file with mode: 0644]
test/ocsp-tests/server.pem [new file with mode: 0644]
test/recipes/82-test_ocsp_cert_chain.t [new file with mode: 0644]