2 # OpenSSL configuration file to create apps directory certificates
5 # This definition stops the following lines choking if HOME or CN
8 RANDFILE = $ENV::HOME/.rnd
11 ####################################################################
14 default_keyfile = privkey.pem
15 # Don't prompt for fields: use those in section directly
17 distinguished_name = req_distinguished_name
18 x509_extensions = v3_ca # The extentions to add to the self signed cert
19 string_mask = utf8only
21 # req_extensions = v3_req # The extensions to add to a certificate request
23 [ req_distinguished_name ]
26 organizationName = OpenSSL Group
27 organizationalUnitName = FOR TESTING PURPOSES ONLY
28 # Take CN from environment so it can come from a script.
33 # These extensions are added when 'ca' signs a request for an end entity
36 basicConstraints=critical, CA:FALSE
37 keyUsage=critical, nonRepudiation, digitalSignature, keyEncipherment
39 # This will be displayed in Netscape's comment listbox.
40 nsComment = "OpenSSL Generated Certificate"
42 # PKIX recommendations harmless if included in all certificates.
43 subjectKeyIdentifier=hash
44 authorityKeyIdentifier=keyid
49 # Extensions for a typical CA
51 # PKIX recommendation.
53 subjectKeyIdentifier=hash
54 authorityKeyIdentifier=keyid:always
55 basicConstraints = critical,CA:true
56 keyUsage = critical, cRLSign, keyCertSign