<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>cerificate &#8211; Mario Chivale ♦ Personal Website</title>
	<atom:link href="https://www.mario.chivale.com/tag/cerificate/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.mario.chivale.com</link>
	<description>Mario Chivale Personal Website ♦ IT • Informatyka • Computer Science • Elektronika • Electronics • Elektryka • Electricity</description>
	<lastBuildDate>Wed, 01 May 2024 09:39:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>How to disable certificate validation in Symfony Mailer</title>
		<link>https://www.mario.chivale.com/how-to-disable-certificate-validation-in-symfony-mailer/</link>
		
		<dc:creator><![CDATA[Tatsu]]></dc:creator>
		<pubDate>Wed, 01 May 2024 09:34:01 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[TIPS]]></category>
		<category><![CDATA[cerificate]]></category>
		<category><![CDATA[EsmtpTransportFactory]]></category>
		<category><![CDATA[EsmtpTransportFactory.php]]></category>
		<category><![CDATA[FILTER_VALIDATE_BOOLEAN]]></category>
		<category><![CDATA[Mailer]]></category>
		<category><![CDATA[peer]]></category>
		<category><![CDATA[self signed]]></category>
		<category><![CDATA[self signed certificate]]></category>
		<category><![CDATA[SMTP]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[Symfony]]></category>
		<category><![CDATA[tls]]></category>
		<category><![CDATA[transport]]></category>
		<category><![CDATA[verify]]></category>
		<category><![CDATA[verify_peer]]></category>
		<category><![CDATA[verify_peer_name]]></category>
		<guid isPermaLink="false">https://www.mario.chivale.com/?p=832</guid>

					<description><![CDATA[To disable certificate validation &#8220;verify_peer&#8221;, edit file: symfony/mailer/Transport/Smtp/EsmtpTransportFactory.php Search line: if (&#8221; !== $dsn-&#62;getOption(&#8216;verify_peer&#8217;) &#38;&#38; !filter_var($dsn-&#62;getOption(&#8216;verify_peer&#8217;, true), \FILTER_VALIDATE_BOOLEAN)) { and replace with this line or set true to false: if (&#8221; !== $dsn-&#62;getOption(&#8216;verify_peer&#8217;) &#38;&#38; !filter_var($dsn-&#62;getOption(&#8216;verify_peer&#8217;, false), \FILTER_VALIDATE_BOOLEAN)) { also if this line below are true, change to false: $streamOptions[&#8216;ssl&#8217;][&#8216;verify_peer&#8217;] = false; $streamOptions[&#8216;ssl&#8217;][&#8216;verify_peer_name&#8217;] = false;]]></description>
										<content:encoded><![CDATA[<p>To disable certificate validation &#8220;verify_peer&#8221;, edit file:<br />
symfony/mailer/Transport/Smtp/EsmtpTransportFactory.php</p>
<p>Search line:<br />
if (&#8221; !== $dsn-&gt;getOption(&#8216;verify_peer&#8217;) &amp;&amp; !filter_var($dsn-&gt;getOption(&#8216;verify_peer&#8217;, <strong>true</strong>), \FILTER_VALIDATE_BOOLEAN)) {</p>
<p>and replace with this line or set <strong>true</strong> to <strong>false</strong>:<br />
if (&#8221; !== $dsn-&gt;getOption(&#8216;verify_peer&#8217;) &amp;&amp; !filter_var($dsn-&gt;getOption(&#8216;verify_peer&#8217;, <strong>false</strong>), \FILTER_VALIDATE_BOOLEAN)) {</p>
<p>also if this line below are true, change to false:<br />
$streamOptions[&#8216;ssl&#8217;][&#8216;verify_peer&#8217;] = <strong>false</strong>;<br />
$streamOptions[&#8216;ssl&#8217;][&#8216;verify_peer_name&#8217;] = <strong>false</strong>;</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
