mirror of https://github.com/wulabing/Xray_onekey
添加证书测试签发
parent
f1179d9dbd
commit
c599aca63c
11
install.sh
11
install.sh
|
@ -384,6 +384,14 @@ port_exist_check(){
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
acme(){
|
acme(){
|
||||||
|
~/.acme.sh/acme.sh --issue -d ${domain} --standalone -k ec-256 --force --test
|
||||||
|
if [[ $? -eq 0 ]];then
|
||||||
|
echo -e "${OK} ${GreenBG} SSL 证书测试签发成功,开始正式签发 ${Font}"
|
||||||
|
sleep 2
|
||||||
|
else
|
||||||
|
echo -e "${Error} ${RedBG} SSL 证书测试签发失败 ${Font}"
|
||||||
|
fi
|
||||||
|
|
||||||
~/.acme.sh/acme.sh --issue -d ${domain} --standalone -k ec-256 --force
|
~/.acme.sh/acme.sh --issue -d ${domain} --standalone -k ec-256 --force
|
||||||
if [[ $? -eq 0 ]];then
|
if [[ $? -eq 0 ]];then
|
||||||
echo -e "${OK} ${GreenBG} SSL 证书生成成功 ${Font}"
|
echo -e "${OK} ${GreenBG} SSL 证书生成成功 ${Font}"
|
||||||
|
@ -735,14 +743,17 @@ menu(){
|
||||||
3)
|
3)
|
||||||
read -p "请输入UUID:" UUID
|
read -p "请输入UUID:" UUID
|
||||||
modify_UUID
|
modify_UUID
|
||||||
|
start_process_systemd
|
||||||
;;
|
;;
|
||||||
4)
|
4)
|
||||||
read -p "请输入alterID:" alterID
|
read -p "请输入alterID:" alterID
|
||||||
modify_alterid
|
modify_alterid
|
||||||
|
start_process_systemd
|
||||||
;;
|
;;
|
||||||
5)
|
5)
|
||||||
read -p "请输入连接端口:" port
|
read -p "请输入连接端口:" port
|
||||||
modify_nginx_port
|
modify_nginx_port
|
||||||
|
start_process_systemd
|
||||||
;;
|
;;
|
||||||
6)
|
6)
|
||||||
show_access_log
|
show_access_log
|
||||||
|
|
Loading…
Reference in New Issue