Skip to content

Instantly share code, notes, and snippets.

@zengxs
Created June 5, 2016 12:35
Show Gist options
  • Save zengxs/4cfc5be0c52457faefba16fff66f7144 to your computer and use it in GitHub Desktop.
Save zengxs/4cfc5be0c52457faefba16fff66f7144 to your computer and use it in GitHub Desktop.
libressl configuration file
[ req ]
#default_bits = 2048
#default_md = sha256
#default_keyfile = privkey.pem
distinguished_name = req_distinguished_name
attributes = req_attributes
[ req_distinguished_name ]
countryName = Country Name (2 letter code)
countryName_min = 2
countryName_max = 2
stateOrProvinceName = State or Province Name (full name)
localityName = Locality Name (eg, city)
0.organizationName = Organization Name (eg, company)
organizationalUnitName = Organizational Unit Name (eg, section)
commonName = Common Name (eg, fully qualified host name)
commonName_max = 64
emailAddress = Email Address
emailAddress_max = 64
[ req_attributes ]
challengePassword = A challenge password
challengePassword_min = 4
challengePassword_max = 20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment