---
title: UEFI远程证明
description: "UEFI支持获取机密虚拟机中ACPI table与event log并进行验证，本章节主要介绍samples的使用。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengboostkithistory/250rc2/confidt/kunpengtee_16_0047.html
sourcePath: /source/zh/kunpengboostkithistory/250rc2/confidt/kunpengtee_16_0047.html
indexId: a530a10e9b52bc4464f1f0c572f021878c7e76488682ffc7bc16068fcd29062972
---
# UEFI远程证明

UEFI支持获取机密虚拟机中ACPI table与event log并进行验证，本章节主要介绍samples的使用。

该功能暂不支持IMA度量。


#### 启动server

1. 请参见编译远程证明Demo完成演示Demo的编译。
2. 请参见4.12.7 启动机密虚机完成机密虚拟机的启动，并将server部署到虚拟机任意目录下。虚拟机需要配置网桥网络。
3. 在虚拟机内启动server。

```
./server -i <
ip
> -p <
port
>
```


  - 可选：ip：服务端配置的IP地址。默认为本地回环。
  - 可选：port：服务端配置的端口。默认为7220。


#### 启动client

1. client发起远程证明请求。

```
./client -i <ip> -p <port> -m <measurement> [-e] -f </path/image_reference_measurement.json>
```


  - 可选：ip：要连接的服务端IP地址。默认为本地回环。
  - 可选：port：要连接的服务端端口。默认为7220。
  - measurement：cVM初始度量基线值，请参见    4.6-获取cVM初始度量基线值
。
  - 可选：-e：打印机密虚拟机ACPI table和Event Log相关信息。
  - image_reference_measurement.json：验证qcow2镜像中各个组件的HASH值json文件，    制作qcow2镜像
生成的image_reference_measurement.json。
