<?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 — "Don't have ECC" server error for static DH suite]]></title>
		<link>https://www.wolfssl.com/forums/topic2013-dont-have-ecc-server-error-for-static-dh-suite.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic2013.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in "Don't have ECC" server error for static DH suite.]]></description>
		<lastBuildDate>Tue, 06 Jun 2023 21:16:11 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: "Don't have ECC" server error for static DH suite]]></title>
			<link>https://www.wolfssl.com/forums/post7141.html#p7141</link>
			<description><![CDATA[<p>Hi artur</p><p>Glad to be able to help!</p><p>Thanks for the confirmation,<br />Sean :-)</p>]]></description>
			<author><![CDATA[null@example.com (Sean Parkinson)]]></author>
			<pubDate>Tue, 06 Jun 2023 21:16:11 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7141.html#p7141</guid>
		</item>
		<item>
			<title><![CDATA[Re: "Don't have ECC" server error for static DH suite]]></title>
			<link>https://www.wolfssl.com/forums/post7137.html#p7137</link>
			<description><![CDATA[<p>Hi Sean,</p><p>Thanks a lot for your help.</p><p>You were absolutely correct, </p><p>I regenerated my certs with:<br /></p><div class="codebox"><pre><code>openssl ecparam -genkey -name prime256v1 -out key.pem
openssl req -new -sha256 -key key.pem -out csr.csr
openssl req -x509 -sha256 -days 365 -key key.pem -in csr.csr -out certificate.pem</code></pre></div><p>and it appears to be working now.</p>]]></description>
			<author><![CDATA[null@example.com (artur)]]></author>
			<pubDate>Mon, 05 Jun 2023 13:00:52 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7137.html#p7137</guid>
		</item>
		<item>
			<title><![CDATA[Re: "Don't have ECC" server error for static DH suite]]></title>
			<link>https://www.wolfssl.com/forums/post7135.html#p7135</link>
			<description><![CDATA[<p>Hi artur,</p><p>The issue that debug is trying to show is that the server doesn&#039;t have an ECC key or certificate.<br />Please try the following server command line:</p><div class="codebox"><pre><code>./example/server/server -l TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256 -c ./certs/server-ecc-rsa.pem -k ./certs/ecckey.pem</code></pre></div><p>Alternatively, if you are using ECC for all certificates in the chain, then this pair of command lines show the use:</p><div class="codebox"><pre><code>./example/server/server -l TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256 -c ./certs/server-ecc.pem -k ./certs/ecckey.pem</code></pre></div><div class="codebox"><pre><code>./example/client/client -l TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256 -A ./certs/ca-ecc-cert.pem</code></pre></div><p>Note that, by default, the client and server will use RSA keys and certificates.<br />These command lines are explicitly loading ECC keys and certificates. If you compile out RSA, then ECC keys and certificates are used by default.</p><p>Let us know if this works for you.</p><p>Sean</p><p>--<br />Sean Parkinson, wolfSSL<br />Senior Software Engineer</p>]]></description>
			<author><![CDATA[null@example.com (Sean Parkinson)]]></author>
			<pubDate>Sun, 04 Jun 2023 22:37:19 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7135.html#p7135</guid>
		</item>
		<item>
			<title><![CDATA["Don't have ECC" server error for static DH suite]]></title>
			<link>https://www.wolfssl.com/forums/post7134.html#p7134</link>
			<description><![CDATA[<p>Hi All,</p><p>trying WolfSLL v5.6.0-stable.</p><p>build option:<br /></p><div class="codebox"><pre><code>./configure --enable-pkcs11 --enable-ecc --enable-debug</code></pre></div><p>diff wolfssl/wolfcrypt/settings.h:<br /></p><div class="codebox"><pre><code>-/* #define WOLFSSL_STATIC_DH */
+#define WOLFSSL_STATIC_DH</code></pre></div><p>OS: ubuntu 20.04</p><p>server:<br /></p><div class="codebox"><pre><code>./example/server/server -l TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256</code></pre></div><p>client:<br /></p><div class="codebox"><pre><code>./example/client/client -l TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256</code></pre></div><p>error on server side:<br /></p><div class="codebox"><pre><code>...
Requires ECC
Don&#039;t have ECC
...</code></pre></div><p>full output in attachments</p><p>The ssl-&gt;options.haveECC is 0 on server side, and I can&#039;t find a way to enable it.</p><p>Please help to fix, <br />thank you</p>]]></description>
			<author><![CDATA[null@example.com (artur)]]></author>
			<pubDate>Fri, 02 Jun 2023 19:02:45 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7134.html#p7134</guid>
		</item>
	</channel>
</rss>
