Make it possible to generate proxy certs with test/certs/mkcert.sh
authorRichard Levitte <levitte@openssl.org>
Sun, 19 Jun 2016 08:56:09 +0000 (10:56 +0200)
committerRichard Levitte <levitte@openssl.org>
Mon, 20 Jun 2016 19:34:37 +0000 (21:34 +0200)
commit71c8cd20852d43fa142ca3f6e89a33431c506baf
tree9ef5cd2a1dfb1680b9c2c2249c9bec03699a446c
parentd0ba7bc8a0d577c73b942a99faa266f392e7f211
Make it possible to generate proxy certs with test/certs/mkcert.sh

This extends 'req' to take more than one DN component, and to take
them as full DN components and not just CN values.  All other commands
are changed to pass "CN = $cn" instead of just a CN value.

This adds 'genpc', which differs from the other 'gen*' commands by not
calling 'req', and expect the result from 'req' to come through stdin.

Finally, test/certs/setup.sh gets the commands needed to generate a
few proxy certificates.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Stephen Henson <steve@openssl.org>
test/certs/mkcert.sh
test/certs/setup.sh