allow to verify ssl connections against a CA.
authorMatthias H <apoc@sixserv.org>
Wed, 18 Sep 2013 02:00:17 +0000 (04:00 +0200)
committerMatthias Hecker <apoc@sixserv.org>
Thu, 14 Nov 2013 12:32:47 +0000 (12:32 +0000)
commit85ee9672fce67d95bf8310af331a576f3492b863
treecfe5b649d04ac84bca3811a29a0443cfa0ccce32
parenta3fa2b3e2f962e1bb8dee7a99c8669bc60c52587
allow to verify ssl connections against a CA.

This adds three new configuration variables to configure
SSL verification against a CA.

server.ssl_verify: true if it should verify and disconnect
                   if it fails

server.ssl_ca_file: a CA file, is set to the systems CA
                    bundle by default (distri. dependent)

server.ssl_ca_path: alternativly path to a directory with
                    CA PEM files

I tested it and this seems no longer an issue with >= 1.9.3
https://www.braintreepayments.com/braintrust/sslsocket-verify_mode-doesnt-verify
lib/rbot/ircbot.rb
lib/rbot/ircsocket.rb