rapid7/metasploit-framework — pull request #303 by schierlm (2012-04-04 20:53:52+00:00)
Title: Fix connection hangs when using java/meterpreter/reverse_https with ...

... recent Java versions

Reason is that Java thinks the SSL certificate presented by Metasploit is untrusted
and drops the connection; therefore add a hack similar to the one in the
metasploit.Payload class to trust all certificates.