Bugfix. Chrome is a liar (chain certs properly)

bug/bundler_fix
HD Moore 2014-11-19 16:08:03 -06:00
parent 0d091f1c03
commit d530046164
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ module Rex::Socket::SslTcpServer
if pem =~ /PRIVATE KEY/
key = OpenSSL::PKey::RSA.new(pem)
elsif pem =~ /CERTIFICATE/
certs << OpenSSL::X509::Certificate.new(ssl_cert)
certs << OpenSSL::X509::Certificate.new(pem)
end
end