Skip to content

Commit 12cf18c

Browse files
authored
Merge branch 'main' into gcbdr-samples
2 parents 35e8005 + 4361a53 commit 12cf18c

File tree

1 file changed

+5
-2
lines changed
  • privateca/certificate_authority_subordinate

1 file changed

+5
-2
lines changed

privateca/certificate_authority_subordinate/main.tf

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,11 @@ resource "google_privateca_certificate_authority" "sub_ca" {
7373
x509_config {
7474
ca_options {
7575
is_ca = true
76-
# Force the sub CA to only issue leaf certs
77-
max_issuer_path_length = 0
76+
# Force the sub CA to only issue leaf certs.
77+
# Use e.g.
78+
# max_issuer_path_length = 1
79+
# if you need to chain more subordinates.
80+
zero_max_issuer_path_length = true
7881
}
7982
key_usage {
8083
base_key_usage {

0 commit comments

Comments
 (0)