fermyon / installer

Fermyon Installer
https://fermyon.dev
Apache License 2.0
158 stars 38 forks source link

Update vault status command #93

Closed lachie83 closed 2 years ago

lachie83 commented 2 years ago

Vault is not currently configured to use a certificate. You need to configure the status command to hit the HTTP endpoint rather than the HTTPS endpoint.

Signed-off-by: Lachlan Evenson lachlan.evenson@microsoft.com

Before change

ubuntu@myfermyonvm:~$ vault status
Error checking seal status: Get "https://127.0.0.1:8200/v1/sys/seal-status": http: server gave HTTP response to HTTPS client

After change

ubuntu@myfermyonvm:~$ vault status -address http://127.0.0.1:8200
Key             Value
---             -----
Seal Type       shamir
Initialized     true
Sealed          false
Total Shares    1
Threshold       1
Version         1.10.3
Storage Type    file
Cluster Name    vault-cluster-268aeb56
Cluster ID      cf18c03a-b14e-ecf4-895f-33643ba4833a
HA Enabled      false