From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.31; helo=mga06.intel.com; envelope-from=kyung.min.park@intel.com; receiver=edk2-devel@lists.01.org Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 719D82119EF38 for ; Wed, 12 Dec 2018 17:25:32 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Dec 2018 17:25:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,346,1539673200"; d="scan'208,217";a="283156638" Received: from orsmsx108.amr.corp.intel.com ([10.22.240.6]) by orsmga005.jf.intel.com with ESMTP; 12 Dec 2018 17:25:31 -0800 Received: from orsmsx102.amr.corp.intel.com ([169.254.3.59]) by ORSMSX108.amr.corp.intel.com ([169.254.2.224]) with mapi id 14.03.0415.000; Wed, 12 Dec 2018 17:25:31 -0800 From: "Park, Kyung Min" To: "edk2-devel@lists.01.org" Thread-Topic: Secureboot enable with OVMF Thread-Index: AdSSf/BsnLhw9cpORWuOUsbSjToO7w== Date: Thu, 13 Dec 2018 01:25:30 +0000 Message-ID: <3658BA65DD26AF4BA909BEB2C6DF6181962783D2@ORSMSX102.amr.corp.intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.22.254.140] MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Secureboot enable with OVMF X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Dec 2018 01:25:32 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I'm trying to enable the secureboot with OVMF. I followed the steps as belo= w. But When I executed LockDown.efi, it gives me an error which says, "Failed = to enroll PK: 26". According to UEFI spec, the 26 means EFI_SECURITY_VIOLATION, but I don't un= derstand why I got this error. Before I ran the LockDown.efi, the secureboot was disabled by default and t= he PK key was not enrolled. 1. Build OVMF with secureboot enable https://wiki.ubuntu.com/UEFI/EDK2 2. Generate/Execute LockDown.efi to enroll PK/KEK/DB keys git://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git I would appreciate any useful information about this error. Thanks, Kyung Min