---
title: 编译TPC-DS时证书引起报错
description: "编译TPC-DS时，出现以下报错。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengboostkithistory/2200/bds/kunpengomnicache_20_0031.html
sourcePath: /source/zh/kunpengboostkithistory/2200/bds/kunpengomnicache_20_0031.html
indexId: 66aed462edb2ae23cee4eae46e4154441fc7ac74ad853caa0968bfae210ff71a72
---
# 编译TPC-DS时证书引起报错

#### 问题现象描述

编译TPC-DS时，出现以下报错。

```
curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it.
```


#### 关键过程、根本原因分析

这是证书引起的问题。需要修改在curl命令后，前加入-k，忽略证书检查。


#### 结论、解决方案及效果

1. 修改“/opt/hive-testbench-hdp3/tpcds-gen/Makefile”文件。

```
vim /opt/hive-testbench-hdp3/tpcds-gen/Makefile
```


2. 按“i”进入编辑模式，在curl后面加上-k，修改之后如下图。
3. 按“Esc”键，输入:wq!，按“Enter”保存并退出编辑。
