diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2017-08-10 16:45:31 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2017-08-10 16:48:18 +0100 |
commit | 1aee92bf0f3fe243192fb5440f7c9789d5a08c67 (patch) | |
tree | 3eadf0205b915dbc331b0d2fec843973e678d857 /test/smime-certs | |
parent | f50b5f37a328d354b6e1d5ac44a352ef8c3d90c8 (diff) | |
download | openssl-1aee92bf0f3fe243192fb5440f7c9789d5a08c67.tar.gz |
Add alternative CMS P-256 cert
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4134)
Diffstat (limited to 'test/smime-certs')
-rw-r--r-- | test/smime-certs/mksmime-certs.sh | 4 | ||||
-rw-r--r-- | test/smime-certs/smec3.pem | 22 |
2 files changed, 26 insertions, 0 deletions
diff --git a/test/smime-certs/mksmime-certs.sh b/test/smime-certs/mksmime-certs.sh index 89963ecf2c..c98e164b18 100644 --- a/test/smime-certs/mksmime-certs.sh +++ b/test/smime-certs/mksmime-certs.sh @@ -64,6 +64,10 @@ CN="Test S/MIME EE EC #2" $OPENSSL req -config ca.cnf -nodes \ -keyout smec2.pem -out req.pem -newkey ec:ecp2.pem $OPENSSL x509 -req -in req.pem -CA smroot.pem -days 3600 \ -extfile ca.cnf -extensions usr_cert -CAcreateserial >>smec2.pem +CN="Test S/MIME EE EC #3" $OPENSSL req -config ca.cnf -nodes \ + -keyout smec3.pem -out req.pem -newkey ec:ecp.pem +$OPENSSL x509 -req -in req.pem -CA smroot.pem -days 3600 \ + -extfile ca.cnf -extensions usr_cert -CAcreateserial >>smec3.pem # Create X9.42 DH parameters. $OPENSSL genpkey -genparam -algorithm DH -pkeyopt dh_paramgen_type:2 \ -out dhp.pem diff --git a/test/smime-certs/smec3.pem b/test/smime-certs/smec3.pem new file mode 100644 index 0000000000..90eac867d0 --- /dev/null +++ b/test/smime-certs/smec3.pem @@ -0,0 +1,22 @@ +-----BEGIN PRIVATE K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