Statistics
| Revision:

root / btoy / trunk / utils / mini-httpd-1.19 / mini_httpd.cnf @ 55

History | View | Annotate | Download (1.1 KB)

1
# create RSA certs - Server
2
3
RANDFILE = mini_httpd.rnd
4
5
[ req ]
6
default_bits = 1024
7
encrypt_key = yes
8
distinguished_name = req_dn
9
x509_extensions = cert_type
10
11
[ req_dn ]
12
countryName = Country Name (2 letter code)
13
countryName_default             = PL
14
countryName_min                 = 2
15
countryName_max                 = 2
16
17
stateOrProvinceName             = State or Province Name (full name)
18
stateOrProvinceName_default     = Some-State
19
20
localityName                    = Locality Name (eg, city)
21
22
0.organizationName              = Organization Name (eg, company)
23
0.organizationName_default      = Mini Webservice Ltd
24
25
organizationalUnitName          = Organizational Unit Name (eg, section)
26
#organizationalUnitName_default =
27
28
0.commonName                    = Common Name (FQDN of your server)
29
30
# To create a certificate for more than one name uncomment:
31
# 1.commonName                  = DNS alias of your server
32
# 2.commonName                  = DNS alias of your server
33
# ...
34
# See http://home.netscape.com/eng/security/ssl_2.0_certificate.html
35
# too see how Netscape understands commonName.
36
37
[ cert_type ]
38
nsCertType = server
39