mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
kvmd-gencert: US is a new default
This commit is contained in:
parent
864a2af45e
commit
572a75d27b
@ -55,7 +55,7 @@ cd "$path"
|
||||
# - https://msol.io/blog/tech/create-a-self-signed-ecc-certificate
|
||||
openssl ecparam -out server.key -name prime256v1 -genkey
|
||||
openssl req -new -x509 -sha256 -nodes -key server.key -out server.crt -days 3650 \
|
||||
-subj "/C=RU/ST=Moscow/L=Moscow/O=PiKVM/OU=PiKVM/CN=localhost"
|
||||
-subj "/C=US/O=PiKVM/OU=PiKVM/CN=localhost"
|
||||
|
||||
chown "root:kvmd-$target" "$path"/*
|
||||
chmod 440 "$path/server.key"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user