<div dir="ltr"><div>Ok, thank you. I will play around with it.</div><div><br></div><div>I also noticed, that libvirt does not use this SNI extension. Actually,this not needed here, as we have only one location for server certificate, but this requires some modifications in mitmproxy, as for example tls in web browsers always include this SNI extensions.</div><div><br></div><div>Are there maybe other big differences in tls implementation in libvirt or maybe some assumptions that are taken during tls handhake process?<br></div></div><br><div class="gmail_quote"><div dir="ltr">пн, 10 дек. 2018 г. в 13:25, Daniel P. Berrangé <<a href="mailto:berrange@redhat.com">berrange@redhat.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, Dec 10, 2018 at 01:22:32PM +0300, Anastasiya Ruzhanskaya wrote:<br>
> And how libvirt checks that it trusts the CA? Just simply inspects the<br>
> cacert.pem file? Or it has some information inside about by which CA were<br>
> signed client and server certificates and then compares against stored<br>
> values? I mean can I just concatenate after signing or I need to combine<br>
> two CAs before generating libvirt's client and server certificates?<br>
<br>
Libvirt will check that the server's certificate is signed by any one of<br>
the CAs listed.<br>
<br>
Regards,<br>
Daniel<br>
-- <br>
|: <a href="https://berrange.com" rel="noreferrer" target="_blank">https://berrange.com</a>      -o-    <a href="https://www.flickr.com/photos/dberrange" rel="noreferrer" target="_blank">https://www.flickr.com/photos/dberrange</a> :|<br>
|: <a href="https://libvirt.org" rel="noreferrer" target="_blank">https://libvirt.org</a>         -o-            <a href="https://fstop138.berrange.com" rel="noreferrer" target="_blank">https://fstop138.berrange.com</a> :|<br>
|: <a href="https://entangle-photo.org" rel="noreferrer" target="_blank">https://entangle-photo.org</a>    -o-    <a href="https://www.instagram.com/dberrange" rel="noreferrer" target="_blank">https://www.instagram.com/dberrange</a> :|<br>
</blockquote></div>