Hi,
I am trying to setup Vault in production but wanted to use a wildcard certificate *.
blahblah.net and here's the config...
{
"default_lease_ttl": "24h",
"storage": {
"consul": {
"address": "XXX.XXX.XXX.XXX:8500",
"path": "vault"
}
},
"listener": {
"tcp": {
"address": "blah01.blahblah.net:8200",
"tls_cert_file":"/var/lib/vault/ssl/digibundle.crt",
"tls_key_file":"/var/lib/vault/ssl/vault.key"
}
},
"telemetry": {
"statsd_address": "poopybutthole.blahblah.net:20001"
},
"default_lease_ttl": "1h"
}
Then I issue a kill -1 to reload config. No errors in log here and run vault status commands with spits out...
Error checking seal status: Get https://XXX.XXX.XXX.XXX:8200/v1/sys/seal-status: x509: cannot validate certificate for XXX.XXX.XXX.XXX because it doesn't contain any IP SANs
Does the certificate have to have IP addresses associated with it? Can it not be associated with wildcard domains? If so, how?
Thanks,
Adam