<!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=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<div style="">
<p dir="auto">It is failing in the SNI handling code introduced by <a href="https://gitlab.com/gnutls/gnutls/commit/88b4f9036aefd0f8e20de6cae56b62be7a721b70" data-original="88b4f9036aefd0f8e20de6cae56b62be7a721b70" data-link="false" data-link-reference="false" data-project="179611" data-commit="88b4f9036aefd0f8e20de6cae56b62be7a721b70" data-reference-type="commit" data-container="body" data-placement="bottom" title="server_name: several simplifications of the code base" class="gfm gfm-commit has-tooltip">88b4f903</a>.  However, this seems like a correct behavior as RFC 6066 says: Literal IPv4 and IPv6 addresses are not permitted in "HostName".</p>
<p dir="auto">It should work if you supply the server name with:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">openssl s_client -connect '[::1]:5000' -servername localhost6 -psk_identity foo -psk 7df28f5439b5a051cc138b6e12128264</span></code></pre>
</div>


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

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/issues/683#note_134588376">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/be048abb1be44c599953e4e09960b254/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/683#note_134588376"}}</script>
</p>
</div>
</body>
</html>