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