streadway / amqp

Go client for AMQP 0.9.1
http://godoc.org/github.com/streadway/amqp
BSD 2-Clause "Simplified" License
4.85k stars 620 forks source link

tls problem #533

Open nzubarev122 opened 1 year ago

nzubarev122 commented 1 year ago

Hello.

https://go.dev/play/p/cuOKquzMu7K 2022/10/11 19:50:50 Failed to connect to RabbitMQ: x509: certificate signed by unknown authority exit status 1

Please help. tell me how to connect a certificate in this code so that you can contact the rabbit server with an example?