mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-04 11:08:16 -03:30
change expirations period for generated certificate from 10 years to 100 years
This commit is contained in:
@@ -17,7 +17,7 @@ rm -f $KEY_PATH
|
||||
rm -f $CERT_PATH
|
||||
|
||||
openssl genrsa -out $KEY_PATH 2048 >/dev/null 2>&1
|
||||
openssl req -new -x509 -sha256 -days 3650 \
|
||||
openssl req -new -x509 -sha256 -days 36500 \
|
||||
-key $KEY_PATH \
|
||||
-out $CERT_PATH \
|
||||
-subj "/C=US/ST=CA/L=San Jose/O=CPSG/OU=IT Department/CN=auth-local.cisco.com"
|
||||
|
||||
Reference in New Issue
Block a user