class LavinMQ::SNIHost

Overview

Configuration for a specific SNI hostname

Defined in:

lavinmq/sni_config.cr

Constant Summary

Log = LavinMQ::Log.for("sni")

Constructors

Instance Method Summary

Constructor Detail

def self.new(hostname : String) #

[View source]

Instance Method Detail

def amqp_tls_ca_cert : String | Nil #

[View source]
def amqp_tls_ca_cert=(amqp_tls_ca_cert : String | Nil) #

[View source]
def amqp_tls_cert : String | Nil #

AMQP-specific overrides (nil/empty means use the default)


[View source]
def amqp_tls_cert=(amqp_tls_cert : String | Nil) #

AMQP-specific overrides (nil/empty means use the default)


[View source]
def amqp_tls_ciphers : String | Nil #

[View source]
def amqp_tls_ciphers=(amqp_tls_ciphers : String | Nil) #

[View source]
def amqp_tls_context : OpenSSL::SSL::Context::Server #

Get or create the TLS context for AMQP


[View source]
def amqp_tls_key : String | Nil #

[View source]
def amqp_tls_key=(amqp_tls_key : String | Nil) #

[View source]
def amqp_tls_keylog_file : String | Nil #

[View source]
def amqp_tls_keylog_file=(amqp_tls_keylog_file : String | Nil) #

[View source]
def amqp_tls_min_version : String | Nil #

[View source]
def amqp_tls_min_version=(amqp_tls_min_version : String | Nil) #

[View source]
def amqp_tls_verify_peer : Bool | Nil #

[View source]
def amqp_tls_verify_peer=(amqp_tls_verify_peer : Bool | Nil) #

[View source]
def hostname : String #

[View source]
def hostname=(hostname : String) #

[View source]
def http_tls_ca_cert : String | Nil #

[View source]
def http_tls_ca_cert=(http_tls_ca_cert : String | Nil) #

[View source]
def http_tls_cert : String | Nil #

HTTP-specific overrides (nil/empty means use the default)


[View source]
def http_tls_cert=(http_tls_cert : String | Nil) #

HTTP-specific overrides (nil/empty means use the default)


[View source]
def http_tls_ciphers : String | Nil #

[View source]
def http_tls_ciphers=(http_tls_ciphers : String | Nil) #

[View source]
def http_tls_context : OpenSSL::SSL::Context::Server #

Get or create the TLS context for HTTP


[View source]
def http_tls_key : String | Nil #

[View source]
def http_tls_key=(http_tls_key : String | Nil) #

[View source]
def http_tls_keylog_file : String | Nil #

[View source]
def http_tls_keylog_file=(http_tls_keylog_file : String | Nil) #

[View source]
def http_tls_min_version : String | Nil #

[View source]
def http_tls_min_version=(http_tls_min_version : String | Nil) #

[View source]
def http_tls_verify_peer : Bool | Nil #

[View source]
def http_tls_verify_peer=(http_tls_verify_peer : Bool | Nil) #

[View source]
def mqtt_tls_ca_cert : String | Nil #

[View source]
def mqtt_tls_ca_cert=(mqtt_tls_ca_cert : String | Nil) #

[View source]
def mqtt_tls_cert : String | Nil #

MQTT-specific overrides (nil/empty means use the default)


[View source]
def mqtt_tls_cert=(mqtt_tls_cert : String | Nil) #

MQTT-specific overrides (nil/empty means use the default)


[View source]
def mqtt_tls_ciphers : String | Nil #

[View source]
def mqtt_tls_ciphers=(mqtt_tls_ciphers : String | Nil) #

[View source]
def mqtt_tls_context : OpenSSL::SSL::Context::Server #

Get or create the TLS context for MQTT


[View source]
def mqtt_tls_key : String | Nil #

[View source]
def mqtt_tls_key=(mqtt_tls_key : String | Nil) #

[View source]
def mqtt_tls_keylog_file : String | Nil #

[View source]
def mqtt_tls_keylog_file=(mqtt_tls_keylog_file : String | Nil) #

[View source]
def mqtt_tls_min_version : String | Nil #

[View source]
def mqtt_tls_min_version=(mqtt_tls_min_version : String | Nil) #

[View source]
def mqtt_tls_verify_peer : Bool | Nil #

[View source]
def mqtt_tls_verify_peer=(mqtt_tls_verify_peer : Bool | Nil) #

[View source]
def reload #

Reload the TLS contexts (e.g., on SIGHUP)


[View source]
def tls_ca_cert : String #

[View source]
def tls_ca_cert=(tls_ca_cert : String) #

[View source]
def tls_cert : String #

Default TLS settings (used by all protocols unless overridden)


[View source]
def tls_cert=(tls_cert : String) #

Default TLS settings (used by all protocols unless overridden)


[View source]
def tls_ciphers : String #

[View source]
def tls_ciphers=(tls_ciphers : String) #

[View source]
def tls_key : String #

[View source]
def tls_key=(tls_key : String) #

[View source]
def tls_keylog_file : String #

[View source]
def tls_keylog_file=(tls_keylog_file : String) #

[View source]
def tls_min_version : String #

[View source]
def tls_min_version=(tls_min_version : String) #

[View source]
def tls_verify_peer=(tls_verify_peer : Bool) #

[View source]
def tls_verify_peer? : Bool #

[View source]