Fix a bug in the new PACKET implementation
[openssl.git] / test / CAss.cnf
index 0884fee36159c3fdba98084f49cbff30a3e1e7db..b4a7030c91d2e7084b6032e762a82afd44c4fadb 100644 (file)
@@ -7,7 +7,7 @@ RANDFILE                = ./.rnd
 
 ####################################################################
 [ req ]
-default_bits           = 512
+default_bits           = 2048
 default_keyfile        = keySS.pem
 distinguished_name     = req_distinguished_name
 encrypt_rsa_key                = no
@@ -45,7 +45,7 @@ crl           = $dir/crl.pem          # The current CRL
 private_key    = $dir/private/cakey.pem# The private key
 RANDFILE       = $dir/private/.rand    # private random number file
 
-x509_extensions        = v3_ca                 # The extentions to add to the cert
+x509_extensions        = v3_ca                 # The extensions to add to the cert
 
 name_opt       = ca_default            # Subject Name options
 cert_opt       = ca_default            # Certificate field options
@@ -71,4 +71,6 @@ emailAddress          = optional
 [ v3_ca ]
 subjectKeyIdentifier=hash
 authorityKeyIdentifier=keyid:always,issuer:always
-basicConstraints = CA:true
+basicConstraints = CA:true,pathlen:1
+keyUsage = cRLSign, keyCertSign
+issuerAltName=issuer:copy