<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=gb2312">
<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:"\@µÈÏß";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:΢ÈíÑźÚ;
        panose-1:2 11 5 3 2 2 4 2 2 4;}
@font-face
        {font-family:"\@΢ÈíÑźÚ";}
@font-face
        {font-family:"MS PGothic";
        panose-1:2 11 6 0 7 2 5 8 2 4;}
@font-face
        {font-family:"\@MS PGothic";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Yes<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Best Regards<o:p></o:p></p>
<p class="MsoNormal">Siyuan <o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><a name="_____replyseparator"></a><b><span style="mso-fareast-language:JA">From:</span></b><span style="mso-fareast-language:JA"> Sivaraman Nainar <sivaramann@amiindia.co.in>
<br>
<b>Sent:</b> 2019</span><span lang="JA" style="font-family:"MS PGothic",sans-serif;mso-fareast-language:JA">Äê</span><span style="mso-fareast-language:JA">12</span><span lang="JA" style="font-family:"MS PGothic",sans-serif;mso-fareast-language:JA">ÔÂ</span><span style="mso-fareast-language:JA">27</span><span lang="JA" style="font-family:"MS PGothic",sans-serif;mso-fareast-language:JA">ÈÕ</span><span style="mso-fareast-language:JA">
 15:26<br>
<b>To:</b> Fu, Siyuan <siyuan.fu@intel.com>; devel@edk2.groups.io; Wu, Jiaxin <jiaxin.wu@intel.com><br>
<b>Cc:</b> Madhan B. Santharam <madhans@ami.com>; Arun Subramanian B <arunsubramanianb@ami.com>; Arun Sura Soundara Pandian <arunsuras@amiindia.co.in>; Bhuvaneshwari M R <bhuvaneshwarimr@amiindia.co.in>; Ramesh R. <rameshr@ami.com><br>
<b>Subject:</b> RE: HTTPS Certificate Validation During Enrollment<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">Siyuan:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">I agree. The basic check whatever we are doing here is the file extension only. Do you mean that could be enough and TLS will take care of validating the certificate during the connection
 State?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">-Siva</span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>From:</b> Fu, Siyuan [<a href="mailto:siyuan.fu@intel.com">mailto:siyuan.fu@intel.com</a>]
<br>
<b>Sent:</b> Tuesday, December 24, 2019 1:30 PM<br>
<b>To:</b> Sivaraman Nainar; <a href="mailto:devel@edk2.groups.io">devel@edk2.groups.io</a>; Wu, Jiaxin<br>
<b>Cc:</b> Madhan B. Santharam; Arun Subramanian B; Arun Sura Soundara Pandian; Bhuvaneshwari M R; Ramesh R.<br>
<b>Subject:</b> RE: HTTPS Certificate Validation During Enrollment<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Hi, Siva<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">We don¡¯t think this is a real problem. The cert is saved as NV variable just like any other EFI variables, there are some basic checks like verify it¡¯s a valid DER-encoded certificate before saving the certificate, and TLS config driver
 also provides a page to allow user to delete unused cert from system.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">If someone want to fill the NV variable storage full with garbage, they can simply use SetVaraible service, not necessary to use this page.
<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">Best Regards<o:p></o:p></p>
<p class="MsoNormal">Siyuan <o:p></o:p></p>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>From:</b> Sivaraman Nainar <<a href="mailto:sivaramann@amiindia.co.in">sivaramann@amiindia.co.in</a>>
<br>
<b>Sent:</b> 2019<span lang="ZH-CN" style="font-family:"΢ÈíÑźÚ",sans-serif">Äê</span>12<span lang="ZH-CN" style="font-family:"΢ÈíÑźÚ",sans-serif">ÔÂ</span>24<span lang="ZH-CN" style="font-family:"΢ÈíÑźÚ",sans-serif">ÈÕ</span> 13:17<br>
<b>To:</b> <a href="mailto:devel@edk2.groups.io">devel@edk2.groups.io</a>; Wu, Jiaxin <<a href="mailto:jiaxin.wu@intel.com">jiaxin.wu@intel.com</a>>; Fu, Siyuan <<a href="mailto:siyuan.fu@intel.com">siyuan.fu@intel.com</a>><br>
<b>Cc:</b> Madhan B. Santharam <<a href="mailto:madhans@ami.com">madhans@ami.com</a>>; Arun Subramanian B <<a href="mailto:arunsubramanianb@ami.com">arunsubramanianb@ami.com</a>>; Arun Sura Soundara Pandian <<a href="mailto:arunsuras@amiindia.co.in">arunsuras@amiindia.co.in</a>>;
 Bhuvaneshwari M R <<a href="mailto:bhuvaneshwarimr@amiindia.co.in">bhuvaneshwarimr@amiindia.co.in</a>>; Ramesh R. <<a href="mailto:rameshr@ami.com">rameshr@ami.com</a>><br>
<b>Subject:</b> reg: HTTPS Certificate Validation During Enrollment<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Hello all:<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Right now the HTTPS Certificates are getting validated during
<b><span style="font-size:10.0pt;font-family:"Courier New";color:#C00000;background:silver;mso-highlight:silver">TlsConfigCertificate</span></b><b><span style="font-size:10.0pt;font-family:"Courier New";color:#C00000">()</span></b>by HTTPDxe Driver.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">But during enrollment of certificate via TLSDXE driver, it does not have any validation and it keep appending the TLSCaCert variable with the certificate provided.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Assume an invalid certificate keep loaded via TLS Auth configuration page, the NVRAM would be filled with garbage.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Is there any plan to have certificate validation during Enrollment?<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">-Siva<o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>

<div width="1" style="color:white;clear:both">_._,_._,_</div>
<hr>
Groups.io Links:<p>

You receive all messages sent to this group.


<p>

<a target="_blank" href="https://edk2.groups.io/g/devel/message/52588">View/Reply Online (#52588)</a> |


  


|


  
    <a target="_blank" href="https://groups.io/mt/69246372/1813853">Mute This Topic</a>
  

| <a href="https://edk2.groups.io/g/devel/post">New Topic</a><br>



<br>

<a href="https://edk2.groups.io/g/devel/editsub/1813853">Your Subscription</a> |
<a href="mailto:devel+owner@edk2.groups.io">Contact Group Owner</a> |

<a href="https://edk2.groups.io/g/devel/unsub">Unsubscribe</a>

 [edk2-devel-archive@redhat.com]<br>
<div width="1" style="color:white;clear:both">_._,_._,_</div>