[req] default_bits = 2048 distinguished_name = req_distinguished_name attributes = req_attributes x509_extensions = v3_ca prompt = no output_password = mypass [req_distinguished_name] C = US ST = Test State or Province L = Test Locality O = Organization Name OU = Organizational Unit Name CN = Root CA Name emailAddress = test@email.address [req_attributes] challengePassword = 1234 # Mark the root as a CA explicitly. Relying on the openssl version to emit a # v1 certificate (or CA:TRUE by default) breaks when the default changes. [v3_ca] basicConstraints = critical,CA:TRUE