<?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 — wolfssl-tutorial-2.0 does not work, communication problem?]]></title>
		<link>https://www.wolfssl.com/forums/topic510-wolfssltutorial20-does-not-work-communication-problem.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic510.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in wolfssl-tutorial-2.0 does not work, communication problem?.]]></description>
		<lastBuildDate>Wed, 12 Feb 2014 18:58:13 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: wolfssl-tutorial-2.0 does not work, communication problem?]]></title>
			<link>https://www.wolfssl.com/forums/post1546.html#p1546</link>
			<description><![CDATA[<p>Hi Chris,</p><p>I think the tutorial was quite good.&nbsp; It gave me a good springboard to start from.&nbsp; The only problem I had is being fairly new to Linux; which of course has nothing to do with the tutorial.&nbsp; Certain things in Windows happens automatically (like registering a library).&nbsp; Not so much in Linux and I am learning some of this the hard way.</p><p>My next task is to change the code in the tutorial from using TCP with TSL to using UPD with DTSL.&nbsp; Should be fun.</p><p>Thanks,</p><p>Doug</p>]]></description>
			<author><![CDATA[null@example.com (douglas.atkinson)]]></author>
			<pubDate>Wed, 12 Feb 2014 18:58:13 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post1546.html#p1546</guid>
		</item>
		<item>
			<title><![CDATA[Re: wolfssl-tutorial-2.0 does not work, communication problem?]]></title>
			<link>https://www.wolfssl.com/forums/post1545.html#p1545</link>
			<description><![CDATA[<p>Hi Doug,</p><p>Thanks for your comments about the SSL tutorial and for bringing the expired certificates to our attention.&nbsp; I&#039;ll put it on our list to take another pass through the tutorial and give it a refresh/update and add in any extra enhancements which may make it easier to use.</p><p>If you have any additional feedback on the tutorial, specifically areas you would like to see improved upon, please let me know.&nbsp; Ideally, we&#039;d like to make it as easy for users to work through as possible.</p><p>Best Regards,<br />Chris</p>]]></description>
			<author><![CDATA[null@example.com (chrisc)]]></author>
			<pubDate>Wed, 12 Feb 2014 17:55:37 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post1545.html#p1545</guid>
		</item>
		<item>
			<title><![CDATA[Re: wolfssl-tutorial-2.0 does not work, communication problem?]]></title>
			<link>https://www.wolfssl.com/forums/post1540.html#p1540</link>
			<description><![CDATA[<p>Thank you for the response.&nbsp; Copying the new certs and key made everything work.</p><p>Doug</p>]]></description>
			<author><![CDATA[null@example.com (douglas.atkinson)]]></author>
			<pubDate>Tue, 11 Feb 2014 03:08:14 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post1540.html#p1540</guid>
		</item>
		<item>
			<title><![CDATA[Re: wolfssl-tutorial-2.0 does not work, communication problem?]]></title>
			<link>https://www.wolfssl.com/forums/post1539.html#p1539</link>
			<description><![CDATA[<p>Hi Douglas,</p><p>regarding the outdated certificates:<br />AFAIK, the ones outdated were recently updated in git [1]. You could try to download them from there and try again with those - this should eliminate the possibility of your self-created certificates not being correct in some way.</p><p>WolfSSL also released wolfSSL embedded SSL 2.9.0 last Friday (the downloads on the website are not updated yet I saw, but they tagged this version already in git [2]). You could try downloading this version and trying it.</p><p>[1] <a href="https://github.com/cyassl/cyassl/tree/master/certs">https://github.com/cyassl/cyassl/tree/master/certs</a><br />[2] <a href="https://github.com/cyassl/cyassl/tree/v2.9.0">https://github.com/cyassl/cyassl/tree/v2.9.0</a></p><p>Best regards,<br />Daniel</p>]]></description>
			<author><![CDATA[null@example.com (Zeddi)]]></author>
			<pubDate>Mon, 10 Feb 2014 14:59:14 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post1539.html#p1539</guid>
		</item>
		<item>
			<title><![CDATA[wolfssl-tutorial-2.0 does not work, communication problem?]]></title>
			<link>https://www.wolfssl.com/forums/post1538.html#p1538</link>
			<description><![CDATA[<p>Hi,</p><p>I have worked through the tutorial from chapter 11 in the manual and provided in a seperate document ssl-tutorial-2.0.</p><p>Both the echoclient and echoserver build and start without any problems.</p><p>I run into a problem when I try to send a message from the client to the server.<br />The following are the steps I use to run the programs and the output I get:<br />1. Start the server first.<br />2. Start the client with sudo ./echoclient 127.0.0.1 after which I get an output from the server Connection from 127.0.0.1, port 50890<br />3. Type hello at the client and press enter.<br />4. I wrote some code in the server to output the error message.&nbsp; In the server, I get &quot;wolfSSL_read error = -208, Error string: error state on socket&quot;<br />In the client I get wolfSSL_write failed: Success.</p><p>So the problem seems to start in the str_cli() function of the tcpcli01.c file. So examing this and adding some code, to get the error code and error string from the wolfSSL_write I run the steps from above again, this time I get the error code and string in from the wolfSSL_write in the client:</p><p>&quot;error = -151, ASN date error, current date after.&quot;</p><p>So I suspect there is a problem with the certificates.&nbsp; I am not really sure if it is with the server or client certificates so I check both and they have an ending date of March 26, 2013.</p><p>So I try to build my own keys and certificates from the instructions found in wolfSSL-2.8.0/certs/taoCert.txt.&nbsp; I replace the newly built certs with the old certs and ran the steps again.&nbsp; This time I get the error</p><p>&quot;error = -188, ASN no signer error to confrim failure&quot;</p><p>So I think that I must not have built the certificates correctly, but I believer I have followed the instructions as closely as possible.</p><p>I any one can give me suggestions or guidance on what I need to do to successfully exchange messages between the client and server I would greatly appreciate it.</p><p>Thanks,</p><p>Doug</p>]]></description>
			<author><![CDATA[null@example.com (douglas.atkinson)]]></author>
			<pubDate>Mon, 10 Feb 2014 02:55:14 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post1538.html#p1538</guid>
		</item>
	</channel>
</rss>
