[ req ] # Options for the `req` tool (`man req`). default_bits = 4096 distinguished_name = req_distinguished_name string_mask = utf8only prompt = no # SHA-1 is deprecated, so use SHA-2 instead. [ v3_ca ] # Extensions for a typical CA (`man x509v3_config`). subjectKeyIdentifier = hash authorityKeyIdentifier = keyid:always,issuer basicConstraints = critical, CA:true keyUsage = critical, digitalSignature, cRLSign, keyCertSign default_md = sha512 [ req_distinguished_name ] C = SG ST = singapore O = company name OU = companyname Certificate Authority CN = hi Intermediate CA