Hi,
I have tried to enable rabbitmq secret engine. But i am facing a problem. When i tried communicate with RabbitMQ on vault, i see the following error:
- failed to validate the connection: Get “https://rabint.abc.gov.tr:15671/api/users/”: x509: certificate relies on legacy Common Name field, use SANs instead
my certificate: *.abc.gov.tr (X509v3 Subject Alternative Name: DNS: *.abc.gov.tr, DNS:abc.gov.tr)
rabbitmq certificate: rabint.abc.gov.tr
my credential configuration:
vault write rabbitmq/config/connection
verify_connection=true
username_template=“vault-{{.RoleName}}-{{unix_time}}-{{random 8}}”
connection_uri=“https://rabint.abc.gov.tr:15671”
username=“xxxx”
password=“yyyy”
When I use the Vault 1.8.0 image, The problem is solved when I define “GODEBUG=x509ignoreCN=0” in environment but, when i use Vault 1.9.4 image Even if I do this solution it keeps giving the same error.
How can I bypass this error? Could you help me?