|
Server : Apache System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 User : matalashes ( 1004) PHP Version : 8.1.29 Disable Function : NONE Directory : /usr/src/lsws/lsws-6.3.4/admin/misc/ |
Upload File : |
#!/bin/sh
CUR_DIR=`dirname "$0"`
cd $CUR_DIR
CUR_DIR=`pwd`
echo "Generating key pair for web console login page, please wait ..."
openssl genrsa -out key.pem 512
if [ "$?" -eq "0" ] ; then
../fcgi-bin/admin_php5 -q genjCryptionKeyPair.php key.pem
rm -f key.pem
else
../fcgi-bin/admin_php5 -q genjCryptionKeyPair.php
fi