lib/metasploit/aggregator/connection_manager.rb in metasploit-aggregator-0.2.0 vs lib/metasploit/aggregator/connection_manager.rb in metasploit-aggregator-0.2.1

- old
+ new

@@ -49,10 +49,10 @@ def ssl_parse_certificate(certificate) key, cert, chain = nil unless certificate.nil? begin # parse the cert - key = OpenSSL::PKey::RSA.new(certificate, "") + key = OpenSSL::PKey::RSA.new(certificate) cert = OpenSSL::X509::Certificate.new(certificate) # TODO: ensure this parses all certificate in object provided rescue OpenSSL::PKey::RSAError => e Logger.log(e.message) end