<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">

<p style="color: #777777;">
<a href="https://gitlab.com/dueno">Daiki Ueno</a>
commented:
</p>
<div style="">
<blockquote dir="auto">
<p>OpenSSL-linked curl works fine [...]</p>
</blockquote>
<p dir="auto">I guess the best way to diagnose this kind of issues would be to do a packet capture and compare the exchanged messages. That may require enabling decryption, which should be possible through the keylog file feature.</p>
<p dir="auto">Here is a tshark command line I use:</p>
<pre class="code highlight js-syntax-highlight console" lang="console" v-pre="true"><code><span id="LC1" class="line" lang="console"><span class="gp">$</span><span class="w"> </span>tshark <span class="nt">-o</span> <span class="s2">"tls.desegment_ssl_records: TRUE"</span> <span class="se">\</span></span>
<span id="LC2" class="line" lang="console">         <span class="nt">-o</span> <span class="s2">"tls.desegment_ssl_application_data: TRUE"</span> <span class="se">\</span></span>
<span id="LC3" class="line" lang="console">         <span class="nt">-o</span> <span class="s2">"tls.keylog_file: </span><span class="nv">$PWD</span><span class="s2">/keylog.txt"</span> <span class="se">\</span></span>
<span id="LC4" class="line" lang="console">         <span class="nt">-i</span> lo <span class="nt">-Px</span> <span class="nt">-O</span> tls <span class="nt">-Y</span> <span class="s2">"tcp.port == 443"</span></span>
<span id="LC5" class="line" lang="console"></span>
<span id="LC6" class="line" lang="console"><span class="gp">$</span><span class="w"> </span><span class="nv">SSLKEYLOGFILE</span><span class="o">=</span><span class="nv">$PWD</span>/keylog.txt gnutls-cli ...</span>
<span id="LC7" class="line" lang="console"><span class="gp">$</span><span class="w"> </span>openssl s_client <span class="nt">-keylogfile</span> <span class="nv">$PWD</span>/keylog.txt <span class="nt">-connect</span> ...</span></code></pre>
</div>


</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/issues/990#note_340271620">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/-/sent_notifications/a21d1c911e0e982f1c8c5200af188cf4/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/-/issues/990#note_340271620"}}</script>


</p>
</div>
</body>
</html>