-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcouchdb-ssl.json
32 lines (32 loc) · 1000 Bytes
/
couchdb-ssl.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"name": "couchdb-ssl",
"description": "Configure couchdb with SSL. Requires certificate cookbook and data bag",
"json_class": "Chef::Role",
"run_list": [
"recipe[certificate::manage_by_attributes]"
],
"default_attributes": {
"couch_db": {
"config": {
"daemons": {
"httpsd": "{couch_httpd, start_link, [https]}"
},
"ssl": {
"cert_file": "/etc/ssl/couchdb/certs/couchdb.pem",
"key_file": "/etc/ssl/couchdb/private/couchdb.key",
"password": "pentester",
"port": 6984
}
}
},
"certificate": [{
"couchdb": {
"cert_path": "/etc/ssl/couchdb",
"cert_file": "couchdb.pem",
"key_file": "couchdb.key",
"owner": "couchdb",
"group": "couchdb"
}
}]
}
}