<!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: #777;">
<a href="https://gitlab.com/gbiscuolo">Giovanni Biscuolo</a> created an issue <a href="https://gitlab.com/gnutls/gnutls/-/issues/1062">#1062</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">Programs using GnuTLS - tested with curl - cannot access actorws.epa.gov</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.6.7</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">GNU Guix</p>
<h2 dir="auto">
<a id="user-content-how-reproducible" class="anchor" href="#how-reproducible" aria-hidden="true"></a>How reproducible:</h2>
<pre class="code highlight js-syntax-highlight shell" lang="shell" v-pre="true"><code><span id="LC1" class="line" lang="shell">user@host: gnutls-cli <span class="nt">--save-ocsp</span> /tmp/actorws-ocsp.der <span class="nt">--save-cert</span> /tmp/actorws-certs.pem actorws.epa.gov</span>
<span id="LC2" class="line" lang="shell"></span>
<span id="LC3" class="line" lang="shell">Processed 128 CA certificate<span class="o">(</span>s<span class="o">)</span><span class="nb">.</span></span>
<span id="LC4" class="line" lang="shell">Resolving <span class="s1">'actorws.epa.gov:443'</span>...</span>
<span id="LC5" class="line" lang="shell">Connecting to <span class="s1">'134.67.99.60:443'</span>...</span>
<span id="LC6" class="line" lang="shell">- Certificate <span class="nb">type</span>: X.509</span>
<span id="LC7" class="line" lang="shell">- Got a certificate list of 2 certificates.</span>
<span id="LC8" class="line" lang="shell">- Certificate[0] info:</span>
<span id="LC9" class="line" lang="shell"> - subject <span class="sb">`</span><span class="nv">CN</span><span class="o">=</span><span class="k">*</span>.epa.gov,OU<span class="o">=</span>OMS/OITO/EHD,O<span class="o">=</span>Environmental Protection Agency,L<span class="o">=</span>Durham,ST<span class="o">=</span>North Carolina,C<span class="o">=</span>US<span class="s1">', issuer `CN=DigiCert SHA2 Secure Server CA,O=DigiCert Inc,C=US'</span>, serial 0x0caca7602da89b50c3820b33518c827a, RSA key 2048 bits, signed using RSA-SHA256, activated <span class="sb">`</span>2019-04-25 00:00:00 UTC<span class="s1">', expires `2021-04-19 12:00:00 UTC'</span>, pin-sha256<span class="o">=</span><span class="s2">"o5d2tkYzGNEoALzaPpAd5q+Sima2MnbbItE64CpyDCk="</span></span>
<span id="LC10" class="line" lang="shell">  Public Key ID:</span>
<span id="LC11" class="line" lang="shell">          sha1:884a27ada33cc533411036cde08f7c83bee2580e</span>
<span id="LC12" class="line" lang="shell">          sha256:a39776b6463318d12800bcda3e901de6af928a66b63276db22d13ae02a720c29</span>
<span id="LC13" class="line" lang="shell">  Public Key PIN:</span>
<span id="LC14" class="line" lang="shell">          pin-sha256:o5d2tkYzGNEoALzaPpAd5q+Sima2MnbbItE64CpyDCk<span class="o">=</span></span>
<span id="LC15" class="line" lang="shell"></span>
<span id="LC16" class="line" lang="shell">- Certificate[1] info:</span>
<span id="LC17" class="line" lang="shell"> - subject <span class="sb">`</span><span class="nv">CN</span><span class="o">=</span>DigiCert SHA2 Secure Server CA,O<span class="o">=</span>DigiCert Inc,C<span class="o">=</span>US<span class="s1">', issuer `CN=DigiCert Global Root CA,OU=www.digicert.com,O=DigiCert Inc,C=US'</span>, serial 0x01fda3eb6eca75c888438b724bcfbc91, RSA key 2048 bits, signed using RSA-SHA256, activated <span class="sb">`</span>2013-03-08 12:00:00 UTC<span class="s1">', expires `2023-03-08 12:00:00 UTC'</span>, pin-sha256<span class="o">=</span><span class="s2">"5kJvNEMw0KjrCAu7eXY5HZdvyCS13BbA0VJG1RSP91w="</span></span>
<span id="LC18" class="line" lang="shell">|<1>| Got OCSP response with an unrelated certificate.</span>
<span id="LC19" class="line" lang="shell">- Status: The certificate is NOT trusted. The received OCSP status response is invalid. </span>
<span id="LC20" class="line" lang="shell"><span class="k">***</span> PKI verification of server certificate failed...</span>
<span id="LC21" class="line" lang="shell"><span class="k">***</span> Fatal error: Error <span class="k">in </span>the certificate.</span>
<span id="LC22" class="line" lang="shell"><span class="o">[</span>~]-</span></code></pre>
<p dir="auto">Please see the attached files from the above mentioned command:</p>
<p dir="auto"><a href="https://gitlab.com/gnutls/gnutls/uploads/c71b07d68b4a87acedc53b66dc1ccaf0/actorws-ocsp.der" data-link="true" class="gfm">actorws-ocsp.der</a></p>
<p dir="auto"><a href="https://gitlab.com/gnutls/gnutls/uploads/557a5033d59afc3dae1ec7d00b9d21cd/actorws-certs.pem" data-link="true" class="gfm">actorws-certs.pem</a></p>
<h2 dir="auto">
<a id="user-content-expected-results" class="anchor" href="#expected-results" aria-hidden="true"></a>Expected results:</h2>
<p dir="auto">Using a web browser (tested with chromium and firefox) the certificate is valid: not sure if the browser behaviour is correct or not</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/1062">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/74c822c7ece2d0d09cfc431e2f362954/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/1062"}}</script>


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