Skip to content

Commit

Permalink
fix: Regenerate intermediate CA cert
Browse files Browse the repository at this point in the history
  • Loading branch information
memes committed Sep 17, 2023
1 parent 55fef21 commit eff06b8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions vault/pki.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

locals {
# Change when it is time to rotate intermediate cert
intermediate_cn = "Accelerated GCP Lab Intermediate CA April 2022"
intermediate_cn = "Accelerated GCP Lab Intermediate CA 2023"
}

resource "vault_pki_secret_backend_config_urls" "pki_ca" {
Expand All @@ -30,7 +30,7 @@ resource "vault_pki_secret_backend_intermediate_cert_request" "intermediate" {
exclude_cn_from_sans = true
ou = "Lab CA"
organization = "Accelerated GCP"
country = "United States"
country = "US"
locality = "Laguna Niguel"
province = "California"
}
Expand Down Expand Up @@ -86,7 +86,7 @@ resource "vault_pki_secret_backend_role" "server" {
]
ou = ["Lab"]
organization = ["Accelerated GCP"]
country = ["United States"]
country = ["US"]
locality = ["Laguna Niguel"]
province = ["California"]
require_cn = true
Expand Down Expand Up @@ -118,7 +118,7 @@ resource "vault_pki_secret_backend_role" "person" {
]
ou = ["Lab"]
organization = ["Accelerated GCP"]
country = ["United States"]
country = ["US"]
locality = ["Laguna Niguel"]
province = ["California"]
require_cn = true
Expand Down Expand Up @@ -150,7 +150,7 @@ resource "vault_pki_secret_backend_role" "server_2048" {
]
ou = ["Lab"]
organization = ["Accelerated GCP"]
country = ["United States"]
country = ["US"]
locality = ["Laguna Niguel"]
province = ["California"]
require_cn = true
Expand Down

0 comments on commit eff06b8

Please sign in to comment.