VAULT - Install issue

What is the simple vault.hcl config which I can use to test the production vault

vi /etc/vault.d/vault.hcl
storage “file” {
path = “/vault/data”
}
listener “tcp” {
address = “127.0.0.1:8200”
tls_disable = 1
}
ui = true

I am able to start the vault seeing no errors

systemctl start vault

Then I had initiated the below command

vault operator init
Get “https://127.0.0.1:8200/v1/sys/seal-status”: http: server have HTTP response to HTTPS client

is the config file which i have is wrong and why is vault operator init is not working. any suggestions I had changed the ip from 127.0.0.1 to 0.0.0.0. Yet no luck

Thanks

Hi @rgsubramaniam,
Please check this link on HashiCorp website for vault deployment on real environment and some best practices

For your issue try to do before the init

export VAULT_ADDR='http://127.0.0.1:8200'

Regard