David,<div><br></div><div>I just tried about 20 times in a row, same error. When you say it's a known bug in spicec when connecting manually, what is the alternative to connecting manually? Is this bug present in spicy or remote-viewer? Thanks in advance.<br>
<br><div class="gmail_quote">On Fri, Mar 23, 2012 at 6:37 AM, David Jaša <span dir="ltr"><<a href="mailto:djasa@redhat.com">djasa@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Anthony James píše v Pá 23. 03. 2012 v 06:26 -0400:<br>
<div class="im">> David,<br>
><br>
> Thanks for the reply. I've tried adding --ca-file to the spicec<br>
> command line but still receive the same error. Here is the command:<br>
><br>
> spicec -h localhost -p $PORT -s $SPORT --secure-channels all<br>
> --host-subject "$HOSTSUBJECT" --ca-file ca-cert.pem -w $PASSWD<br>
><br>
> Same error:<br>
><br>
> Error: failed to connect w/SSL, ssl_error<br>
> error:00000001:lib(0):func(0):reason(1)<br>
> 140613653984512:error:14090086:SSL<br>
> routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify<br>
> failed:s3_clnt.c:1063:<br>
> Warning: SSL Error:<br>
<br>
</div>Hi Anthony,<br>
<br>
try several times. It's a known bug in spicec that when you're<br>
connecting manually, the connection fails several times before it is<br>
established. Actually it's more frequent if you specify --secure<br>
channels all or if you omit -p altogether (both have the same effect).<br>
<span class="HOEnZb"><font color="#888888"><br>
David<br>
</font></span><div class="HOEnZb"><div class="h5">><br>
> On Fri, Mar 23, 2012 at 6:06 AM, David Jaša <<a href="mailto:djasa@redhat.com">djasa@redhat.com</a>> wrote:<br>
> Hi Anthony,<br>
><br>
> Anthony James píše v Čt 22. 03. 2012 v 15:40 -0400:<br>
> > I'm having problems connecting to a spice virtual machine<br>
> using SSL.<br>
> > I use the following command to connect:<br>
> ><br>
> ><br>
> > spicec -h localhost -p $PORT -s $SPORT --secure-channels all<br>
> > --host-subject "$HOSTSUBJECT" -w $PASSWD<br>
> ><br>
><br>
> You're missing --ca-file $CA_CERTIFICATE_FILE in your command<br>
> line.<br>
><br>
> David<br>
> ><br>
> > The error I receive is:<br>
> ><br>
> ><br>
> > Error: failed to connect w/SSL, ssl_error<br>
> > error:00000001:lib(0):func(0):reason(1)<br>
> > 139699632096512:error:14090086:SSL<br>
> > routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify<br>
> > failed:s3_clnt.c:1063:<br>
> > Warning: SSL Error:<br>
> ><br>
> ><br>
> > I have followed the instructions from the following 2 sites<br>
> to<br>
> > configure the SSL certs:<br>
> ><br>
> ><br>
> > <a href="http://www.spice-space.org/page/SSLConnection" target="_blank">http://www.spice-space.org/page/SSLConnection</a><br>
> ><br>
> ><br>
> ><br>
> <a href="http://fedoraproject.org/w/index.php?title=QA:Testcase_Virtualization_Manually_set_spice_listening_port_with_TLS_port_set&oldid=255162" target="_blank">http://fedoraproject.org/w/index.php?title=QA:Testcase_Virtualization_Manually_set_spice_listening_port_with_TLS_port_set&oldid=255162</a><br>
> ><br>
> ><br>
> > Any help would be greatly appreciated, I'm sure I'm missing<br>
> something.<br>
> ><br>
> ><br>
> > Thanks,<br>
> > Tony<br>
><br>
> > _______________________________________________<br>
> > Spice-devel mailing list<br>
> > <a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br>
> > <a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
><br>
><br>
> --<br>
><br>
> David Jaša, RHCE<br>
><br>
> SPICE QE based in Brno<br>
> GPG Key: 22C33E24<br>
> Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24<br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Spice-devel mailing list<br>
> <a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
<br>
--<br>
<br>
David Jaša, RHCE<br>
<br>
SPICE QE based in Brno<br>
GPG Key: 22C33E24<br>
Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24<br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div>