📄 test.cnf
字号:
## SSLeay example configuration file.# This is mostly being used for generation of certificate requests.#RANDFILE = ./.rnd####################################################################[ ca ]default_ca = CA_default # The default ca section####################################################################[ CA_default ]dir = ./demoCA # Where everything is keptcerts = $dir/certs # Where the issued certs are keptcrl_dir = $dir/crl # Where the issued crl are keptdatabase = $dir/index.txt # database index file.new_certs_dir = $dir/new_certs # default place for new certs.certificate = $dir/CAcert.pem # The CA certificateserial = $dir/serial # The current serial numbercrl = $dir/crl.pem # The current CRLprivate_key = $dir/private/CAkey.pem# The private keyRANDFILE = $dir/private/.rand # private random number filedefault_days = 365 # how long to certify fordefault_crl_days= 30 # how long before next CRLdefault_md = md5 # which md to use.# A few difference way of specifying how similar the request should look# For type CA, the listed attributes must be the same, and the optional# and supplied fields are just that :-)policy = policy_match# For the CA policy[ policy_match ]countryName = matchstateOrProvinceName = matchorganizationName = matchorganizationalUnitName = optionalcommonName = suppliedemailAddress = optional# For the 'anything' policy# At this point in time, you must list all acceptable 'object'# types.[ policy_anything ]countryName = optionalstateOrProvinceName = optionallocalityName = optionalorganizationName = optionalorganizationalUnitName = optionalcommonName = suppliedemailAddress = optional####################################################################[ req ]default_bits = 512default_keyfile = testkey.pemdistinguished_name = req_distinguished_nameencrypt_rsa_key = no[ req_distinguished_name ]countryName = Country Name (2 letter code)countryName_default = AUcountryName_value = AUstateOrProvinceName = State or Province Name (full name)stateOrProvinceName_default = QueenslandstateOrProvinceName_value =localityName = Locality Name (eg, city)localityName_value = BrisbaneorganizationName = Organization Name (eg, company)organizationName_default = organizationName_value = CryptSoft Pty LtdorganizationalUnitName = Organizational Unit Name (eg, section)organizationalUnitName_default =organizationalUnitName_value = .commonName = Common Name (eg, YOUR name)commonName_value = Eric YoungemailAddress = Email AddressemailAddress_value = eay@mincom.oz.au
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -