Add support for hostname verification
jming422 opened this issue · comments
The RabbitMQ Java client provides the option for enabling hostname verification on connections using SSL/TLS by calling enableHostnameVerification
on the ConnectionFactory
after calling useSslProtocol
. Currently hostname verification doesn't seem to be available using Langohr.
It would be great if langohr.core/connect
could take another setting like :verify-hostname
, which, if non-nil, would add (.enableHostnameVerification)
to langhor.core/create-connection-factory here:
langohr/src/clojure/langohr/core.clj
Line 335 in 39e2627
Contributions are welcome.
@jming422 please take a look at master (e.g. the tls-test
suite).