<!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/julia27">julia</a>
commented:
</p>
<div style="">
<p dir="auto">In RFC 5280, I found the next statements, and wondered how a subject
public key and two  subjectAltName extensions should be bound.
Which parts of the two extensions are verified (if the verification is still
performed)?</p>
<ol dir="auto">
<li>
<p>"Certification path processing verifies the binding between the
subject distinguished name and/or subject alternative name and subject
public key." (Section 6).</p>
</li>
<li>
<p>"If subject naming information is present only in the subjectAltName
extension (e.g., a key bound only to an email address or URI), then the subject
name MUST be an empty sequence and the subjectAltName extension MUST
be critical." (Section 4.1.2.6)</p>
</li>
<li>
<p>"A certificate MUST NOT include more than one instance of a particular
extension." (4.2)</p>
</li>
<li>
<p>"Because the subject alternative name is considered to be definitively
bound to the public key, all parts of the subject alternative name
MUST be verified by the CA." (4.2.1.6)</p>
</li>
</ol>
</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/872#note_260338436">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/70fe3adf7420c21cdc45f889453f164d/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/872#note_260338436"}}</script>


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