<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en" style='--code-editor-font: var(--default-mono-font, "GitLab Mono"), JetBrains Mono, Menlo, DejaVu Sans Mono, Liberation Mono, Consolas, Ubuntu Mono, Courier New, andale mono, lucida console, monospace;'>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>

<style data-premailer="ignore" type="text/css">
a { color: #1068bf; }
</style>

<style>img {
max-width: 100%; height: auto;
}
body {
font-size: .875rem;
}
body {
-webkit-text-shadow: hsla(0,0%,100%,.01) 0 0 1px;
}
body {
font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size: inherit;
}
</style>
</head>
<body style='font-size: inherit; -webkit-text-shadow: hsla(0,0%,100%,.01) 0 0 1px; font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";'>
<div class="content">

<p style="color: #777777;">
<a href="https://gitlab.com/smortex">Romain Tartière</a>
<a href="https://gitlab.com/gnutls/gnutls/-/merge_requests/2095#note_3262702957">commented</a>:
</p>
<div class="md" style="position: relative; z-index: 1; color: #3a383f; word-wrap: break-word;">
<blockquote dir="auto" style="font-size: inherit; color: #626168; padding-top: 0.5rem; padding-bottom: 0.5rem; padding-left: 1rem; border-left-style: solid; margin: 0px 0px 0.5rem; border-color: #bfbfc3; border-width: 0 0 0 4px;" align="initial">
<p style="color: inherit; line-height: 1.5; margin: 0;">Note that the <code style='font-size: 90%; color: #18171d; word-wrap: break-word; background-color: #ececef; border-radius: .25rem; margin-top: 0px; font-weight: inherit; overflow-wrap: break-word; white-space: break-spaces; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: keep-all; padding: 0.125rem 0.25rem;'>signature_algorithms_cert</code> extension is not widely used; none of OpenSSL, NSS, and GnuTLS handles the extension (OpenSSL does send it, but doesn't recognize it).</p>
</blockquote>
<p dir="auto" style="color: #3a383f; margin: 0px 0px 1rem;" align="initial">Ah…  That is the kind of basic things I am not aware of, I may have followed tracks that don't make sense during my investigation, and I also feel like I am mixing-up a lot of stuff, so all this is quite tough to me <gl-emoji title="downcast face with sweat" data-name="sweat" data-unicode-version="6.0" style="margin-top: 0px;">😓</gl-emoji></p>
<blockquote dir="auto" style="font-size: inherit; color: #626168; padding-top: 0.5rem; padding-bottom: 0.5rem; padding-left: 1rem; border-left-style: solid; margin: 0.5rem 0px; border-color: #bfbfc3; border-width: 0 0 0 4px;" align="initial">
<p style="color: inherit; line-height: 1.5; margin: 0;">According to your comment on <a href="https://gitlab.com/gnutls/gnutls/-/work_items/1842" title="Client Authentication broken with Java 17.0.17+ (and recent versions of Java)" class="gfm gfm-issue" data-original="#1842" data-link="false" data-link-reference="false" data-issue="188491164" data-project="179611" data-iid="1842" data-namespace-path="gnutls/gnutls" data-project-path="gnutls/gnutls" data-issue-type="issue" data-container="body" data-placement="top" data-reference-type="issue" style="margin-top: 0px;">#1842</a>, the server wants either <code style='font-size: 90%; color: #18171d; word-wrap: break-word; background-color: #ececef; border-radius: .25rem; font-weight: inherit; overflow-wrap: break-word; white-space: break-spaces; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: keep-all; padding: 0.125rem 0.25rem;'>ecdsa_*</code>, <code style='font-size: 90%; color: #18171d; word-wrap: break-word; background-color: #ececef; border-radius: .25rem; font-weight: inherit; overflow-wrap: break-word; white-space: break-spaces; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: keep-all; padding: 0.125rem 0.25rem;'>ed25519</code>, <code style='font-size: 90%; color: #18171d; word-wrap: break-word; background-color: #ececef; border-radius: .25rem; font-weight: inherit; overflow-wrap: break-word; white-space: break-spaces; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: keep-all; padding: 0.125rem 0.25rem;'>ed448</code>, or <code style='font-size: 90%; color: #18171d; word-wrap: break-word; background-color: #ececef; border-radius: .25rem; font-weight: inherit; overflow-wrap: break-word; white-space: break-spaces; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: keep-all; padding: 0.125rem 0.25rem;'>rsa_pss*</code>. If the server is indicating <code style='font-size: 90%; color: #18171d; word-wrap: break-word; background-color: #ececef; border-radius: .25rem; font-weight: inherit; overflow-wrap: break-word; white-space: break-spaces; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: keep-all; padding: 0.125rem 0.25rem;'>rsa_pss_rsae_*</code> (not <code style='font-size: 90%; color: #18171d; word-wrap: break-word; background-color: #ececef; border-radius: .25rem; font-weight: inherit; overflow-wrap: break-word; white-space: break-spaces; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: keep-all; padding: 0.125rem 0.25rem;'>rsa_pss_pss_*</code>), the client should be able to present the (non-restricted) RSA certificates. Could you check that, maybe using wireshark (see <a href="https://wiki.wireshark.org/TLS" rel="nofollow noreferrer noopener" target="_blank">https://wiki.wireshark.org/TLS</a>)?</p>
</blockquote>
<p dir="auto" style="color: #3a383f; margin: 0px 0px 1rem;" align="initial">If I am looking at the right thing, I see both:</p>
<p dir="auto" style="color: #3a383f; margin: 0px 0px 1rem;" align="initial"><a class="no-attachment-icon gfm" href="https://gitlab.com/-/project/179611/uploads/824ea6345116cc9a975a7eacdc522578/screenshot-2026-04-17T09_51_02-1000.png" target="_blank" rel="noopener noreferrer" data-canonical-src="/uploads/824ea6345116cc9a975a7eacdc522578/screenshot-2026-04-17T09_51_02-1000.png" data-link="true" style="margin-top: 0px;"><img src="https://gitlab.com/-/project/179611/uploads/824ea6345116cc9a975a7eacdc522578/screenshot-2026-04-17T09_51_02-1000.png" alt="screenshot-2026-04-17T09_51_02-1000" width="607" height="600" data-canonical-src="/uploads/824ea6345116cc9a975a7eacdc522578/screenshot-2026-04-17T09_51_02-1000.png" class="gfm" style="max-width: 100%; height: auto; margin-top: 0px; vertical-align: baseline; object-fit: contain; object-position: top;"></a></p>
<p dir="auto" style="color: #3a383f; margin: 0px 0px 1rem;" align="initial">In order to make it easier for anybody to test, I setup a public-facing riemann server that can be used against the client to reproduce the issue. <a href="https://agrajag.blogreen.org/~romain/riemann" rel="nofollow noreferrer noopener" target="_blank" style="margin-top: 0px;">Also, all certificates are available here</a> in case there is an issue with them.  If it can help, this should put you on track:</p>
<div class="gl-relative markdown-code-block js-markdown-code">
<pre class="code highlight js-syntax-highlight language-plaintext" v-pre="true" style='display: block; font-size: 14px; color: #3a383f; line-height: 1.6em; overflow-x: auto; border-radius: .25rem; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; margin: 0px 0 1rem; padding: 12px; border: 1px solid #dcdcde;'><code style='font-size: inherit; color: inherit; word-wrap: normal; word-break: keep-all; background-color: inherit; border-radius: .25rem; white-space: pre; margin-top: 0px; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; overflow-wrap: normal; padding: unset;'><span id="LC1" class="line" lang="plaintext" style="margin-top: 0px;">git clone https://git.madhouse-project.org/algernon/riemann-c-client/</span>
<span id="LC2" class="line" lang="plaintext">cd riemann-c-client</span>
<span id="LC3" class="line" lang="plaintext">autoreconf -is</span>
<span id="LC4" class="line" lang="plaintext">mkdir build</span>
<span id="LC5" class="line" lang="plaintext">cd build</span>
<span id="LC6" class="line" lang="plaintext">../configure</span>
<span id="LC7" class="line" lang="plaintext">make</span>
<span id="LC8" class="line" lang="plaintext">curl https://agrajag.blogreen.org/~romain/riemann/ca.crt > /tmp/ca.crt</span>
<span id="LC9" class="line" lang="plaintext">curl https://agrajag.blogreen.org/~romain/riemann/gnutls-client.crt > /tmp/gnutls-client.cr</span>
<span id="LC10" class="line" lang="plaintext">curl https://agrajag.blogreen.org/~romain/riemann/gnutls-client.key > /tmp/gnutls-client.key</span>
<span id="LC11" class="line" lang="plaintext">./src/riemann-client send -D hello --tls -o cafile=/tmp/ca.crt -o certfile=/tmp/gnutls-client.crt -o keyfile=/tmp/gnutls-client.key agrajag.blogreen.org 5555</span></code></pre>
<copy-code></copy-code><insert-code-snippet></insert-code-snippet>
</div>
<p dir="auto" style="color: #3a383f; margin: 0px;" align="initial">No output and and exit code of 0 means it is fine.  Otherwise, you will probably have a return code of 1 and a message "Error when asking for a message receipt: Protocol error".</p>
</div>


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

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/merge_requests/2095#note_3262702957">view it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target="_blank" rel="noopener noreferrer" href="https://gitlab.com">gitlab.com</a>. <a href="https://gitlab.com/-/sent_notifications/4-9cx7tkiphe91t5a4xbivyex8o-a84t7/unsubscribe" target="_blank" rel="noopener noreferrer">Unsubscribe</a> from this thread · <a href="https://gitlab.com/-/profile/notifications" target="_blank" rel="noopener noreferrer" class="mng-notif-link">Manage all notifications</a> · <a href="https://gitlab.com/help" target="_blank" rel="noopener noreferrer" class="help-link">Help</a>
<span style="color: transparent; font-size: 0; display: none; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0;">
Notification message regarding https://gitlab.com/gnutls/gnutls/-/merge_requests/2095#note_3262702957 at 1776455632
</span>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Merge request","url":"https://gitlab.com/gnutls/gnutls/-/merge_requests/2095#note_3262702957"}}</script>


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