Cannot connect to TLS RabbitMQ

I want to create a connection with RabbitMQ on port 15671 as I’m having TLS enabled.

When trying to connect to it with:

vault write rabbitmq/config/connection connection_uri=https://rabbitmq.rabbit-ns.svc:15671 username=user password=pass verify_connection=true

I’m receiving:

x509: certificate signed by unknown authority (possibly because of "x509: invalid signature: parent certificate cannot sign this kind of certificate" while trying to verify candidate authority certificate "serial:238459448916125777477280450783641236242"

How I can manage this issue?