<?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 — How to print peer's certificates on console]]></title>
		<link>https://www.wolfssl.com/forums/topic2040-how-to-print-peers-certificates-on-console.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic2040.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in How to print peer's certificates on console.]]></description>
		<lastBuildDate>Wed, 27 Sep 2023 14:59:09 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: How to print peer's certificates on console]]></title>
			<link>https://www.wolfssl.com/forums/post7262.html#p7262</link>
			<description><![CDATA[<p>Hi bahadirmaktav,</p><p>You can use the wolfSSL example client application to get similar functionality:</p><p>Build wolfSSL with</p><div class="codebox"><pre><code>./configure --enable-all CFLAGS=&quot;-DSHOW_CERTS&quot; &amp;&amp; make</code></pre></div><p>Run the client</p><div class="codebox"><pre><code>./examples/client/client -h &lt;hostname&gt; -p &lt;port&gt;</code></pre></div><p>Use the -j option to override CA issues</p><p>Thanks,<br />Eric - wolfSSL Support</p>]]></description>
			<author><![CDATA[null@example.com (embhorn)]]></author>
			<pubDate>Wed, 27 Sep 2023 14:59:09 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7262.html#p7262</guid>
		</item>
		<item>
			<title><![CDATA[How to print peer's certificates on console]]></title>
			<link>https://www.wolfssl.com/forums/post7261.html#p7261</link>
			<description><![CDATA[<p>Hi,</p><p>When I am using &#039;openssl s_client&#039; tool, I can print peer certificates which sent from the server on console with a parameter called &#039;-showcerts&#039;. When I use this I can see the certificates in pem format on console.</p><p>Is there any way to print peer certificates in pem or der format on console. It does not have to be a parameter like &#039;-showcerts&#039;, If you know which variable or which function use gets those certificates, I can put a print statement there.</p><p>I am asking this because, when I run with the openssl command like &#039;openssl s_client -showcerts -connect &lt;hostname and port&gt;&#039;, I can see the peer certificates(cert chain with two certificates), but I believe that there might be a problem about getting the right certificates from server for wolfssl.</p>]]></description>
			<author><![CDATA[null@example.com (bahadirmaktav)]]></author>
			<pubDate>Wed, 27 Sep 2023 14:11:29 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7261.html#p7261</guid>
		</item>
	</channel>
</rss>
