<!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="">
<p dir="auto">This is because <code>tbsCertificate.signature</code> doesn't match the outer <code>signatureAlgorithm</code>:</p>
<pre class="code highlight js-syntax-highlight console" lang="console" v-pre="true"><code><span id="LC1" class="line" lang="console"><span class="go">certtool -i --infile cert51.pem</span></span>
<span id="LC2" class="line" lang="console"><span class="go">Setting log level to 10</span></span>
<span id="LC3" class="line" lang="console"><span class="gp">|<2></span>| signatureAlgorithm.algorithm differs from tbsCertificate.signature.algorithm: 1.2.840.113549.1.1.5, 1.2.840.113549.1.1.11</span>
<span id="LC4" class="line" lang="console"><span class="gp">|<3></span>| ASSERT: x509.c[compare_sig_algorithm]:330</span>
<span id="LC5" class="line" lang="console"><span class="gp">|<3></span>| ASSERT: x509.c[gnutls_x509_crt_import]:615</span>
<span id="LC6" class="line" lang="console"><span class="gp">|<3></span>| ASSERT: x509.c[gnutls_x509_crt_list_import]:3834</span>
<span id="LC7" class="line" lang="console"><span class="go">import error: Error in the certificate.</span></span></code></pre>
<p dir="auto">As mentioned in <a href="https://gitlab.com/gnutls/gnutls/-/issues/983#note_339128307" data-original="https://gitlab.com/gnutls/gnutls/-/issues/983#note_339128307" data-link="false" data-link-reference="true" data-project="179611" data-issue="34134893" data-reference-type="issue" data-container="body" data-placement="top" data-html="true" title="There is no 'signature' in the part of 'tbsCertificate'" class="gfm gfm-issue has-tooltip">#983 (comment 339128307)</a>, this is not permitted according to RFC 5280.</p>
</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/986#note_340219147">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/27ec961bdedb56c941d10a3eda9e296e/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/986#note_340219147"}}</script>


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