aboutsummaryrefslogtreecommitdiff
path: root/test/recipes/80-test_ca.t
AgeCommit message (Collapse)AuthorFilesLines
2018-12-06Following the license change, modify the boilerplates in test/Richard Levitte1-1/+1
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/7767)
2017-08-22Add random serial# support.Rich Salz1-1/+1
Add -rand_serial to CA command and "serial_rand" config option. Up RAND_BITS to 159, and comment why: now confirms to CABForum guidelines (Ballot 164) as well as IETF RFC 5280 (PKIX). Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4185)
2017-08-03recipes/80-test_ca.t: make it work with spaces in pathnames.Andy Polyakov1-1/+1
Reviewed-by: Richard Levitte <levitte@openssl.org>
2017-03-02-precert doesn't work when configured no-ct, don't try to test it thenRichard Levitte1-0/+4
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2827)
2017-03-02Fix the skip numbers in 80-test_ca.tRichard Levitte1-3/+3
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2827)
2017-02-22Change CA.pl flag from --newprecert to --precertRob Percival1-1/+1
Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/843)
2017-02-22Basic test for "openssl req -precert" via apps/CA.plRob Percival1-1/+5
TODO(robpercival): Should actually test that the output certificate contains the poison extension. Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/843)
2016-10-13Fix copy-paste test labelsFdaSilvaYY1-2/+2
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-06-04Have some more test recipes clean up after themselvesRichard Levitte1-1/+1
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-05-27make sure to put quotes around -config argument, in case of spacesRichard Levitte1-3/+3
RT#4486 Reviewed-by: Matt Caswell <matt@openssl.org>
2016-04-22Unified copyright for test recipesRich Salz1-1/+8
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-02Adapt some test recipes to the newer cmdstr()Richard Levitte1-1/+1
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-30Since OpenSSL::Test redirects stderr to /dev/null, don't do so in 80-test_ca.tRichard Levitte1-4/+4
Since OpenSSL::Test only redirects stderr to /dev/null when being run through non-verbose test harness, this change allows the stderr output to be displayed when verbosity is requested. Reviewed-by: Emilia Käsper <emilia@openssl.org>
2016-02-23test/recipes/80-test_ca.t: remove_tree->rmtree to make it work with Perl 5.10.Andy Polyakov1-3/+3
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-02-09unified build scheme: adjust test framework for out of source build treeRichard Levitte1-5/+6
To be able to run tests when we've built in a directory other than the source tree, the testing framework needs a few adjustments. test/testlib/OpenSSL/Test.pm needs to know where it can find shlib_wrap.sh, and a number of other tests need to be told a different place to find engines than what they may be able to figure out on their own. Relying to $TOP is not enough, $SRCTOP and $BLDTOP can be used as an alternative. As part of this change, top_file and top_dir are removed and srctop_file, bldtop_file, srctop_dir and bldtop_dir take their place. Reviewed-by: Ben Laurie <ben@openssl.org>
2016-01-2680-test_ca.t is made to use the new perlapp()Richard Levitte1-11/+6
Reviewed-by: Matt Caswell <matt@openssl.org>
2016-01-13Fix test/recipes/80-test_ca.t to work on VMSRichard Levitte1-2/+4
VMS uses a variant of openssl.cnf named openssl-vms.cnf. There's a Perl on VMS mystery where a open pipe will not SIGPIPE when the child process exits, which means that a loop sending "y\n" to it will never stop. Adding a counter helps fix this (set to 10, we know that none of the CA.pl commands will require more). Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-10-30Replace "SSLeay" in API with OpenSSLRich Salz1-3/+3
All instances of SSLeay (any combination of case) were replaced with the case-equivalent OpenSSL. Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-09-07Make sure that 80-test_ca.t finds all the config filesRichard Levitte1-2/+2
This recipe counted too much on being called with test/ as its current working directory. That's a mistake on, for example, Windows. Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-09-07Change OpenSSL::Test to be an extension of Test::MoreRichard Levitte1-1/+0
It became tedious as well as error prone to have all recipes use Test::More as well as OpenSSL::Test. The easier way is to make OpenSSL::Test an extension of Test::More, thereby having all version checks as well as future checks firmly there. Additionally, that allows us to extend existing Test::More functions if the need would arise. Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-09-07Add version numbers on some modules we use.Richard Levitte1-2/+2
Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-09-07Add recipes for the larger protocolsRichard Levitte1-0/+55
This covers the certificate authority commands, the cms and smime commands, OCSP, SSL and TSA. Reviewed-by: Rich Salz <rsalz@openssl.org>