Skip to content
Browse files

Added default SSL options to the env[:riak_core][:ssl] configuration …

…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...
1 parent 7f84389 commit 8fc7078ba300fe623136c1f86da2a992bc0ecc25 @nathanaschbacher committed Apr 3, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 lib/riak/node/defaults.rb
View
6 lib/riak/node/defaults.rb
@@ -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,

0 comments on commit 8fc7078

Please sign in to comment.
Something went wrong with that request. Please try again.