Get "": http: server gave HTTP response to HTTPS client

What is the proper way of using vault from command line in production mode?

export VAULT_ADDR=
vault status

Per default the cli expects your Vault installation to be secured using tls. If not, you will have to set the VAULT_ADDR to use http.