Skip to content

Commit

Permalink
Added default SSL options to the env[:riak_core][:ssl] configuration …
Browse files Browse the repository at this point in the history
…block. Technically this isn't required to make HTTPS work as Riak currently looks by default in the ./etc/ directory for the key and certificate files, but these should be exposed in the default generated app.config so the values can be tuned easily after node/cluster creation.
  • Loading branch information
nathanaschbacher committed Apr 3, 2012
1 parent 7f84389 commit 8fc7078
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/riak/node/defaults.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ class Node
# Settings based on Riak 1.1.
ENV_DEFAULTS = {
:riak_core => {
:ring_creation_size => 64
:ring_creation_size => 64,
:ssl => [
[Tuple[:certfile, "./etc/cert.pem"]],
[Tuple[:keyfile, "./etc/key.pem"]]
]
},
:riak_kv => {
:storage_backend => :riak_kv_bitcask_backend,
Expand Down

0 comments on commit 8fc7078

Please sign in to comment.