[edk2-devel] HTTPS Certificate Validation During Enrollment

Siyuan, Fu siyuan.fu at intel.com
Fri Dec 27 07:46:34 UTC 2019


Yes

Best Regards
Siyuan

From: Sivaraman Nainar <sivaramann at amiindia.co.in>
Sent: 2019年12月27日 15:26
To: Fu, Siyuan <siyuan.fu at intel.com>; devel at edk2.groups.io; Wu, Jiaxin <jiaxin.wu at intel.com>
Cc: Madhan B. Santharam <madhans at ami.com>; Arun Subramanian B <arunsubramanianb at ami.com>; Arun Sura Soundara Pandian <arunsuras at amiindia.co.in>; Bhuvaneshwari M R <bhuvaneshwarimr at amiindia.co.in>; Ramesh R. <rameshr at ami.com>
Subject: RE: HTTPS Certificate Validation During Enrollment

Siyuan:

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?

-Siva
From: Fu, Siyuan [mailto:siyuan.fu at intel.com]
Sent: Tuesday, December 24, 2019 1:30 PM
To: Sivaraman Nainar; devel at edk2.groups.io<mailto:devel at edk2.groups.io>; Wu, Jiaxin
Cc: Madhan B. Santharam; Arun Subramanian B; Arun Sura Soundara Pandian; Bhuvaneshwari M R; Ramesh R.
Subject: RE: HTTPS Certificate Validation During Enrollment

Hi, Siva

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.

If someone want to fill the NV variable storage full with garbage, they can simply use SetVaraible service, not necessary to use this page.

Best Regards
Siyuan

From: Sivaraman Nainar <sivaramann at amiindia.co.in<mailto:sivaramann at amiindia.co.in>>
Sent: 2019年12月24日 13:17
To: devel at edk2.groups.io<mailto:devel at edk2.groups.io>; Wu, Jiaxin <jiaxin.wu at intel.com<mailto:jiaxin.wu at intel.com>>; Fu, Siyuan <siyuan.fu at intel.com<mailto:siyuan.fu at intel.com>>
Cc: Madhan B. Santharam <madhans at ami.com<mailto:madhans at ami.com>>; Arun Subramanian B <arunsubramanianb at ami.com<mailto:arunsubramanianb at ami.com>>; Arun Sura Soundara Pandian <arunsuras at amiindia.co.in<mailto:arunsuras at amiindia.co.in>>; Bhuvaneshwari M R <bhuvaneshwarimr at amiindia.co.in<mailto:bhuvaneshwarimr at amiindia.co.in>>; Ramesh R. <rameshr at ami.com<mailto:rameshr at ami.com>>
Subject: reg: HTTPS Certificate Validation During Enrollment

Hello all:

Right now the HTTPS Certificates are getting validated during TlsConfigCertificate()by HTTPDxe Driver.

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.

Assume an invalid certificate keep loaded via TLS Auth configuration page, the NVRAM would be filled with garbage.

Is there any plan to have certificate validation during Enrollment?

-Siva

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#52588): https://edk2.groups.io/g/devel/message/52588
Mute This Topic: https://groups.io/mt/69246372/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20191227/9b287574/attachment.htm>


More information about the edk2-devel-archive mailing list