rabbitmq / rabbitmq-erlang-client

Erlang client for RabbitMQ
https://www.rabbitmq.com/
Other
184 stars 127 forks source link

Support OTP 20's server_name_indication parameter #94

Closed lukebakken closed 6 years ago

lukebakken commented 6 years ago

[152879230]

verify will be set to verify_peer by default, which will ensure that x509 certificates are validated during AMQPS connection establishment. It will be up to the user to opt-out of this.

server_name_indication is now always set to the host value of an amqps URI. It will be up to the user to opt-out of this.

Also see https://groups.google.com/forum/#!topic/rabbitmq-users/igSfZeRfC2k

michaelklishin commented 6 years ago

I think this is a decent start. We can make the value overridable when enough people ask.