Server : LiteSpeed System : Linux premium181.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64 User : ventnesy ( 2514) PHP Version : 8.3.30 Disable Function : NONE Directory : /usr/local/lsws/admin/misc/ |
#!/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