From 4da69696360e8e1a6633c1a10efe247cd77c71ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Sat, 6 Jan 2024 11:17:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AE=89=E8=A3=85=E9=9D=A2=E6=9D=BF?= =?UTF-8?q?=E7=94=9F=E6=88=90=20SSL=20=E8=AF=81=E4=B9=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/install_panel.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install_panel.sh b/scripts/install_panel.sh index 48a18c84..d42525bd 100644 --- a/scripts/install_panel.sh +++ b/scripts/install_panel.sh @@ -247,6 +247,7 @@ Init_Panel() { ${setup_Path}/panel/panel --env="panel.conf" artisan key:generate ${setup_Path}/panel/panel --env="panel.conf" artisan jwt:secret ${setup_Path}/panel/panel --env="panel.conf" artisan migrate + openssl req -x509 -nodes -days 36500 -newkey ec:<(openssl ecparam -name secp384r1) -keyout ${setup_Path}/panel/storage/ssl.key -out ${setup_Path}/panel/storage/ssl.crt -subj "/C=CN/ST=Tianjin/L=Tianjin/O=HaoZi Technology Co., Ltd./OU=HaoZi Panel/CN=Panel" chmod -R 700 ${setup_Path}/panel cp -f scripts/panel.sh /usr/bin/panel chmod -R 700 /usr/bin/panel