[libvirt-users] libvirtd ssl configuration

Hi! I found little semantics bug: [13:53:40] root@dedicated-04:~ # LC_ALL=C libvirtd -h libvirtd: invalid option -- 'h' Usage: libvirtd [options] Options: -v | --verbose Verbose messages. -d | --daemon Run as a daemon & write PID file. -l | --listen Listen for TCP/IP connections. -t | --timeout <secs> Exit after timeout period. -f | --config <file> Configuration file. | --version Display version information. -p | --pid-file <file> Change name of PID file. libvirt management daemon: Default paths: Configuration file (unless overridden by -f): /etc/libvirt/libvirtd.conf Sockets: /var/run/libvirt/libvirt-sock /var/run/libvirt/libvirt-sock-ro TLS: CA certificate: /etc/pki/CA/caert.pem Server certificate: /etc/pki/libvirt/servercert.pem Server private key: /etc/pki/libvirt/private/serverkey.pem PID file (unless overridden by -p): /var/run/libvirtd.pid I think that caert.pem should be cacert.pem =) Tnx. С уважением, Гусев Павел Руководитель отдела системного администрирования QSOFT | Ведущий web-интегратор офис 7(495) 771-7363 #110 | моб. 7(926) 850-1108 pgusev@qsoft.ru Москва, Авангардная улица, 3 | qsoft.ru San Francisco, 222 Columbus Ave | qsoftus.com

On Mon, Feb 17, 2014 at 12:55:25AM +0400, Гусев Павел wrote:
Hi! I found little semantics bug:
[13:53:40] root@dedicated-04:~ # LC_ALL=C libvirtd -h libvirtd: invalid option -- 'h'
Usage: libvirtd [options]
Options: -v | --verbose Verbose messages. -d | --daemon Run as a daemon & write PID file. -l | --listen Listen for TCP/IP connections. -t | --timeout <secs> Exit after timeout period. -f | --config <file> Configuration file. | --version Display version information. -p | --pid-file <file> Change name of PID file.
libvirt management daemon:
Default paths:
Configuration file (unless overridden by -f): /etc/libvirt/libvirtd.conf
Sockets: /var/run/libvirt/libvirt-sock /var/run/libvirt/libvirt-sock-ro
TLS: CA certificate: /etc/pki/CA/caert.pem Server certificate: /etc/pki/libvirt/servercert.pem Server private key: /etc/pki/libvirt/private/serverkey.pem
PID file (unless overridden by -p): /var/run/libvirtd.pid
I think that caert.pem should be cacert.pem =)
Yes indeed. You don't mention what version of libvirt you have here ? It appears that we fixed this typo in the 1.1.3 release though: commit 521b78d0afb9aff3c9f8d593e63c3d94b8f28f5d Author: Christophe Fergeau <cfergeau@redhat.com> Date: Wed Sep 18 14:01:26 2013 +0200 daemon: Fix 'caert.pem' typo in privileged help output The help message indicates that the CA certificate is $sysconfdir/pki/CA/caert.pem while the actual path is $sysconfdir/pki/CA/cacert.pem Signed-off-by: Christophe Fergeau <cfergeau@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com> Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|

Thanks for your answer! I am use virsh 1.1.1 in Linux Mint 16 cinnamon. I must upgrade virsh to 1.1.3. Thank you!) С уважением, Гусев Павел Руководитель отдела системного администрирования QSOFT | Ведущий web-интегратор офис 7(495) 771-7363 #110 | моб. 7(926) 850-1108 pgusev@qsoft.ru Москва, Авангардная улица, 3 | qsoft.ru San Francisco, 222 Columbus Ave | qsoftus.com 17.02.2014, 19:28, "Daniel P. Berrange" <berrange@redhat.com>:
On Mon, Feb 17, 2014 at 12:55:25AM +0400, Гусев Павел wrote:
Hi! I found little semantics bug:
[13:53:40] root@dedicated-04:~ # LC_ALL=C libvirtd -h libvirtd: invalid option -- 'h'
Usage: libvirtd [options]
Options: -v | --verbose Verbose messages. -d | --daemon Run as a daemon & write PID file. -l | --listen Listen for TCP/IP connections. -t | --timeout <secs> Exit after timeout period. -f | --config <file> Configuration file. | --version Display version information. -p | --pid-file <file> Change name of PID file.
libvirt management daemon:
Default paths:
Configuration file (unless overridden by -f): /etc/libvirt/libvirtd.conf
Sockets: /var/run/libvirt/libvirt-sock /var/run/libvirt/libvirt-sock-ro
TLS: CA certificate: /etc/pki/CA/caert.pem Server certificate: /etc/pki/libvirt/servercert.pem Server private key: /etc/pki/libvirt/private/serverkey.pem
PID file (unless overridden by -p): /var/run/libvirtd.pid
I think that caert.pem should be cacert.pem =)
Yes indeed. You don't mention what version of libvirt you have here ?
It appears that we fixed this typo in the 1.1.3 release though:
commit 521b78d0afb9aff3c9f8d593e63c3d94b8f28f5d Author: Christophe Fergeau <cfergeau@redhat.com> Date: Wed Sep 18 14:01:26 2013 +0200
daemon: Fix 'caert.pem' typo in privileged help output
The help message indicates that the CA certificate is $sysconfdir/pki/CA/caert.pem while the actual path is $sysconfdir/pki/CA/cacert.pem
Signed-off-by: Christophe Fergeau <cfergeau@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com>
Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
participants (2)
-
Daniel P. Berrange
-
Гусев Павел