<?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 — Need to remove a certificate from a certificate chain]]></title>
		<link>https://www.wolfssl.com/forums/topic1897-need-to-remove-a-certificate-from-a-certificate-chain.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic1897.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Need to remove a certificate from a certificate chain.]]></description>
		<lastBuildDate>Wed, 20 Jul 2022 23:38:00 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Need to remove a certificate from a certificate chain]]></title>
			<link>https://www.wolfssl.com/forums/post6670.html#p6670</link>
			<description><![CDATA[<p>Hi Chris,</p><p>We do not support doing this at runtime.&nbsp; Are you able to remove the undesired certificates from your chain before passing it to wolfSSL?</p><p>Thanks,<br />Kareem</p>]]></description>
			<author><![CDATA[null@example.com (kareem_wolfssl)]]></author>
			<pubDate>Wed, 20 Jul 2022 23:38:00 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post6670.html#p6670</guid>
		</item>
		<item>
			<title><![CDATA[Need to remove a certificate from a certificate chain]]></title>
			<link>https://www.wolfssl.com/forums/post6662.html#p6662</link>
			<description><![CDATA[<p>Here is what I do:<br />wolfSSL_CTX_use_certificate_chain_file (from a file containing several PEM certificates from leaf -&gt; intermediates -&gt; root)<br />wolfSSL_CTX_get_extra_chain_certs (to get a link to the certificate chain)<br />wolfSSL_X509_get_subject_name (to get the subject name of each certificate in chain)</p><p>When I find a certificate with a particular subject name, I need to delete it from the certificate chain in the ctx (and anywhere else it resides).</p><p>I cannot figure out how to do this cleanly.</p><p>The end goal is that a particularly named certificate needs to NOT be included in TLS Hello exchange.</p><p>Any help would be much appreciated.&nbsp; I&#039;ve tried everything I can think of.</p><p>Thank you</p>]]></description>
			<author><![CDATA[null@example.com (christopher.mazza)]]></author>
			<pubDate>Wed, 20 Jul 2022 13:40:53 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post6662.html#p6662</guid>
		</item>
	</channel>
</rss>
