[PATCH 02/15] Correct links to TLS certificate setup page

Peter Krempa pkrempa at redhat.com
Fri Apr 22 12:23:18 UTC 2022


When the setup of TLS certs was originally split out of
'docs/remote.html' ( df99aa311a33e87d4 ) links refering to it were not
fixed.

Adjust them to point to the correct document.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 docs/drvesx.rst            |  5 ++---
 tools/virt-pki-validate.in | 10 +++++-----
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/docs/drvesx.rst b/docs/drvesx.rst
index 9ef6b74161..81625d6f10 100644
--- a/docs/drvesx.rst
+++ b/docs/drvesx.rst
@@ -231,9 +231,8 @@ There are also other causes for connection problems than those related to
       error: Cannot access CA certificate '/etc/pki/CA/cacert.pem': No such file or directory

    Don't let this error message confuse you. Setting up certificates as
-   described on the `remote transport
-   mechanism <remote.html#Remote_certificates>`__ page does not help, as this is
-   not a certificate related problem.
+   described on the `tls certificates <kbase/tlscerts.html>`__ page does not
+   help, as this is not a certificate related problem.

    To fix this problem you need to update your libvirt to 0.7.0 or newer. You
    may also see this error when you use a libvirt version that contains the ESX
diff --git a/tools/virt-pki-validate.in b/tools/virt-pki-validate.in
index 2f7404bd94..7100eafb63 100644
--- a/tools/virt-pki-validate.in
+++ b/tools/virt-pki-validate.in
@@ -2,7 +2,7 @@
 #
 # This shell script checks the TLS certificates and options needed
 # for the secure client/server support of libvirt as documented at
-# https://libvirt.org/remote.html#Remote_certificates
+# https://libvirt.org/kbase/tlscerts.html
 #
 # Copyright (C) 2009-2013 Red Hat, Inc.
 #
@@ -166,7 +166,7 @@ if [ ! -f "$CA/cacert.pem" ]
 then
     echo the CA certificate $CA/cacert.pem is missing while it
     echo should be installed on both client and servers
-    echo "see https://libvirt.org/remote.html#Remote_TLS_CA"
+    echo "see https://libvirt.org/kbase/tlscerts.html#setting-up-a-certificate-authority-ca"
     echo on how to install it
     exit 1
 fi
@@ -186,7 +186,7 @@ if [ "$ORG" = "" ]
 then
     echo the CA certificate $CA/cacert.pem does not define the organization
     echo it should probably regenerated
-    echo "see https://libvirt.org/remote.html#Remote_TLS_CA"
+    echo "see https://libvirt.org/kbase/tlscerts.html#setting-up-a-certificate-authority-ca"
     echo on how to regenerate it
     exit 1
 fi
@@ -234,7 +234,7 @@ then
 else
     echo Did not find "$LIBVIRT/clientcert.pem" client certificate
     echo The machine cannot act as a client
-    echo "see https://libvirt.org/remote.html#Remote_TLS_client_certificates"
+    echo "see https://libvirt.org/kbase/tlscerts.html#issuing-client-certificates"
     echo on how to regenerate it
     CLIENT=0
 fi
@@ -287,7 +287,7 @@ then
 else
     echo Did not find $LIBVIRT/servercert.pem server certificate
     echo The machine cannot act as a server
-    echo "see https://libvirt.org/remote.html#Remote_TLS_server_certificates"
+    echo "see https://libvirt.org/kbase/tlscerts.html#issuing-server-certificates"
     echo on how to regenerate it
     SERVER=0
 fi
-- 
2.35.1



More information about the libvir-list mailing list