commant update
parent
6eb33ae5ed
commit
5ac18e9156
|
@ -68,6 +68,14 @@ class Rex::Socket::Parameters
|
|||
#
|
||||
# A file containing an SSL certificate (for server sockets)
|
||||
#
|
||||
# [SSLCipher]
|
||||
#
|
||||
# Specify SSL cipher to use for context
|
||||
#
|
||||
# [SSLVerifyMode]
|
||||
#
|
||||
# Specify SSL cerificate verification mechanism
|
||||
#
|
||||
# [Proxies]
|
||||
#
|
||||
# List of proxies to use.
|
||||
|
@ -355,7 +363,11 @@ class Rex::Socket::Parameters
|
|||
#
|
||||
# The SSL certificate, in pem format, stored as a string. See +SslTcpServer#make_ssl+
|
||||
#
|
||||
attr_accessor :ssl_cert
|
||||
attr_accessor :ssl_certa
|
||||
#
|
||||
# The SSL context verification mechanism
|
||||
#
|
||||
attr_accessor :ssl_verify_mode
|
||||
#
|
||||
# Whether we should use IPv6
|
||||
#
|
||||
|
|
|
@ -72,7 +72,7 @@ begin
|
|||
self.sslctx = OpenSSL::SSL::SSLContext.new(version)
|
||||
|
||||
# Configure the SSL context
|
||||
# TODO: Allow the user to specify the verify mode and callback
|
||||
# TODO: Allow the user to specify the verify mode callback
|
||||
# Valid modes:
|
||||
# VERIFY_CLIENT_ONCE
|
||||
# VERIFY_FAIL_IF_NO_PEER_CERT
|
||||
|
|
Loading…
Reference in New Issue