commit 3329d801408974f75f915b24bbde67ff2d37dbfd
parent 8b900e99a53fd3d7500ece935f17fa30ad737ea8
Author: Andreas Gruhler <agruhl@gmx.ch>
Date: Wed, 19 Jan 2022 20:43:41 +0100
fix(#1): Increase CA Expiration Date
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vault-tls.sh b/vault-tls.sh
@@ -48,5 +48,5 @@ distinguished_name = dn
basicConstraints = critical, CA:true, pathlen:1
keyUsage = critical, digitalSignature, cRLSign, keyCertSign
"
-openssl req -config <(echo "$CA_CONFIG") -new -newkey rsa:2048 -nodes \
+openssl req -config <(echo "$CA_CONFIG") -new -newkey rsa:2048 -nodes -days 730 \
-subj "/CN=Snake Root CA" -x509 -extensions ext -keyout "./ca/vault_ca.key" -out "./ca/vault_ca.pem"
\ No newline at end of file