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


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>a few handy tricks for next time:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">&gt; curl -v  --cert-status https://grad.tamu.edu/

*   Trying 128.194.14.62:443...
* Connected to grad.tamu.edu (128.194.14.62) port 443
* ALPN: curl offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (OUT), TLS alert, handshake failure (552):
* OpenSSL/3.0.12: error:0A000152:SSL routines::unsafe legacy renegotiation disabled
* Closing connection

curl: (35) OpenSSL/3.0.12: error:0A000152:SSL routines::unsafe legacy renegotiation disabled
</code></pre>
<p>TLDR, their system is broken. Your client tries to negotiate <em>downwards</em> until it finds a common TLS standard that it can work with, but eventually gives up, as TLS&lt;1.1 is defacto broken and is generally excluded across the public internet now, if configured correctly.</p>
<p>But why?</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">&gt; openssl s_client -showcerts -connect grad.tamu.edu:443
CONNECTED(00000003)
0020014A48190000:error:0A000152:SSL routines:final_renegotiate:unsafe legacy renegotiation disabled:/usr/src/crypto/openssl/ssl/statem/extensions.c:894:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 7297 bytes and written 326 bytes
Verification: OK
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : 0000
    Session-ID: 509160C19F5059FAA272B38986056F4DF3C0EB536516F4E14EA934EB708E1A32
    Session-ID-ctx:
    Master-Key:
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    Start Time: 1700654113
    Timeout   : 7200 (sec)
    Verify return code: 0 (ok)
    Extended master secret: no
---
</code></pre>
<p>Compare that to connecting with <code>s_client</code> again but to <code>tamu.edu</code> and you’ll see that a pile of intermediate certs are sent along with the response for the parent site, which is correct.</p>
<p>For other neat libraries, <a href="https://github.com/puzza007/katipo" rel="noopener nofollow ugc">katipo</a> is a high-performance NIF to <a href="https://curl.se/libcurl" rel="noopener nofollow ugc">libcurl</a>.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="308787" 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/http-ssl-error-unknown-ca-going-down-a-rabbit-hole-maybe-an-asdf-erlang-issue/59726/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-308787" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="308787"
                     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 #11"></div>
  </section>
</div>
    <div class="postbit" id="309034" data-post-id="309034">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="dogweather" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/dogweather/120/1906_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  dogweather
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Texas A&amp;M fixed their configuration. I’m not used to large orgs like this taking outside reports seriously. Pretty nice.</p>
<p></p><div class="lightbox-wrapper"><a class="lightbox" href="https://forum.elixirforum.com/uploads/default/original/3X/0/b/0b054e4ba508c24fb05b3506f84f8defbd15cfb5.png" data-download-href="https://forum.elixirforum.com/uploads/default/0b054e4ba508c24fb05b3506f84f8defbd15cfb5" title="Screenshot 2023-11-24 at 9.48.00 AM" rel="nofollow"><img src="https://forum.elixirforum.com/uploads/default/optimized/3X/0/b/0b054e4ba508c24fb05b3506f84f8defbd15cfb5_2_690x181.png" alt="Screenshot 2023-11-24 at 9.48.00 AM" data-base62-sha1="1zuCqQM3Zw9GznmnJs8tEugv0sB" width="690" height="181" srcset="https://forum.elixirforum.com/uploads/default/optimized/3X/0/b/0b054e4ba508c24fb05b3506f84f8defbd15cfb5_2_690x181.png, https://forum.elixirforum.com/uploads/default/optimized/3X/0/b/0b054e4ba508c24fb05b3506f84f8defbd15cfb5_2_1035x271.png 1.5x, https://forum.elixirforum.com/uploads/default/original/3X/0/b/0b054e4ba508c24fb05b3506f84f8defbd15cfb5.png 2x" data-dominant-color="EFEDEE"><div class="meta"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use href="#far-image"></use></svg><span class="filename">Screenshot 2023-11-24 at 9.48.00 AM</span><span class="informations">1214×320 57.8 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use href="#discourse-expand"></use></svg></div></a></div><p></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="309034" data-batch-url="/posts/batch_likers">
                        2
                      </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/http-ssl-error-unknown-ca-going-down-a-rabbit-hole-maybe-an-asdf-erlang-issue/59726/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-309034" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="309034"
                     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>