Debian lenny version packages
[pkg-perl] / deb-src / libnet-ssleay-perl / libnet-ssleay-perl-1.35 / examples / req.conf
1 # SSLeay config file for generating self signed certificate
2 # for testing Net::SSLeay.pm (see `make test' alias test.pl)
3 #
4 # 8.6.1998, Sampo Kellomaki <sampo@iki.fi>
5
6 ####################################################################
7 [ req ]
8 default_bits            = 1024
9 default_keyfile         = privkey.pem
10 distinguished_name      = req_distinguished_name
11 attributes              = req_attr
12 encrypt_rsa_key         = no
13  
14 [ req_distinguished_name ]
15 countryName             = Country Name (2 letter code)
16 countryName_min         = 2
17 countryName_max         = 2
18 countryName_default     = PT
19  
20 stateOrProvinceName     = State or Province Name (optional)
21  
22 localityName            = Locality Name (eg, city)
23 localityName_default    = Lisboa
24  
25 organizationName        = Organization Name (eg, company)
26  
27 organizationalUnitName  = Organizational Unit Name (eg, section)
28  
29 commonName              = Common Name (the name of your machine)
30 commonName_max          = 64
31  
32 emailAddress            = Email Address
33 emailAddress_max        = 40
34  
35 # Challenge password is used for delievering the cert (or what)???
36  
37 [ req_attr ]
38 challengePassword       = A challenge password
39 challengePassword_min   = 0
40 challengePassword_max   = 80
41  
42 #EOF