123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- [ ca ]
- default_ca = CA_default
- [ CA_default ]
- dir = sample-ca
- certs = $dir
- crl_dir = $dir
- database = $dir/index.txt
- new_certs_dir = $dir
- certificate = $dir/ca.crt
- serial = $dir/serial
- crl = $dir/crl.pem
- private_key = $dir/ca.key
- RANDFILE = $dir/.rand
- x509_extensions = basic_exts
- crl_extensions = crl_ext
- default_days = 3650
- default_crl_days= 30
- default_md = sha256
- preserve = no
- policy = policy_anything
- [ policy_anything ]
- countryName = optional
- stateOrProvinceName = optional
- localityName = optional
- organizationName = optional
- organizationalUnitName = optional
- commonName = supplied
- name = optional
- emailAddress = optional
- [ req ]
- default_bits = 2048
- default_keyfile = privkey.pem
- default_md = sha256
- distinguished_name = cn_only
- x509_extensions = easyrsa_ca
- [ cn_only ]
- commonName = Common Name (eg: your user, host, or server name)
- commonName_max = 64
- commonName_default = changeme
- [ org ]
- countryName = Country Name (2 letter code)
- countryName_default = KG
- countryName_min = 2
- countryName_max = 2
- stateOrProvinceName = State or Province Name (full name)
- stateOrProvinceName_default = NA
- localityName = Locality Name (eg, city)
- localityName_default = BISHKEK
- 0.organizationName = Organization Name (eg, company)
- 0.organizationName_default = OpenVPN-TEST
- organizationalUnitName = Organizational Unit Name (eg, section)
- organizationalUnitName_default =
- commonName = Common Name (eg: your user, host, or server name)
- commonName_max = 64
- commonName_default =
- emailAddress = Email Address
- emailAddress_default = me@myhost.mydomain
- emailAddress_max = 64
- [ basic_exts ]
- basicConstraints = CA:FALSE
- subjectKeyIdentifier = hash
- authorityKeyIdentifier = keyid,issuer:always
- [ easyrsa_ca ]
- subjectKeyIdentifier=hash
- authorityKeyIdentifier=keyid:always,issuer:always
- basicConstraints = CA:true
- keyUsage = cRLSign, keyCertSign
- [ crl_ext ]
- authorityKeyIdentifier=keyid:always,issuer:always
- [ server ]
- basicConstraints = CA:FALSE
- nsCertType = server
- nsComment = "OpenSSL Generated Server Certificate"
- subjectKeyIdentifier = hash
- authorityKeyIdentifier = keyid,issuer:always
- extendedKeyUsage = serverAuth
- keyUsage = digitalSignature, keyEncipherment
|