Class | GELF::Transport::TCPTLS |
In: |
lib/gelf/transport/tcp_tls.rb
|
Parent: | TCP |
Provides encryption capabilities for TCP connections
rescue_ssl_errors | [RW] |
Supported tls_options:
'no_default_ca' [Boolean] prevents OpenSSL from using the systems CA store. 'version' [Symbol] any of :TLSv1, :TLSv1_1, :TLSv1_2 (default) 'ca' [String] the path to a custom CA store 'cert' [String, IO] the client certificate file 'key' [String, IO] the key for the client certificate 'all_ciphers' [Boolean] allows any ciphers to be used, may be insecure 'rescue_ssl_errors' [Boolean] similar to rescue_network_errors in notifier.rb, allows SSL exceptions to be raised 'no_verify' [Boolean] disable peer verification |
checks whether {resource} is a filename and tries to read it otherwise treats it as if it already contains certificate/key data
Ciphers have to come from the CipherString class, specifically the TXT constants here - github.com/jruby/jruby-openssl/blob/master/src/main/java/org/jruby/ext/openssl/CipherStrings.java#L47-L178