summaryrefslogtreecommitdiff
path: root/test/Uss.cnf
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-08-26 12:20:32 +0100
committerDr. Stephen Henson <steve@openssl.org>2015-09-02 21:22:44 +0100
commitcb0585c2cb5f3bdc7fe94cfcdc2cef6a9b2810c2 (patch)
tree9789c8cd81414385cebffc9024b5764bc2bc58da /test/Uss.cnf
parent0b58c6ad9e9651a83f2e25e98c76b1ee4fecaa03 (diff)
downloadopenssl-new-cb0585c2cb5f3bdc7fe94cfcdc2cef6a9b2810c2.tar.gz
Create DSA and ECDSA certificates.
If supported create DSA and ECDSA certificates and test them. Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'test/Uss.cnf')
-rw-r--r--test/Uss.cnf33
1 files changed, 19 insertions, 14 deletions
diff --git a/test/Uss.cnf b/test/Uss.cnf
index 58ac0ca54d..f655e7448d 100644
--- a/test/Uss.cnf
+++ b/test/Uss.cnf
@@ -4,6 +4,7 @@
#
RANDFILE = ./.rnd
+CN2 = Brother 2
####################################################################
[ req ]
@@ -11,26 +12,30 @@ default_bits = 2048
default_keyfile = keySS.pem
distinguished_name = req_distinguished_name
encrypt_rsa_key = no
-default_md = sha256
+default_md = sha256
+prompt = no
[ req_distinguished_name ]
-countryName = Country Name (2 letter code)
-countryName_default = AU
-countryName_value = AU
-
-organizationName = Organization Name (eg, company)
-organizationName_value = Dodgy Brothers
-
-0.commonName = Common Name (eg, YOUR name)
-0.commonName_value = Brother 1
-
-1.commonName = Common Name (eg, YOUR name)
-1.commonName_value = Brother 2
+countryName = AU
+organizationName = Dodgy Brothers
+0.commonName = Brother 1
+1.commonName = $ENV::CN2
[ v3_ee ]
subjectKeyIdentifier=hash
authorityKeyIdentifier=keyid,issuer:always
basicConstraints = CA:false
keyUsage = nonRepudiation, digitalSignature, keyEncipherment
-issuerAltName=issuer:copy
+
+[ v3_ee_dsa ]
+subjectKeyIdentifier=hash
+authorityKeyIdentifier=keyid:always
+basicConstraints = CA:false
+keyUsage = nonRepudiation, digitalSignature
+
+[ v3_ee_ec ]
+subjectKeyIdentifier=hash
+authorityKeyIdentifier=keyid:always
+basicConstraints = CA:false
+keyUsage = nonRepudiation, digitalSignature, keyAgreement