mirror of
https://github.com/angristan/openvpn-install.git
synced 2024-12-04 22:45:32 +01:00
Update openvpn-install.sh
Set expiration for CA certificate and client certificates
This commit is contained in:
parent
33c25977a2
commit
e82eb47023
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user