summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-09-04 14:08:00 +0300
committerMaxim Devaev <[email protected]>2024-09-04 14:08:00 +0300
commit572a75d27b76e845a459bbfe3fef362231f04ddc (patch)
tree8a471a4bc236efcce854f730c5582c2d3d416bd7
parent864a2af45e75be12db8f94687f8754f148121f1c (diff)
kvmd-gencert: US is a new default
-rwxr-xr-xscripts/kvmd-gencert2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kvmd-gencert b/scripts/kvmd-gencert
index 7bd95cf2..a199daf8 100755
--- a/scripts/kvmd-gencert
+++ b/scripts/kvmd-gencert
@@ -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"