A few hours ago I replied to the same question you posted previously. See https://github.com/pivotal-cf/pivotalone-rabbit/blob/84f1ec32292a4a11b635993cd24cbb159e247951/src/rabbitmq_gateway/spec/unit/tls_helper_spec.rb Matthias.