Rancher secrets. VAULT_SKIP_VERIFY doesn't work

Hello,

I’m trying to configure Rancher secrets. I use Vault with self-signed certs.

When I use the vault command with the environment variable VAULT_SKIP_VERIFY=true works fine. But rancher server doesn’t work with this environment variable.

I launch Rancher server with this command:
sudo docker run -d --restart=unless-stopped -e VAULT_ADDR=https://10.36.156.168:8200 -e VAULT_TOKEN=xxxxxxxx-xxxxxx-xxxxxxxx -e VAULT_SKIP_VERIFY=true -p 8080:8080 --dns 10.36.11.238 rancher/server:v1.4.0 --db-host mysql.hsap.sacyl.es

I tried with:

  • VAULT_SKIP_VERIFY=true
  • VAULT_SKIP_VERIFY=True
  • VAULT_SKIP_VERIFY=“true”
  • VAULT_SKIP_VERIFY=“True”

But the same error…

I launch correctly Rancher server?