<html xmlns:v="urn:schemas-microsoft-com:vml" 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=us-ascii">
<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:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.remaining-body
{mso-style-name:remaining-body;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span class="remaining-body"><span lang="EN">Hi ,</span></span><span lang="EN"><br>
<br>
<span class="remaining-body">Need some help on SSL CRL revocation validation enabled for HTTPS in Erlang code.
</span><br>
<br>
<span class="remaining-body">1) using httpc.requests to access the secure URL.</span><br>
<span class="remaining-body">2) In the SSL options, we have made {verify:verify_peer} and {crl_check:peer}.</span><br>
<span class="remaining-body">3) Also we have added the CRL file in local cache by ssl_crl_cache:insert(file). CRL file is downloaded from CDP via http.</span><br>
<br>
<span class="remaining-body">Questions</span><br>
<span class="remaining-body">1) With above setup the CRL validation not failing for revoked URL. Any idea if the approach is wrong. we followed the erlang.org docs.</span><br>
<span class="remaining-body">2) Also how we can extend this when there is a CDP[CRL distribution point] to get the dynamic CRL file.</span><br>
<span class="remaining-body">3) And how to do above with CDP URL embedded in Server hello message in the SSL negotiation.</span><br>
<br>
<span class="remaining-body">It will be great to see a sample code with CRL validation in Erlang for SSL HTTP access. We are using Erlang/OTP 18.1.</span><br>
<br>
<span class="remaining-body">All comments are welcome :)<o:p></o:p></span></span></p>
<p class="MsoNormal"><span class="remaining-body"><span lang="EN"><o:p> </o:p></span></span></p>
<p class="MsoNormal"><span class="remaining-body"><span lang="EN">Regards<o:p></o:p></span></span></p>
<p class="MsoNormal"><span class="remaining-body"><span lang="EN">Soumya</span></span><o:p></o:p></p>
</div>
</body>
</html>