DRb::DRbSSLSocket::SSLConfig
SSLConfig handles the needed SSL information for establishing a DRbSSLSocket connection, including generating the X509 / RSA pair.
An instance of this config can be passed to DRbSSLSocket.new, DRbSSLSocket.open and DRbSSLSocket.open_server
See DRb::DRbSSLSocket::SSLConfig.new for more details
Constants
DEFAULT = {\n:SSLCertificate => nil,\n:SSLPrivateKey => nil,\n:SSLClientCA => nil,\n:SSLCACertificatePath => nil,\n:SSLCACertificateFile => nil,\n:SSLTmpDhCallback => nil,\n:SSLVerifyMode => ::OpenSSL::SSL::VERIFY_NONE,\n:SSLVerifyDepth => nil,\n:SSLVerifyCallback => nil, # custom verification\n:SSLCertificateStore => nil,\n# Must specify if you use auto generated certificate.\n:SSLCertName => nil, # e.g. [["CN","fqdn.example.com"]]\n:SSLCertComment => "Generated by Ruby/OpenSSL"\n}
Files
- lib/drb/ssl.rb