✏️ 编辑:create_admin_keypair.sh
路径:
/usr/local/lsws/admin/misc/create_admin_keypair.sh
大小:336 B · 修改:2026-10-06 06:23:35 · 权限:0555 · 只读(保存会失败)
← 返回目录
👁 查看
⬇ 下载
#!/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
💾 保存
取消
保存为 UTF-8,换行统一为 LF