OpenSSL::SSL::SSLError: hostname "127.0.0.1" does not match the server certificate
context "initialized with tls: true" do
let(:subject) do
described_class.new(username: "bunny_gem",
password: "bunny_password",
vhost: "bunny_testbed",
tls: true,
tls_cert: "spec/tls/client_certificate.pem",
tls_key: "spec/tls/client_key.pem",
tls_ca_certificates: ["./spec/tls/ca_certificate.pem"])
end
it "uses TLS port" do
subject.start
expect(subject.port).to eq tls_port
end
end
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Another value you can override which will be machine-specific for the TLS suite:
https://github.com/ruby-amqp/bunny/blob/master/spec/higher_level_api/integration/tls_connection_spec.rb#L38.
On Wed, Dec 20, 2017 at 7:30 PM, Michael Klishin <mkli...@pivotal.io> wrote:
Please override https://github.com/ruby-amqp/bunny/blob/master/spec/higher_level_api/integration/tls_connection_spec.rb#L5 when testing
locally. The tests assume tls-gen's basic profile is used [1].
The Docker image should be modified to use that as well.
1. https://github.com/ruby-amqp/bunny/blob/master/spec/higher_level_api/integration/tls_connection_spec.rb#L5
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
--MKStaff Software Engineer, Pivotal/RabbitMQ
127.0.0.1 mercurio
environment:
BUNNY_RABBITMQ_HOSTNAME: mercurio
Hi,
Hi,
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.