Update openvpn-install.sh

Set expiration for CA certificate and client certificates
This commit is contained in:
Frogger 2022-11-10 10:46:17 +01:00 committed by GitHub
parent 33c25977a2
commit e82eb47023
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,8 +10,8 @@
# CA_EXPIRE=3650 # CA_EXPIRE=3650
# CERT_EXPIRE=825 # CERT_EXPIRE=825
CA_EXPIRE=7300 CA_EXPIRE=3650
CERT_EXPIRE=7300 CERT_EXPIRE=3650
function isRoot() { function isRoot() {
if [ "$EUID" -ne 0 ]; then if [ "$EUID" -ne 0 ]; then