D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
proc
/
self
/
root
/
proc
/
self
/
root
/
usr
/
local
/
lsws
/
admin
/
misc
/
Filename :
create_admin_keypair.sh
back
Copy
#!/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