I'm attempting to use self-signed certificates with my RabbitMQ server, and am using the amqps scheme, as opposed to amqp.DialTLS which as per docs say it does server, and host verification.
When using self-signed certificates, I get the error x509: certificate signed by unknown authority. Is this because I'm using the "zero value tls config"? If so, is the only way to solve this by providing a tls.Config and using amqp.DialTLS
I'm attempting to use self-signed certificates with my RabbitMQ server, and am using the
amqps
scheme, as opposed toamqp.DialTLS
which as per docs say it does server, and host verification.When using self-signed certificates, I get the error
x509: certificate signed by unknown authority
. Is this because I'm using the "zero value tls config"? If so, is the only way to solve this by providing atls.Config
and usingamqp.DialTLS