How to enable HTTPS for Vault Server built on VM

We have built Vault server & got external DNS resolution & got CA certificate from our vendor.

but https://xxx.unisys.com:8200 gives the error “error your connection is not secure” .

Put this into your config.hcl file.

listener "tcp" {
  address       = "0.0.0.0:8200"
  tls_cert_file = "/path/to/fullchain.pem"
  tls_key_file  = "/path/to/privkey.pem"
}