mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
change information on the selfsigned ssl cert
This commit is contained in:
parent
0b9155a5ad
commit
cc102eee82
@ -20,7 +20,7 @@ fi
|
||||
SSL="$DATA/ssl"
|
||||
if [ ! -f "$SSL/server.key" ]; then
|
||||
openssl req -x509 -newkey rsa:2048 -keyout "$SSL/server.key" -out "$SSL/server.crt" -days 1000 \
|
||||
-subj "/C=CN/ST=Beijing/L=Beijing/O=Beijing OnlineJudge Technology Co., Ltd./OU=Service Infrastructure Department/CN=`hostname`" -nodes
|
||||
-subj "/C=MX/CN=devcam" -nodes
|
||||
fi
|
||||
|
||||
cd $APP/deploy/nginx
|
||||
|
||||
Loading…
Reference in New Issue
Block a user