Index: reposman.rb =================================================================== --- reposman.rb (revision 1929) +++ reposman.rb (working copy) @@ -59,6 +59,15 @@ require 'find' require 'etc' +class Net::HTTP + alias_method :old_initialize, :initialize + def initialize(*args) + old_initialize(*args) + @ssl_context = OpenSSL::SSL::SSLContext.new + @ssl_context.verify_mode = OpenSSL::SSL::VERIFY_NONE + end +end + Version = "1.0" opts = GetoptLong.new(