<?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 — Getting "Key Usage value error" calling SSL_CTX_load_verify_locations]]></title>
		<link>https://www.wolfssl.com/forums/topic2209-getting-key-usage-value-error-calling-sslctxloadverifylocations.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic2209.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Getting "Key Usage value error" calling SSL_CTX_load_verify_locations.]]></description>
		<lastBuildDate>Wed, 30 Oct 2024 16:45:31 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Getting "Key Usage value error" calling SSL_CTX_load_verify_locations]]></title>
			<link>https://www.wolfssl.com/forums/post7994.html#p7994</link>
			<description><![CDATA[<p>No problem and my pleasure!!<br />Warm regards, Anthony</p>]]></description>
			<author><![CDATA[null@example.com (anthony)]]></author>
			<pubDate>Wed, 30 Oct 2024 16:45:31 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7994.html#p7994</guid>
		</item>
		<item>
			<title><![CDATA[Re: Getting "Key Usage value error" calling SSL_CTX_load_verify_locations]]></title>
			<link>https://www.wolfssl.com/forums/post7993.html#p7993</link>
			<description><![CDATA[<p>Yes that was it, thank you!&nbsp; I&#039;m new to this whole thing so totally didn&#039;t know that was needed.</p>]]></description>
			<author><![CDATA[null@example.com (jlewis)]]></author>
			<pubDate>Wed, 30 Oct 2024 16:08:50 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7993.html#p7993</guid>
		</item>
		<item>
			<title><![CDATA[Re: Getting "Key Usage value error" calling SSL_CTX_load_verify_locations]]></title>
			<link>https://www.wolfssl.com/forums/post7989.html#p7989</link>
			<description><![CDATA[<p>HI jlewis, </p><p>My name is Anthony and I am a member of the wolfSSL team. </p><p>I noticed that the issuer and subject are the same making this a Root CA certificate.&nbsp; I think you might need a basic constraints extension that states that this is a CA certificate.&nbsp; </p><p>Warm regards, Anthony</p>]]></description>
			<author><![CDATA[null@example.com (anthony)]]></author>
			<pubDate>Wed, 30 Oct 2024 15:14:35 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7989.html#p7989</guid>
		</item>
		<item>
			<title><![CDATA[Getting "Key Usage value error" calling SSL_CTX_load_verify_locations]]></title>
			<link>https://www.wolfssl.com/forums/post7984.html#p7984</link>
			<description><![CDATA[<p>Hello, I&#039;m using the openSSL compatibility layer so calling SSL_CTX_load_verify_locations should be calling wolfSSL_CTX_load_verify_locations.&nbsp; The return value != 1 so I call getSslStackError() and get back &quot;Key usage value error&quot;.</p><p>I have configured wolfSSL like so:<br />./configure --enable-dtls --enable-opensslextra --enable-context-extra-user-data --enable-certext --enable-certgen --enable-debug</p><p>My CA cert looks like this:<br />Certificate:<br />&nbsp; &nbsp; Data:<br />&nbsp; &nbsp; &nbsp; &nbsp; Version: 3 (0x2)<br />&nbsp; &nbsp; &nbsp; &nbsp; Serial Number:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 5b:e7:bf:61:9a:f8:7c:eb:e4:a1:af:96:e9:0b:fd:6b:29:ac:73:f1<br />&nbsp; &nbsp; &nbsp; &nbsp; Signature Algorithm: ecdsa-with-SHA256<br />&nbsp; &nbsp; &nbsp; &nbsp; Issuer: C = US, ST = CA, L = Foster City, O = Zoox, OU = Test Signing Authority<br />&nbsp; &nbsp; &nbsp; &nbsp; Validity<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Not Before: Oct 25 20:34:05 2024 GMT<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Not After : Nov 24 20:34:05 2024 GMT<br />&nbsp; &nbsp; &nbsp; &nbsp; Subject: C = US, ST = CA, L = Foster City, O = Zoox, OU = Test Signing Authority<br />&nbsp; &nbsp; &nbsp; &nbsp; Subject Public Key Info:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Public Key Algorithm: id-ecPublicKey<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Public-Key: (256 bit)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pub:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 04:eb:27:4a:84:16:4d:df:6e:7e:41:6c:fa:20:8c:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3d:d2:3a:92:af:dc:e4:f0:0a:3b:cd:de:8d:a1:fe:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 31:dc:d6:fc:f5:de:d3:75:c2:75:5d:6f:59:14:88:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 44:8f:09:e2:9d:74:5c:bc:4b:d8:f6:9d:79:24:71:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dc:f0:0c:09:17<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ASN1 OID: prime256v1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NIST CURVE: P-256<br />&nbsp; &nbsp; &nbsp; &nbsp; X509v3 extensions:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; X509v3 Key Usage: critical<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Digital Signature, Certificate Sign, CRL Sign<br />&nbsp; &nbsp; Signature Algorithm: ecdsa-with-SHA256<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;30:44:02:20:53:e7:bb:d8:37:11:8b:1c:bf:1b:42:10:d1:dc:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;8a:05:52:f3:a7:71:0f:32:e2:aa:e7:3b:bb:e9:66:42:0f:93:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;02:20:32:34:db:d0:e3:fa:94:2a:c2:8b:b6:b1:b2:de:23:47:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;fa:4d:8f:ee:45:ad:47:cb:c6:23:6c:31:06:a1:41:de</p><br /><p>Any idea what I&#039;m doing wrong?&nbsp; Thanks!</p>]]></description>
			<author><![CDATA[null@example.com (jlewis)]]></author>
			<pubDate>Tue, 29 Oct 2024 23:48:09 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7984.html#p7984</guid>
		</item>
	</channel>
</rss>
