@@ -8,7 +8,7 @@ Puppet nsstools Module
8
8
1 . [ Overview] ( #overview )
9
9
2 . [ Description] ( #description )
10
10
3 . [ Usage] ( #usage )
11
- * [ _ Security Considerations _ ] ( #security_considerations )
11
+ * [ __ Security Considerations __ ] ( #security_considerations )
12
12
* [ Classes] ( #classes )
13
13
* [ Types] ( #types )
14
14
* [ Functions] ( #functions )
@@ -38,7 +38,7 @@ Tools](https://developer.mozilla.org/en-US/docs/NSS/tools) and
38
38
The latter is some what ironically required as although the NSS suite is
39
39
intended to be used in place of OpenSSL, it mandates the usage of
40
40
[ ` PKCS#12 ` ] ( https://en.wikipedia.org/wiki/PKCS_12 ) format files for certain
41
- operations. This is unfortunate is it appears to provide no utility for
41
+ operations. This is unfortunate as it appears to provide no utility for
42
42
converting between the ASCII
43
43
[ ` .pem ` ] ( https://serverfault.com/questions/9708/what-is-a-pem-file-and-how-does-it-differ-from-other-openssl-generated-key-file )
44
44
format popular for X.509 certificates and ` PKCS#12 ` . Thus, OpenSSL is required
@@ -53,7 +53,7 @@ database.
53
53
Usage
54
54
-----
55
55
56
- ## _ Security Considerations _
56
+ ## __ Security Considerations __
57
57
58
58
This module creates an on-disk file in the path of the NSS database named
59
59
` nss-password.txt ` . This file contains the password used to encrypt private
@@ -76,28 +76,28 @@ nsstools::create { '/etc/dirsrv/slapd-ldap1':
76
76
}
77
77
78
78
nsstools::add_cert_and_key{ 'Server-Cert':
79
- certdir => '/etc/dirsrv/slapd-ldap1',
80
- cert => '/tmp/foo.pem',
81
- key => '/tmp/foo.key',
79
+ certdir => '/etc/dirsrv/slapd-ldap1',
80
+ cert => '/tmp/foo.pem',
81
+ key => '/tmp/foo.key',
82
82
}
83
83
84
84
nsstools::add_cert { 'AlphaSSL CA':
85
- certdir => '/etc/dirsrv/slapd-ldap1',
86
- cert => '/tmp/alphassl_intermediate.pem',
85
+ certdir => '/etc/dirsrv/slapd-ldap1',
86
+ cert => '/tmp/alphassl_intermediate.pem',
87
87
}
88
88
89
89
nsstools::add_cert { 'GlobalSign Root CA':
90
- certdir => '/etc/dirsrv/slapd-ldap1',
91
- cert => '/tmp/globalsign_root.pem',
90
+ certdir => '/etc/dirsrv/slapd-ldap1',
91
+ cert => '/tmp/globalsign_root.pem',
92
92
}
93
93
```
94
94
95
95
## Classes
96
96
97
97
### ` nsstools `
98
98
99
- This class is required by all of this modules types. It owns installation of
100
- the ` nss-tools ` package.
99
+ This class is required by all of this module's types. It " owns" installation
100
+ of the ` nss-tools ` package.
101
101
102
102
``` puppet
103
103
# defaults
@@ -106,7 +106,7 @@ class { 'nsstools':
106
106
}
107
107
```
108
108
109
- * ` require\_openssl `
109
+ * ` require_openssl `
110
110
111
111
` Bool ` . Defaults to: ` true `
112
112
@@ -141,7 +141,7 @@ nsstools::create { <title>:
141
141
` String ` Required
142
142
143
143
Password to set on the database. There are
144
- [ _ Security Considerations _ ] ( #security_considerations ) to be aware of with
144
+ [ __ Security Considerations __ ] ( #security_considerations ) to be aware of with
145
145
this parameter.
146
146
147
147
* ` certdir `
@@ -170,11 +170,11 @@ nsstools::create { <title>:
170
170
171
171
` String ` Defaults to: ` 0600 `
172
172
173
- * ` certdir\_mode `
173
+ * ` certdir_mode `
174
174
175
175
` String ` Defaults to: ` 0700 `
176
176
177
- ### ` add\_cert `
177
+ ### ` add_cert `
178
178
179
179
Insert a certificate into an existing NSS database.
180
180
@@ -215,7 +215,7 @@ nsstools::add_cert { <title>:
215
215
216
216
The certificate trust attributes in the database.
217
217
218
- ### ` add\_cert\_and\_key `
218
+ ### ` add_cert_and_key `
219
219
220
220
Insert a certificate and it's associated private key an existing NSS database.
221
221
@@ -259,7 +259,7 @@ nsstools::add_cert_and_key { <title>:
259
259
260
260
## Functions
261
261
262
- ### ` nsstools\_add\_cert `
262
+ ### ` nsstools_add_cert `
263
263
264
264
Iterates over a hash of cert nickname/path pairs (key/value) and creates
265
265
nsstools::add_cert resources.
0 commit comments