Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
bc593e2d
Unverified
Commit
bc593e2d
authored
Jan 23, 2019
by
Fernando Verdugo
Committed by
GitHub
Jan 23, 2019
Browse files
Issue #975
change "my server" by "my IP" create full path make kvm group owner of cert files
parent
2ad017e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/docs/spice_tls.rst
View file @
bc593e2d
...
...
@@ -76,7 +76,7 @@ Perform the following script, to generate the cert files for ssl , and then copy
fi
# create a certificate signing request (csr)
if [ ! -e server-key.csr ]; then
openssl req -new -key $SERVER_KEY -out server-key.csr -subj "/C=IL/L=Raanana/O=Red Hat/CN=
my
server"
openssl req -new -key $SERVER_KEY -out server-key.csr -subj "/C=IL/L=Raanana/O=Red Hat/CN=
<
server
IP>
"
fi
# signing our server certificate with this ca
if [ ! -e server-cert.pem ]; then
...
...
@@ -94,13 +94,14 @@ Perform the following script, to generate the cert files for ssl , and then copy
openssl req -noout -text -in server-key.csr
openssl x509 -noout -text -in server-cert.pem
openssl x509 -noout -text -in ca-cert.pem
chown :kvm ./*.pem
# copy *.pem file to /etc/pki/libvirt-spice
if [[ -d "/etc/pki/libvirt-spice" ]]
then
cp ./*.pem /etc/pki/libvirt-spice
else
mkdir /etc/pki/libvirt-spice
mkdir
-p
/etc/pki/libvirt-spice
cp ./*.pem /etc/pki/libvirt-spice
fi
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment