<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@DengXian";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US">
<div class="WordSection1">
<p class="MsoNormal">I am using 1.0.2g. CRL checking works fine on my certificate when I download and save CRL in PEM format locally.
</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I noticed that “openssl verify” has this option:</p>
<p class="MsoNormal">-crl_download</p>
<p class="MsoNormal">           Attempt to download CRL information for this certificate.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">But it does not work for me. The CRL URL embedded in my certificate points to CRL file of DER format, maybe this is the reason “download” didn’t work?</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">If I want to enable “automatic download” in C code, do I have to provide a callback to X509_STORE_set_lookup_crls_cb or there is a simpler way (e.g. a flag)?</p>
<p class="MsoNormal">If I must provide such a callback, do I need to handle DER vs PEM encoding in the callback?</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks much.</p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>