diff options
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r-- | etc/inc/system.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index e0cac4c..d7e8fee 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -650,7 +650,7 @@ function system_webgui_start() { echo "Creating SSL Certificate... "; mwexec("openssl genrsa 1024 > /etc/ssl.key"); mwexec("chmod 400 /etc/ssl.key"); - mwexec("openssl req -new -x509 -nodes -sha1 -days 365 -key /etc/ssl.key > /etc/ssl.crt"); + mwexec("openssl req -new -x509 -nodes -sha1 -days 3650 -key /etc/ssl.key > /etc/ssl.crt"); mwexec("chmod 400 /etc/ssl.crt"); $cert_file = "/etc/ssl.crt"; $key_file = "/etc/ssl.key"; |