Skip to content

Commit

Permalink
disable TLS hostname check
Browse files Browse the repository at this point in the history
  • Loading branch information
nsaadouni committed May 16, 2019
1 parent 22b92dc commit aa2cc86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/riak_core_ssl_util.erl
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ maybe_use_ssl(App) ->
{App, get_my_common_name(app_helper:get_env(App, certfile,
undefined))}}},
{verify, verify_peer},
{server_name_indication, disable},
{fail_if_no_peer_cert, true},
{secure_renegotiate, true} %% both sides are erlang, so we can force this
],
Expand Down

0 comments on commit aa2cc86

Please sign in to comment.