Displaying 1 result from an estimated 1 matches for "certool".
Did you mean:
certtool
2017 Dec 10
1
libvirt authentication
...ng in the end. So I get an error:
The server certificate does not seem to match the host name
hostname: "barni"
Server certificate CN: "barni,O=libvirt.org"
CN field is standing at the beginning of line.
Seems that these are the appropriate lines in code:
258 S_HOST=`"$CERTOOL" -i --infile "$LIBVIRT/servercert.pem" | grep
Subject: | sed 's+.*CN=\([a-zA-Z\. _-]*\)+\1+'`
259 if test "$S_HOST" != "`hostname -s`" && test "$S_HOST" != "`hostname`"