1gencert(8) gencert(8)
2
3
4
6 gencert - Generate a test NSS database for mod_nss
7
8
10 gencert <destdir>
11
12
14 A tool used to generate a self-signed CA as well as server and user
15 certificates for mod_nss testing.
16
17 This is used to generate a default NSS database for the mod_nss Apache
18 module. It does not test to see if an existing database already exists,
19 so use with care.
20
21 gencert will generate a new NSS database with the password "httptest".
22
23 It generates a self-signed CA with the subject "CN=Certificate Shack,
24 O=example.com, C=US"
25
26 It also generates a certificate suitable for servers with the subject
27 "CN=<FQDN>, O=example.com, C=US", and a user certificate with the sub‐
28 ject "E=alpha@<FQDN>, CN=Frank Alpha, UID=alpha, OU=People, O=exam‐
29 ple.com, C=US".
30
31 The nicknames it uses are:
32
33 CA: cacert
34 Server certificate: Server-Cert
35 User cert: alpha
36
37
39 <destdir>
40 Specifies the destination directory where the NSS databases will
41 be created.
42
43
45 Report bugs to http://bugzilla.redhat.com.
46
47
49 Rob Crittenden <rcritten@redhat.com>.
50
51
53 Copyright (c) 2011 Red Hat, Inc. This is licensed under the Apache
54 License, Version 2.0 (the "License"); no one may use this file except
55 in compliance with the License. A copy of this license is available at
56 http://www.apache.org/licenses/LICENSE-2.0.
57
58 Unless required by applicable law or agreed to in writing, software
59 distributed under the License is distributed on an "AS IS" BASIS, WITH‐
60 OUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
61 See the License for the specific language governing permissions and
62 limitations under the License.
63
64
65
66Rob Crittenden Jul 1 2013 gencert(8)