public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Andrew Fish" <afish@apple.com>
To: edk2-devel-groups-io <devel@edk2.groups.io>,
	rafaelrodrigues.machado@gmail.com
Subject: Re: [edk2-devel] How to restrict HTTPS boot to a single address
Date: Fri, 26 Aug 2022 09:02:57 -0700	[thread overview]
Message-ID: <412CC19B-A5E2-489A-99FF-E1E4C81C2863@apple.com> (raw)
In-Reply-To: <CACgnt797+bC0LDivGp1N-TAd6tZTynvqzGDtyOe=W6jOxpXTcQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1035 bytes --]

Rafael,

I’m not sure this matches exactly what you are looking for, but the OVMF (Virtual Machine) has some configuration options around HTTPS boot [1]. That might be a good place to start. 

[1] https://github.com/tianocore/edk2/blob/master/OvmfPkg/README#L232

Thanks,

Andrew Fish

> On Aug 26, 2022, at 7:15 AM, Rafael Machado <rafaelrodrigues.machado@gmail.com> wrote:
> 
> Hello everyone.
> 
> Quick question for the ones that understand better the HTTPBoot architecture at the edk2 structure.
> 
> Suppose I have to restrict HTTPS boot to accept only the download of images from a specific url.
> For example, instead of allowing the download of images from any valid CA certificate address, I would like to restrict HTTPSBoot to allow only downloads from some specific domain I have.
> 
> Probably filtering some information, CN or something like that, from the url certificate.
> 
> What is the best way to do that?
> In which driver/library should this logic be added?
> 
> Thanks
> Rafael
> 


[-- Attachment #2: Type: text/html, Size: 1661 bytes --]

  reply	other threads:[~2022-08-26 16:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-26 14:15 How to restrict HTTPS boot to a single address Rafael Machado
2022-08-26 16:02 ` Andrew Fish [this message]
2022-08-28 11:25 ` [edk2-devel] " Sivaraman Nainar
2022-08-29 13:21   ` Rafael Machado

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=412CC19B-A5E2-489A-99FF-E1E4C81C2863@apple.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox