标签:src mamicode mod pre tin 流程 org get info
搭建k8s需要SSL证书,在本地环境搭建k8s,就需要自签证书。自建证书流程如下:
下载并安装CFSSL安装包 |
(1) 下载CFSSL安装包
证书签发工具CFSSL下载。官网下载地下:https://pkg.cfssl.org/
cfssl下载: https://pkg.cfssl.org/R1.2/cfssl_linux-amd64
cfssljson下载: https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64
cfssl-certinfo下载: https://pkg.cfssl.org/R1.2/cfssl-certinfo_linux-amd64
wget https://pkg.cfssl.org/R1.2/cfssl_linux-amd64 wget: https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64 wget https://pkg.cfssl.org/R1.2/cfssl-certinfo_linux-amd64
(2) 安装CFSSL
chmod +x cfssl* cp cfssl_linux-amd64 /usr/local/bin/cfssl cp cfssljson_linux-amd64 /usr/local/bin/cfssl-json cp cfssl-certinfo_linux-amd64 /usr/bin/cfssl-certinfo
安装完成,验证安装:
which cfssl which cfssl-json which cfssl-certinfo
标签:src mamicode mod pre tin 流程 org get info
原文地址:https://www.cnblogs.com/yyee/p/13189331.html