yum install -y --setopt=obsoletes=0 \ node
> docker-ce-19.03.3-3.el7 python
1.1獲取ca私鑰key linux
openssl genrsa -out ca.key 4096 git
1.2生成ca簽名請求 github
openssl req -x509 -new -nodes -sha512 -days 3650 \ web
-subj "/C=CN/ST=Beijing/L=Beijing/O=lx/OU=lx/CN=harbor.aipo.lenovo.com" \ docker
-key ca.key \ centos
-out ca.crt 服務器
1.1生成服務器私鑰 工具
openssl genrsa -out harbor.aipo.lenovo.com.key 4096
1.2生成證書籤名請求
openssl req -sha512 -new \
-subj "/C=CN/ST=Beijing/L=Beijing/O=lx/OU=lx/CN=harbor.aipo.lenovo.com.com" \ |
-key harbor.aipo.lenovo.com.key \ |
-out harbor.aipo.lenovo.com.csr |