<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="326869" data-post-id="326869">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="fmn" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/fmn/120/26825_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  fmn
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="silverdr" data-post="21" data-topic="58308">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/silverdr/48/23771_2.png" class="avatar"> silverdr:</div>
<blockquote>
<p>Erm… no, the application worked for a long time correctly and there were zero changes</p>
</blockquote>
</aside>
<p>sure, just suggesting an approach which helped me many many times in the past in similar situations.<br>
reg. “nothing changed, it worked in the past” - well, obviously something changed, and you don’t know what. using Wireshark way i suggested can help you to figure it out.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="326869" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/unable-to-send-an-email-via-my-smtp-server-via-ssl-tls-but-my-local-email-client-works-well/58308/22">Post #21</a>
	                </div>
	            </div>
              <div id="likers-container-326869" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="326869"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #21"></div>
  </section>
</div>
    <div class="postbit" id="326872" data-post-id="326872">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="silverdr" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/silverdr/120/23771_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  silverdr
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I only referred to the part of incorrect port/protocol/… which would typically mean misconfiguration but configuration was and is apparently correct and hasn’t been changed in any way. When troubleshooting I also dumped the SSL negotiation into mail server logs, which while not so sophisticated as Wireshark showed enough to point back to the client. In any case thank you for your input too, and I apologise if my response sounded inappropriate. Wasn’t intended so</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="326872" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/unable-to-send-an-email-via-my-smtp-server-via-ssl-tls-but-my-local-email-client-works-well/58308/23">Post #22</a>
	                </div>
	            </div>
              <div id="likers-container-326872" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="326872"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #22"></div>
  </section>
</div>
    <div class="postbit" id="326882" data-post-id="326882">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="fmn" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/fmn/120/26825_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  fmn
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>no no! nothing wrong with your reply! <img src="https://forum.elixirforum.com/images/emoji/apple/smiley.png?v=15" title=":smiley:" class="emoji" alt=":smiley:" loading="lazy" width="20" height="20"><br>
i still think quite explicit hints about origin of your issues lie in TLS handshake.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="326882" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/unable-to-send-an-email-via-my-smtp-server-via-ssl-tls-but-my-local-email-client-works-well/58308/24">Post #23</a>
	                </div>
	            </div>
              <div id="likers-container-326882" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="326882"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #23"></div>
  </section>
</div>
    <div class="postbit" id="326888" data-post-id="326888">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="silverdr" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/silverdr/120/23771_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  silverdr
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Yes. The mail server log dumps showed that the client (the elixir application → Swoosh → gen_smtp → OTP26) didn’t react properly during 1.3 negotiation/handshake. It sent only a few bytes instead of a supposedly expected cert response. FWIW I wouldn’t know how to plug Wireshark between remote docker container and the server where the network is a docker “bridge” network (and replicating the setup locally would be a rather sizeable effort) so my only quick idea was to enable debug logging on the mail server in order to get more detailed SSL negotiation communication dumps. While this was still a lot of hexdump bytes, the behaviour looked somewhat similar to the symptoms described in the bug report and follow-up discussion on the <a href="https://github.com/erlang/otp/issues/8356" rel="noopener nofollow ugc">OTP Github issue</a> <a class="mention" href="/u/al2o3cr" rel="nofollow">@al2o3cr</a> linked to.  All in all thanks to all who responded - it’s a devops nightmare to to get key functionality of a prod env application suddenly severed with no apparent fault on your side and no solution in sight after many hours of troubleshooting. Luckily OTP 24 works all fine now</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="326888" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/unable-to-send-an-email-via-my-smtp-server-via-ssl-tls-but-my-local-email-client-works-well/58308/25">Post #24</a>
	                </div>
	            </div>
              <div id="likers-container-326888" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="326888"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #24"></div>
  </section>
</div>
    <div class="postbit" id="328018" data-post-id="328018">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="silverdr" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/silverdr/120/23771_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  silverdr
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>FWIW - 26.2.5 images with Elixir 1.16.2 are <a href="https://hub.docker.com/r/hexpm/elixir/tags?page=&amp;page_size=&amp;ordering=&amp;name=1.16.2-erlang-26.2.5" rel="noopener nofollow ugc">available</a> now for over a week. My problem was indeed caused by that OTP 25/26 bug but… for “posterity” it was not enough to just replace OTP with 26.2.5!</p>
<p>Once I did built the “runner” image with 26.2.5 it started throwing another error, namely a</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">- {:bad_cert, :max_path_length_reached}
</code></pre>
<p>one, which of course was never a problem before <img src="https://forum.elixirforum.com/images/emoji/apple/wink.png?v=15" title=":wink:" class="emoji" alt=":wink:" loading="lazy" width="20" height="20"> Luckily this one was much easier to find a solution to. Going to <a href="https://www.erlang.org/doc/man/ssl" class="inline-onebox" rel="nofollow">ssl — OTP 29.0.2 (ssl 11.7.2)</a> and doing search for “path” revealed</p>
<aside class="onebox allowlistedgeneric" data-onebox-src="https://www.erlang.org/doc/apps/ssl/ssl.html">
  <header class="source">

      <a href="https://www.erlang.org/doc/apps/ssl/ssl.html" target="_blank" rel="noopener nofollow">erlang.org</a>
  </header>

  <article class="onebox-body">
    

<h3><a href="https://www.erlang.org/doc/apps/ssl/ssl.html" target="_blank" rel="noopener nofollow">ssl — OTP 29.0.2 (ssl 11.7.2)</a></h3>



  </article>

  <div class="onebox-metadata">
    
    
  </div>

  <div style="clear: both"></div>
</aside>

<p>which talks about “depth” so searching for “depth” lead me to an option in <a href="https://www.erlang.org/doc/man/ssl#type-common_option" rel="nofollow">common_option</a>, which given a nice, round number of 64 cured the setup. Thus my current (working) prod config – if somebody ever needs hints is:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">	config :my_app, MyApp.Mailer,
		adapter: Swoosh.Adapters.SMTP,
		relay: System.get_env("SMTP_RELAY", "mail.myapp.com"),
		hostname: System.get_env("SMTP_HOSTNAME", "mail.mysmtpserver.com"),
		username: System.get_env("SMTP_USERNAME", "no-reply@myapp.com"),
		password: System.get_env("SMTP_PASSWORD"),
		auth: :always,
		ssl: false,
		tls: :always,
		tls_options: [
			versions: [:"tlsv1.3"],
			cacerts: :public_key.cacerts_get(),
			server_name_indication: 'mail.mysmtpserver.com', # what your certificate is issued for
			depth: 64, # important or stuff may crash with - {:bad_cert, :max_path_length_reached}
		],
		port: 587,
		retries: 2
</code></pre>
<p>hostnames and application name are “dummies” of course.</p>
<p><img src="https://forum.elixirforum.com/images/emoji/apple/bowing_man.png?v=15" title=":bowing_man:" class="emoji" alt=":bowing_man:" loading="lazy" width="20" height="20"> to <a class="mention" href="/u/al2o3cr" rel="nofollow">@al2o3cr</a> the umpteenth time <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="328018" data-batch-url="/posts/batch_likers">
                        3
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/unable-to-send-an-email-via-my-smtp-server-via-ssl-tls-but-my-local-email-client-works-well/58308/26">Post #25</a>
	                </div>
	            </div>
              <div id="likers-container-328018" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="328018"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #25"></div>
  </section>
</div>
    <div class="postbit" id="340251" data-post-id="340251">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="ricw" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  ricw
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Not exactly the use case here, but in case you want to use swoosh + smtp adapter + gmail to simply send some emails, here is a configuration that worked for me:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">email_password =
  System.get_env("GMAIL_PASSWORD") ||
  raise "environment variable GMAIL_PASSWORD is missing."

config :aidebase, Aidebase.Mailer,
  adapter: Swoosh.Adapters.SMTP,
  relay: "smtp.gmail.com",
  username: "email@googleappsdomain/gmail.com",
  password: email_password,
  auth: :always,
  ssl: false,
  tls: :always,
  tls_options: [
    versions: [:"tlsv1.3"],
    cacerts: :public_key.cacerts_get(),
    verify: :verify_none,
    depth: 64
  ],
  port: 587,
  retries: 2
</code></pre>
<p>Took me 2 days of tracking down missing debug statements, understanding better what’s going (not that i do now) and trying to configure swoosh’s SMTP adapter for gmail. You’d think this is a standard use case, but there really isn’t much info on this. The documentation is really lacking for this…</p>
<p>Anycase, this is the configuration that worked for me in the end. Hopefully it saves someone else this pain.</p>
<p>Here are some other errors i encountered on the way (to help people googling this):</p>
<ul>
<li>{:retries_exceeded, {:temporary_failure, ~c"1.2.3.9", :tls_failed}}</li>
<li>{:error, {:tls_alert, {:unexpected_message, ~c"TLS client: In state hello at tls_record.erl:561 generated CLIENT ALERT: Fatal - Unexpected Message\n {unsupported_record_type,50}"}}}</li>
<li>{:error, {:options, :incompatible, [verify: :verify_peer, cacerts: :undefined]}}}</li>
</ul> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="340251" data-batch-url="/posts/batch_likers">
                        3
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/unable-to-send-an-email-via-my-smtp-server-via-ssl-tls-but-my-local-email-client-works-well/58308/27">Post #26</a>
	                </div>
	            </div>
              <div id="likers-container-340251" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="340251"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #26"></div>
  </section>
</div>
    <div class="postbit" id="340310" data-post-id="340310">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="ruslandoga" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/ruslandoga/120/22193_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  ruslandoga
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p><img src="https://forum.elixirforum.com/images/emoji/apple/wave.png?v=15" title=":wave:" class="emoji" alt=":wave:" loading="lazy" width="20" height="20"> <a class="mention" href="/u/ricw" rel="nofollow">@ricw</a></p>
<blockquote>
<p>Note: I’m not suggesting changing anything that already works but rather posting it for the next person having troubles with gen_smtp <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"></p>
</blockquote>
<p>There is now <a href="https://hexdocs.pm/swoosh/Swoosh.Adapters.Mua.html#content" rel="noopener nofollow ugc">another SMTP adapter</a> that might have been easier to set up:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">config :aidebase, Aidebase.Mailer,
  adapter: Swoosh.Adapters.Mua,
  relay: "smtp.gmail.com",
  port: 587,
  auth: [username: System.fetch_env!("GMAIL_USERNAME"), password: System.fetch_env!("GMAIL_PASSWORD")]
</code></pre>
<p>I’ve been using it with Gmail for a self-hosted Plausible instance: <a href="https://gist.github.com/ruslandoga/c94ce526231fb77930132aaeda3fc3c9" class="inline-onebox" rel="noopener nofollow ugc">plausible-mua-gmail.md · GitHub</a></p>
<p>Note that by default this configuration would use:</p>
<ul>
<li><a href="https://github.com/ruslandoga/mua/blob/0b8d1f73746cb407026576776c090135f46ed43e/lib/mua/ssl.ex#L392-L404" rel="noopener nofollow ugc"><code>cacerts: :public_key.cacerts_get()</code></a></li>
<li><a href="https://github.com/ruslandoga/mua/blob/0b8d1f73746cb407026576776c090135f46ed43e/lib/mua/ssl.ex#L372" rel="noopener nofollow ugc"><code>verify: :verify_peer</code></a></li>
<li><a href="https://github.com/ruslandoga/mua/blob/0b8d1f73746cb407026576776c090135f46ed43e/lib/mua/ssl.ex#L286" rel="noopener nofollow ugc"><code>versions: [:"tlsv1.3", :"tlsv1.2"]</code></a></li>
</ul> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="340310" data-batch-url="/posts/batch_likers">
                        3
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/unable-to-send-an-email-via-my-smtp-server-via-ssl-tls-but-my-local-email-client-works-well/58308/28">Post #27</a>
	                </div>
	            </div>
              <div id="likers-container-340310" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="340310"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #27"></div>
  </section>
</div>
    <div class="postbit" id="342304" data-post-id="342304">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="Lestrn" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/Lestrn/120/39881_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  Lestrn
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>THANK YOU!!! Cannot imagine how much time i`ve spent looking for exactly this!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="342304" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/unable-to-send-an-email-via-my-smtp-server-via-ssl-tls-but-my-local-email-client-works-well/58308/29">Post #28</a>
	                </div>
	            </div>
              <div id="likers-container-342304" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="342304"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #28"></div>
  </section>
</div>
    <div class="postbit" id="357128" data-post-id="357128">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="marschro" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/marschro/120/23466_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  marschro
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>And again… after searching for a solution, as I had this issue… <a class="mention" href="/u/lostkobrakai" rel="nofollow">@LostKobrakai</a> has the solution <img src="https://forum.elixirforum.com/images/emoji/apple/smiley.png?v=15" title=":smiley:" class="emoji" alt=":smiley:" loading="lazy" width="20" height="20"></p>
<p>THANK YOU SO MUCH  - took me hours again before finding your post and get it solved…<br>
I would give you more than one <img src="https://forum.elixirforum.com/images/emoji/apple/heart.png?v=15" title=":heart:" class="emoji" alt=":heart:" loading="lazy" width="20" height="20"> if possible…</p>
<p>Maybe just one not… single quotes now have to be ~c’whatever’ now… otherwise not compiling…</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="357128" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/unable-to-send-an-email-via-my-smtp-server-via-ssl-tls-but-my-local-email-client-works-well/58308/30">Post #29</a>
	                </div>
	            </div>
              <div id="likers-container-357128" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="357128"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #29"></div>
  </section>
</div>
    <div class="postbit" id="357228" data-post-id="357228">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="marschro" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/marschro/120/23466_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  marschro
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>By the way…</p>
<p>… if anyone comes here with that issue on</p>
<ul>
<li>FreeBSD (FreeBSD 14.2-RELEASE) with</li>
<li>Erlang/OTP 26 [erts-14.2.5.5]</li>
</ul>
<p>or in a FreeBSD jail with above specs…</p>
<p>There is currently a bug, preventing erlang from reading the root OS certificates.</p>
<p>Error looks like that:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">** (MatchError) no match of right hand side value: :undefined
    (public_key 1.15.1.4) pubkey_os_cacerts.erl:39: :pubkey_os_cacerts.get/0```

Workaround is:
&gt; cat /etc/ssl/certs/*.0 &gt; /etc/ssl/cert.pem

The Bug is filed here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284533</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="357228" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/unable-to-send-an-email-via-my-smtp-server-via-ssl-tls-but-my-local-email-client-works-well/58308/31">Post #30</a>
	                </div>
	            </div>
              <div id="likers-container-357228" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="357228"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>