ritsec / cluster-duck

Documentation for the RITSEC Cloud.
6 stars 2 forks source link

Update Vault Certificate #22

Open s-newman opened 4 years ago

s-newman commented 4 years ago

Update Vault Certificate

The HashiCorp Vault certificate is currently from LetsEncrypt's staging environment. This is not accepted by any browsers or operating systems, so we should switch to a certificate from the production environment. This will also help us test our procedure for updating LetsEncrypt certificates that have been issued through Terraform.

Tasks

All of the following tasks must be complete before this issue can be closed. Be sure to reference this issue in the relevant issues/PRs in other repositories.

s-newman commented 4 years ago

Since certificates are deployed to the host at creation time via cloud-init, I suspect that we will have to do this by redeploying the vault instance and migrating the EBS volume to the new instance. Ideally, only the instance should be destroyed and all other Terraform resources should be left intact (reconfiguration acceptable).