David,<div><br></div><div>I just tried about 20 times in a row, same error.  When you say it&#39;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">&lt;<a href="mailto:djasa@redhat.com">djasa@redhat.com</a>&gt;</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">&gt; David,<br>
&gt;<br>
&gt; Thanks for the reply.  I&#39;ve tried adding --ca-file to the spicec<br>
&gt; command line but still receive the same error.  Here is the command:<br>
&gt;<br>
&gt; spicec -h localhost -p $PORT -s $SPORT --secure-channels all<br>
&gt; --host-subject &quot;$HOSTSUBJECT&quot; --ca-file ca-cert.pem -w $PASSWD<br>
&gt;<br>
&gt; Same error:<br>
&gt;<br>
&gt; Error: failed to connect w/SSL, ssl_error<br>
&gt; error:00000001:lib(0):func(0):reason(1)<br>
&gt; 140613653984512:error:14090086:SSL<br>
&gt; routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify<br>
&gt; failed:s3_clnt.c:1063:<br>
&gt; Warning: SSL Error:<br>
<br>
</div>Hi Anthony,<br>
<br>
try several times. It&#39;s a known bug in spicec that when you&#39;re<br>
connecting manually, the connection fails several times before it is<br>
established. Actually it&#39;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">&gt;<br>
&gt; On Fri, Mar 23, 2012 at 6:06 AM, David Jaša &lt;<a href="mailto:djasa@redhat.com">djasa@redhat.com</a>&gt; wrote:<br>
&gt;         Hi Anthony,<br>
&gt;<br>
&gt;         Anthony James píše v Čt 22. 03. 2012 v 15:40 -0400:<br>
&gt;         &gt; I&#39;m having problems connecting to a spice virtual machine<br>
&gt;         using SSL.<br>
&gt;         &gt;  I use the following command to connect:<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt; spicec -h localhost -p $PORT -s $SPORT --secure-channels all<br>
&gt;         &gt; --host-subject &quot;$HOSTSUBJECT&quot; -w $PASSWD<br>
&gt;         &gt;<br>
&gt;<br>
&gt;         You&#39;re missing --ca-file $CA_CERTIFICATE_FILE in your command<br>
&gt;         line.<br>
&gt;<br>
&gt;         David<br>
&gt;         &gt;<br>
&gt;         &gt; The error I receive is:<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt; Error: failed to connect w/SSL, ssl_error<br>
&gt;         &gt; error:00000001:lib(0):func(0):reason(1)<br>
&gt;         &gt; 139699632096512:error:14090086:SSL<br>
&gt;         &gt; routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify<br>
&gt;         &gt; failed:s3_clnt.c:1063:<br>
&gt;         &gt; Warning: SSL Error:<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt; I have followed the instructions from the following 2 sites<br>
&gt;         to<br>
&gt;         &gt; configure the SSL certs:<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt; <a href="http://www.spice-space.org/page/SSLConnection" target="_blank">http://www.spice-space.org/page/SSLConnection</a><br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         <a href="http://fedoraproject.org/w/index.php?title=QA:Testcase_Virtualization_Manually_set_spice_listening_port_with_TLS_port_set&amp;oldid=255162" target="_blank">http://fedoraproject.org/w/index.php?title=QA:Testcase_Virtualization_Manually_set_spice_listening_port_with_TLS_port_set&amp;oldid=255162</a><br>

&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt; Any help would be greatly appreciated, I&#39;m sure I&#39;m missing<br>
&gt;         something.<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt; Thanks,<br>
&gt;         &gt; Tony<br>
&gt;<br>
&gt;         &gt; _______________________________________________<br>
&gt;         &gt; Spice-devel mailing list<br>
&gt;         &gt; <a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br>
&gt;         &gt; <a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
&gt;<br>
&gt;<br>
&gt;         --<br>
&gt;<br>
&gt;         David Jaša, RHCE<br>
&gt;<br>
&gt;         SPICE QE based in Brno<br>
&gt;         GPG Key:     22C33E24<br>
&gt;         Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Spice-devel mailing list<br>
&gt; <a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br>
&gt; <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>