Cannot validate certificate for because it doesn't contain any IP SANs

I received this error after first run:
Error listing secrets engines: Get “”: x509: cannot validate certificate for because it doesn’t contain any IP SANs

I cannot run vault command.
What may cause this?

The certificate you have defined in your server configuration on your vault server doesn’t include as one of the valid names in the definition. If you generated the certificate take a look at your crt file to see what names it does have defined.

Currently in internship I encounter the same problem. I would like to know if I need to change the address of my listener “tcp” to If I do this it is not likely to crash my config?

Change it in your config as so:

listener “tcp” {
address = “


yourhostname that has valid san in the cert.

I’m writing here for whomever sees this thread in case they’ve come across the same issue as I have:

@gokhan.kocak Your certificate needs to include “” in the SAN (Subject Alternative Name). But it needs to have an IP Address type of record, not DNS. That’s why it’s called IP SAN. For instance:

            X509v3 Subject Alternative Name:
                DNS:*, DNS:*, DNS:localhost, IP Address:

(openssl x509 -in cert.crt -noout -text)
If you happen to generate your certificate through openssl, you need to explicitly add it as such in the configuration file:

IP.1 =

Otherwise of course you’ll have to understand how the tool you’re working with can be configured to add an IP SAN.