<!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></div>
<p dir="auto">A perfectly correct DNS FQDN ends with a dot but this will break certificate name matching with of gnutls-clu because names in certs omit the trainling for for FQDNs:</p>
<h1 dir="auto">
<a id="user-content-gnutls-cli-starttls-protosmtp-alt1aspmxlgooglecom25" class="anchor" href="#gnutls-cli-starttls-protosmtp-alt1aspmxlgooglecom25" aria-hidden="true"></a>gnutls-cli --starttls-proto=smtp alt1.aspmx.l.google.com.:25</h1>
<p dir="auto">...</p>
<ul dir="auto">
<li>Status: The certificate is NOT trusted. The name in the certificate does not match the expected.
*** PKI verification of server certificate failed...
*** Fatal error: Error in the certificate.</li>
</ul>
<p dir="auto">while the same withalt1.aspmx.l.google.com:25 works. gnutls-cli shoult strip the dot for the name matching.</p>

</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/521">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/206ddab96389ad6b3004550003c4c84d/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/521"}}</script>
</p>
</div>
</body>
</html>