<!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 class="details" style="font-style: italic; color: #666;">
<a href="https://gitlab.com/GOODPWDCETCSZ">GOODPWDCETCSZ</a> created an issue <a href="https://gitlab.com/gnutls/gnutls/-/issues/1170">#1170</a>:
</p>
<div></div>
<h2 dir="auto">
<a id="user-content-description-of-problem" class="anchor" href="#description-of-problem" aria-hidden="true"></a>Description of problem:</h2>
<p dir="auto">GnuTLS rejects a cert since it cannot parse the critical ext Netscape Cert Type. OpenSSL, mbedTLS, and WolfSSL accept it.</p>
<h2 dir="auto">
<a id="user-content-version-of-gnutls-used" class="anchor" href="#version-of-gnutls-used" aria-hidden="true"></a>Version of gnutls used:</h2>
<p dir="auto">3.5.5, 3.6.13</p>
<h2 dir="auto">
<a id="user-content-distributor-of-gnutls-eg-ubuntu-fedora-rhel" class="anchor" href="#distributor-of-gnutls-eg-ubuntu-fedora-rhel" aria-hidden="true"></a>Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)</h2>
<p dir="auto">Ubuntu x64</p>
<h2 dir="auto">
<a id="user-content-how-reproducible" class="anchor" href="#how-reproducible" aria-hidden="true"></a>How reproducible:</h2>
<p dir="auto">Steps to Reproduce:</p>
<ul dir="auto">
<li><code>certtool --verify --load-ca-certificate ca.pem --infile seed-4s18-107s39-405s19.pem.pem</code></li>
</ul>
<h2 dir="auto">
<a id="user-content-actual-results" class="anchor" href="#actual-results" aria-hidden="true"></a>Actual results:</h2>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">certtool --verify --load-ca-certificate ./certs_related/ca.pem --infile ./certs/seed-4s18-107s39-405s19.pem</span>
<span id="LC2" class="line" lang="plaintext">Note that no verification profile was selected. In the future the medium profile will be enabled by default.</span>
<span id="LC3" class="line" lang="plaintext">Use --verify-profile low to apply the default verification of NORMAL priority string.</span>
<span id="LC4" class="line" lang="plaintext">Loaded CAs (1 available)</span>
<span id="LC5" class="line" lang="plaintext"> Subject: serialNumber=serialNumber2,CN=Susan Housley2,DC=DC2,dnQualifier=dnQ2,OU=network security\, Counter-Terrorism Committee,O=Counter-Terrorism Committee,ST=New York State,C=UN</span>
<span id="LC6" class="line" lang="plaintext"> Issuer: CN=DT,OU=UNSC,O=UNGA,ST=NYS,C=UN</span>
<span id="LC7" class="line" lang="plaintext"> Checked against: CN=DT,OU=UNSC,O=UNGA,ST=NYS,C=UN</span>
<span id="LC8" class="line" lang="plaintext"> Signature algorithm: RSA-SHA256</span>
<span id="LC9" class="line" lang="plaintext"> Output: Not verified. The certificate is NOT trusted. The certificate contains an unknown critical extension. </span>
<span id="LC10" class="line" lang="plaintext"></span>
<span id="LC11" class="line" lang="plaintext">Chain verification output: Not verified. The certificate is NOT trusted. The certificate contains an unknown critical extension. </span>
<span id="LC12" class="line" lang="plaintext"></span></code></pre>
<h2 dir="auto">
<a id="user-content-expected-results" class="anchor" href="#expected-results" aria-hidden="true"></a>Expected results:</h2>
<p dir="auto">Consistent verification results among GnuTLS and other TLS implementations.</p>
<h2 dir="auto">
<a id="user-content-attachments" class="anchor" href="#attachments" aria-hidden="true"></a>Attachments:</h2>
<p dir="auto"><a href="https://gitlab.com/gnutls/gnutls/uploads/1453fcdb5d86499c85a4e213883a12a1/ca.zip" data-link="true" class="gfm">ca.zip</a></p>
<p dir="auto"><a href="https://gitlab.com/gnutls/gnutls/uploads/d68c8156273f91da86a950ea84aa0a64/seed-4s18-107s39-405s19.zip" data-link="true" class="gfm">seed-4s18-107s39-405s19.zip</a></p>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #666;">
—
<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/issues/1170">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/df533e999944148087d23424c9d3bffa/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/1170"}}</script>
</p>
</div>
</body>
</html>