<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[wolfSSL - Embedded SSL Library — SendClientKeyExchange fail]]></title>
		<link>https://www.wolfssl.com/forums/topic551-sendclientkeyexchange-fail.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic551.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in SendClientKeyExchange fail.]]></description>
		<lastBuildDate>Fri, 06 Jun 2014 16:12:16 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: SendClientKeyExchange fail]]></title>
			<link>https://www.wolfssl.com/forums/post1653.html#p1653</link>
			<description><![CDATA[<p>Hi zhbn,</p><p>It sounds like the server you are testing against is only using TLS 1.2.&nbsp; Are you testing against the wolfSSL embedded SSL example server?</p><p>If you would like to use SSL 3.0 with the wolfSSL example server, you can change the protocol version used with the &quot;-v&quot; option, i.e.:</p><p>./examples/server/server -v 0</p><p>Best Regards,<br />Chris</p>]]></description>
			<author><![CDATA[null@example.com (chrisc)]]></author>
			<pubDate>Fri, 06 Jun 2014 16:12:16 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post1653.html#p1653</guid>
		</item>
		<item>
			<title><![CDATA[Re: SendClientKeyExchange fail]]></title>
			<link>https://www.wolfssl.com/forums/post1644.html#p1644</link>
			<description><![CDATA[<p>i tested the&nbsp; client&nbsp; example project ,when i change the method to method = wolfSSLv3_client_method(), wolfSSL_connect return fail ,when i change it to&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; method = wolfTLSv1_2_client_method(); it works ! so ,who know why?</p>]]></description>
			<author><![CDATA[null@example.com (zhbn)]]></author>
			<pubDate>Mon, 26 May 2014 10:10:09 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post1644.html#p1644</guid>
		</item>
		<item>
			<title><![CDATA[SendClientKeyExchange fail]]></title>
			<link>https://www.wolfssl.com/forums/post1643.html#p1643</link>
			<description><![CDATA[<p>here is source&nbsp; code ,who know why?<br />&nbsp; <br />&nbsp; &nbsp;wolfSSL_Init();&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; client-&gt;data.ctx = SSL_CTX_new(wolfSSLv3_client_method());&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; if (wolfSSL_CTX_set_cipher_list(client-&gt;data.ctx, cipherList) != SSL_SUCCESS)<br />&nbsp; &nbsp; &nbsp; { <br />&nbsp; &nbsp; &nbsp; &nbsp; uart_printf( &quot;set cipher error&quot; );<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; base64decode( host_root_ca_buffer , &amp;lengh&nbsp; , lock_rev_buffer);<br />&nbsp; &nbsp; &nbsp; ret = wolfSSL_CTX_use_certificate_buffer(client-&gt;data.ctx,lock_rev_buffer, lengh, SSL_FILETYPE_PEM);<br />&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; base64decode( host_root_key_buffer , &amp;lengh&nbsp; , lock_rev_buffer);<br />&nbsp; &nbsp; &nbsp; ret = wolfSSL_CTX_use_PrivateKey_buffer(client-&gt;data.ctx,lock_rev_buffer, lengh , SSL_FILETYPE_PEM );&nbsp; &nbsp; &nbsp; </p><br /><p>&nbsp; &nbsp; &nbsp; client-&gt;data.ssl = SSL_new(client-&gt;data.ctx);<br />&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; client-&gt;data.bio = wolfSSL_BIO_new_socket((int)client-&gt;connection,0);</p><p>&nbsp; &nbsp; &nbsp; wolfSSL_set_bio(client-&gt;data.ssl, client-&gt;data.bio, client-&gt;data.bio);<br />&nbsp; &nbsp; &nbsp; wolfSSL_CTX_set_verify(client-&gt;data.ctx, SSL_VERIFY_NONE, 0);<br />&nbsp; &nbsp; &nbsp; SSL_set_connect_state(client-&gt;data.ssl);<br />&nbsp; &nbsp; &nbsp;///// wolfSSL_set_group_messages(client-&gt;data.ssl);</p><p>&nbsp; &nbsp; &nbsp;// client_ssl_handshake(client-&gt;data.ssl);<br />&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; if (wolfSSL_negotiate(client-&gt;data.ssl) != SSL_SUCCESS) <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; BIO_free(client-&gt;data.bio);<br />&nbsp; &nbsp; &nbsp; &nbsp; SSL_CTX_free(client-&gt;data.ctx);<br />&nbsp; &nbsp; &nbsp; &nbsp; SSL_free(client-&gt;data.ssl);&nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; return LOCKDOWN_STATUS_START_SESSION_FAILED;<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; }</p>]]></description>
			<author><![CDATA[null@example.com (zhbn)]]></author>
			<pubDate>Mon, 26 May 2014 08:24:45 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post1643.html#p1643</guid>
		</item>
	</channel>
</rss>
