2
0

01-simple.cnf.in 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # -*- mode: perl; -*-
  2. # Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
  3. #
  4. # Licensed under the Apache License 2.0 (the "License"). You may not use
  5. # this file except in compliance with the License. You can obtain a copy
  6. # in the file LICENSE in the source distribution or at
  7. # https://www.openssl.org/source/license.html
  8. ## SSL test configurations
  9. package ssltests;
  10. our @tests = (
  11. {
  12. name => "default",
  13. server => { },
  14. client => { },
  15. test => { "ExpectedResult" => "Success" },
  16. },
  17. {
  18. name => "Server signature algorithms bug",
  19. # Should have no effect as we aren't doing client auth
  20. server => { "ClientSignatureAlgorithms" => "PSS+SHA512:RSA+SHA512" },
  21. client => { "SignatureAlgorithms" => "PSS+SHA256:RSA+SHA256" },
  22. test => { "ExpectedResult" => "Success" },
  23. },
  24. {
  25. name => "verify-cert",
  26. server => { },
  27. client => {
  28. # Don't set up the client root file.
  29. "VerifyCAFile" => undef,
  30. },
  31. test => {
  32. "ExpectedResult" => "ClientFail",
  33. "ExpectedClientAlert" => "UnknownCA",
  34. },
  35. },
  36. );