# create RSA certs - Server

RANDFILE = ssl.rnd

[ req ]
default_bits = 4096
encrypt_key = yes
distinguished_name = req_dn
x509_extensions = cert_type

[ req_dn ]
countryName = Country Name
countryName_default             = US
countryName_min                 = 2
countryName_max                 = 2

stateOrProvinceName             = State/Province
stateOrProvinceName_default     = New York

localityName                    = Locality Name (eg, city)

0.organizationName              = Organization Name (eg, company)
0.organizationName_default      = IRC geeks

organizationalUnitName          = Organizational Unit Name (eg, section)
organizationalUnitName_default  = IRCd  

0.commonName                    = Common Name (Full domain of your server)
1.commonName_value              = localhost

[ cert_type ]
nsCertType = server

