Readme 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. This directory contains the certificates for the tests targeting the enforcement of the policy indicated by the *pathLenConstraint* field. All leaf elements were generated with *is_ca* unset and all roots with the *selfsign=1* option.
  2. 1. zero pathlen constraint on an intermediate CA (invalid)
  3. ```
  4. cert11.crt -> cert12.crt (max_pathlen=0) -> cert13.crt -> cert14.crt
  5. ```
  6. 2. zero pathlen constraint on the root CA (invalid)
  7. ```
  8. cert21.crt (max_pathlen=0) -> cert22.crt -> cert23.crt
  9. ```
  10. 3. nonzero pathlen constraint on the root CA (invalid)
  11. ```
  12. cert31.crt (max_pathlen=1) -> cert32.crt -> cert33.crt -> cert34.crt
  13. ```
  14. 4. nonzero pathlen constraint on an intermediate CA (invalid)
  15. ```
  16. cert41.crt -> cert42.crt (max_pathlen=1) -> cert43.crt -> cert44.crt -> cert45.crt
  17. ```
  18. 5. nonzero pathlen constraint on an intermediate CA with maximum number of elements in the chain (valid)
  19. ```
  20. cert51.crt -> cert52.crt (max_pathlen=1) -> cert53.crt -> cert54.crt
  21. ```
  22. 6. nonzero pathlen constraint on the root CA with maximum number of elements in the chain (valid)
  23. ```
  24. cert61.crt (max_pathlen=1) -> cert62.crt -> cert63.crt
  25. ```
  26. 7. pathlen constraint on the root CA with maximum number of elements and a self signed certificate in the chain (valid)
  27. (This situation happens for example when a root of some hierarchy gets integrated into another hierarchy. In this case the certificates issued before the integration will have an intermadiate self signed certificate in their chain)
  28. ```
  29. cert71.crt (max_pathlen=1) -> cert72.crt -> cert73.crt (self signed) -> cert74.crt -> cert74.crt
  30. ```
  31. 8. zero pathlen constraint on first intermediate CA (valid)
  32. ```
  33. cert81.crt -> cert82.crt (max_pathlen=0) -> cert83.crt
  34. ```
  35. 9. zero pathlen constraint on trusted root (valid)
  36. ```
  37. cert91.crt (max_pathlen=0) -> cert92.crt
  38. ```