summaryrefslogtreecommitdiff
path: root/scripts/kvmd-gencert
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-02-18 00:58:14 +0300
committerDevaev Maxim <[email protected]>2019-02-18 00:58:14 +0300
commit316700422d93edf81bae94d3dc09db0892fd5e4c (patch)
tree9af501b7d79956d6275aa04b99d3a335c6e385d2 /scripts/kvmd-gencert
parentfe2d9c728ad324b10d80441a3ac02e24a0a6bb6d (diff)
fixed -subj in kvmd-gencert
Diffstat (limited to 'scripts/kvmd-gencert')
-rwxr-xr-xscripts/kvmd-gencert2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kvmd-gencert b/scripts/kvmd-gencert
index 466c92ae..ddbb2fa2 100755
--- a/scripts/kvmd-gencert
+++ b/scripts/kvmd-gencert
@@ -11,7 +11,7 @@ mkdir -p /etc/kvmd/nginx/ssl
cd /etc/kvmd/nginx/ssl
openssl req -new -x509 -nodes -newkey rsa:4096 -keyout server.key -out server.crt -days 3650 \
- subj "/C=RU/ST=Moscow/L=Moscow/O=Pi-KVM/OU=Pi-KVM/CN=localhost"
+ -subj "/C=RU/ST=Moscow/L=Moscow/O=Pi-KVM/OU=Pi-KVM/CN=localhost"
chown -R root:http /etc/kvmd/nginx/ssl
chmod 400 server.key