Home | History | Annotate | Line # | Download | only in ssl-tests
01-simple.cnf.in revision 1.1
      1  1.1  christos # -*- mode: perl; -*-
      2  1.1  christos # Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
      3  1.1  christos #
      4  1.1  christos # Licensed under the Apache License 2.0 (the "License").  You may not use
      5  1.1  christos # this file except in compliance with the License.  You can obtain a copy
      6  1.1  christos # in the file LICENSE in the source distribution or at
      7  1.1  christos # https://www.openssl.org/source/license.html
      8  1.1  christos 
      9  1.1  christos 
     10  1.1  christos ## SSL test configurations
     11  1.1  christos 
     12  1.1  christos package ssltests;
     13  1.1  christos 
     14  1.1  christos our @tests = (
     15  1.1  christos     {
     16  1.1  christos         name => "default",
     17  1.1  christos         server => { },
     18  1.1  christos         client => { },
     19  1.1  christos         test   => { "ExpectedResult" => "Success" },
     20  1.1  christos     },
     21  1.1  christos 
     22  1.1  christos     {
     23  1.1  christos         name => "Server signature algorithms bug",
     24  1.1  christos         # Should have no effect as we aren't doing client auth
     25  1.1  christos         server => { "ClientSignatureAlgorithms" => "PSS+SHA512:RSA+SHA512" },
     26  1.1  christos         client => { "SignatureAlgorithms" => "PSS+SHA256:RSA+SHA256" },
     27  1.1  christos         test   => { "ExpectedResult" => "Success" },
     28  1.1  christos     },
     29  1.1  christos 
     30  1.1  christos     {
     31  1.1  christos         name => "verify-cert",
     32  1.1  christos         server => { },
     33  1.1  christos         client => {
     34  1.1  christos             # Don't set up the client root file.
     35  1.1  christos             "VerifyCAFile" => undef,
     36  1.1  christos         },
     37  1.1  christos         test   => {
     38  1.1  christos           "ExpectedResult" => "ClientFail",
     39  1.1  christos           "ExpectedClientAlert" => "UnknownCA",
     40  1.1  christos         },
     41  1.1  christos     },
     42  1.1  christos 
     43  1.1  christos     {
     44  1.1  christos         name => "name-constraints-no-san-in-ee",
     45  1.1  christos         server => {
     46  1.1  christos             "Certificate" => test_pem("goodcn2-chain.pem"),
     47  1.1  christos             "PrivateKey"  => test_pem("goodcn2-key.pem"),
     48  1.1  christos         },
     49  1.1  christos         client => {
     50  1.1  christos             "VerifyCAFile" => test_pem("root-cert.pem"),
     51  1.1  christos         },
     52  1.1  christos         test   => { "ExpectedResult" => "Success" },
     53  1.1  christos     },
     54  1.1  christos );
     55