streadway / amqp

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

tls problem #533

Open nzubarev122 opened 2 years ago

nzubarev122 commented 2 years 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?