X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=test%2FUss.cnf;h=f655e7448dc6c35e34a62b94d794e88c3bbec8d2;hp=c89692d5199c32e1ff74c59853175e868b00f7b3;hb=cb0585c2cb5f3bdc7fe94cfcdc2cef6a9b2810c2;hpb=7dfb0b774e6592dcbfe47015168a0ac8b44e2a17 diff --git a/test/Uss.cnf b/test/Uss.cnf index c89692d519..f655e7448d 100644 --- a/test/Uss.cnf +++ b/test/Uss.cnf @@ -4,25 +4,38 @@ # RANDFILE = ./.rnd +CN2 = Brother 2 #################################################################### [ req ] -default_bits = 512 +default_bits = 2048 default_keyfile = keySS.pem distinguished_name = req_distinguished_name encrypt_rsa_key = no -default_md = md2 +default_md = sha256 +prompt = no [ req_distinguished_name ] -countryName = Country Name (2 letter code) -countryName_default = AU -countryName_value = AU +countryName = AU +organizationName = Dodgy Brothers +0.commonName = Brother 1 +1.commonName = $ENV::CN2 -organizationName = Organization Name (eg, company) -organizationName_value = Dodgy Brothers +[ v3_ee ] +subjectKeyIdentifier=hash +authorityKeyIdentifier=keyid,issuer:always +basicConstraints = CA:false +keyUsage = nonRepudiation, digitalSignature, keyEncipherment -0.commonName = Common Name (eg, YOUR name) -0.commonName_value = Brother 1 +[ 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 -1.commonName = Common Name (eg, YOUR name) -1.commonName_value = Brother 2