Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

Commit

Permalink
The VERIFY_NONE situation is grossly overstated
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri committed Sep 14, 2013
1 parent 6b9ecf0 commit 681eb45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/reel/ssl_server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ def initialize(host, port, options = {}, &callback)
ssl_context.cert = OpenSSL::X509::Certificate.new options.fetch(:cert)
ssl_context.key = OpenSSL::PKey::RSA.new options.fetch(:key)

# FIXME: VERY VERY VERY VERY BAD RELEASE BLOCKER BAD
# We don't presently support verifying client certificates
# TODO: support client certificates!
ssl_context.verify_mode = OpenSSL::SSL::VERIFY_NONE

@tcpserver = Celluloid::IO::TCPServer.new(host, port)
Expand Down

0 comments on commit 681eb45

Please sign in to comment.