Skip to content

Commit be07061

Browse files
committed
sync with certs
Signed-off-by: Arvindh <arvindh91@gmail.com>
1 parent 9e5f73f commit be07061

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docker/addons/certs/openbao-entrypoint.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,10 @@ if [ ! -f /opt/openbao/data/configured ]; then
270270
key_usage=\"DigitalSignature,KeyEncipherment,KeyAgreement\" \
271271
ext_key_usage=\"ServerAuth,ClientAuth,OCSPSigning\" \
272272
use_csr_common_name=true \
273-
use_csr_sans=false \
273+
use_csr_sans=true \
274+
copy_extensions=true \
275+
allowed_extensions=\"*\" \
276+
basic_constraints_valid_for_non_ca=true \
274277
max_ttl=720h \
275278
ttl=720h"
276279

@@ -284,6 +287,9 @@ path "pki_int/issue/${AM_CERTS_OPENBAO_PKI_ROLE}" {
284287
path "pki_int/sign/${AM_CERTS_OPENBAO_PKI_ROLE}" {
285288
capabilities = ["create", "update"]
286289
}
290+
path "pki_int/sign-verbatim/${AM_CERTS_OPENBAO_PKI_ROLE}" {
291+
capabilities = ["create", "update"]
292+
}
287293
path "pki_int/certs" {
288294
capabilities = ["list"]
289295
}

0 commit comments

Comments
 (0)