mbedtls/tests/data_files/dir-maxpath/Readme.txt
Manuel Pégourié-Gonnard 1beb048316 Add test for limit on intermediate certificates
Inspired by test code provided by Nicholas Wilson in PR #351.

The test will fail if someone sets MAX_INTERMEDIATE_CA to a value larger than
18 (default is 8), which is hopefully unlikely and can easily be fixed by
running long.sh again with a larger value if it ever happens.

Current behaviour is suboptimal as flags are not set, but currently the goal
is only to document/test existing behaviour.
2017-07-06 11:57:31 +02:00

11 lines
293 B
Plaintext

These certificates from a very long chain, used to test the
MBEDTLS_X509_MAX_INT_CA limit.
NN.key is the private key of certificate NN.crt.
The root is 00.crt and N+1.crt is a child of N.crt.
File cNN.pem contains the chain NN.crt to 00.crt.
Those certificates where generated by long.sh.