[libvirt] [PATCH] Add some basic sanity checking of certificates before use

2011-07-15 Thread Daniel P. Berrange
If the libvirt daemon or libvirt client is configured with bogus certificates, it is very unhelpful to only find out about this when a TLS connection is actually attempted. Not least because the error messages you get back for failures are incredibly obscure. This adds some basic sanity checking

Re: [libvirt] [PATCH] Add some basic sanity checking of certificates before use

2011-07-15 Thread Jiri Denemark
On Fri, Jul 15, 2011 at 11:40:01 +0100, Daniel P. Berrange wrote: If the libvirt daemon or libvirt client is configured with bogus certificates, it is very unhelpful to only find out about this when a TLS connection is actually attempted. Not least because the error messages you get back for

Re: [libvirt] [PATCH] Add some basic sanity checking of certificates before use

2011-07-15 Thread Eric Blake
On 07/15/2011 06:15 AM, Jiri Denemark wrote: On Fri, Jul 15, 2011 at 11:40:01 +0100, Daniel P. Berrange wrote: If the libvirt daemon or libvirt client is configured with bogus certificates, it is very unhelpful to only find out about this when a TLS connection is actually attempted. Not least