"Fossies" - the Fresh Open Source Software Archive

Member "openssl-1.1.1b/test/ssl-tests/01-simple.conf" (26 Feb 2019, 1803 Bytes) of package /linux/misc/openssl-1.1.1b.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Generic config files source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "01-simple.conf": 1.1.0i_vs_1.1.1.

    1 # Generated with generate_ssl_tests.pl
    2 
    3 num_tests = 3
    4 
    5 test-0 = 0-default
    6 test-1 = 1-Server signature algorithms bug
    7 test-2 = 2-verify-cert
    8 # ===========================================================
    9 
   10 [0-default]
   11 ssl_conf = 0-default-ssl
   12 
   13 [0-default-ssl]
   14 server = 0-default-server
   15 client = 0-default-client
   16 
   17 [0-default-server]
   18 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
   19 CipherString = DEFAULT
   20 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
   21 
   22 [0-default-client]
   23 CipherString = DEFAULT
   24 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
   25 VerifyMode = Peer
   26 
   27 [test-0]
   28 ExpectedResult = Success
   29 
   30 
   31 # ===========================================================
   32 
   33 [1-Server signature algorithms bug]
   34 ssl_conf = 1-Server signature algorithms bug-ssl
   35 
   36 [1-Server signature algorithms bug-ssl]
   37 server = 1-Server signature algorithms bug-server
   38 client = 1-Server signature algorithms bug-client
   39 
   40 [1-Server signature algorithms bug-server]
   41 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
   42 CipherString = DEFAULT
   43 ClientSignatureAlgorithms = PSS+SHA512:RSA+SHA512
   44 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
   45 
   46 [1-Server signature algorithms bug-client]
   47 CipherString = DEFAULT
   48 SignatureAlgorithms = PSS+SHA256:RSA+SHA256
   49 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
   50 VerifyMode = Peer
   51 
   52 [test-1]
   53 ExpectedResult = Success
   54 
   55 
   56 # ===========================================================
   57 
   58 [2-verify-cert]
   59 ssl_conf = 2-verify-cert-ssl
   60 
   61 [2-verify-cert-ssl]
   62 server = 2-verify-cert-server
   63 client = 2-verify-cert-client
   64 
   65 [2-verify-cert-server]
   66 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
   67 CipherString = DEFAULT
   68 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
   69 
   70 [2-verify-cert-client]
   71 CipherString = DEFAULT
   72 VerifyMode = Peer
   73 
   74 [test-2]
   75 ExpectedClientAlert = UnknownCA
   76 ExpectedResult = ClientFail
   77 
   78