harbor 使用

· 3 mins read

harbor Github

install

# Download harbor
wget https://github.com/goharbor/harbor/releases/download/v2.8.2/harbor-offline-installer-v2.8.2.tgz

# unzip
tar -xvf harbor-offline-installer-v2.8.2.tgz

# config harbor.yml
cp harbor.yml.tmpl harbor.yml
nano harbor.yml
...

# install
./install.sh

使用Certbot生成证书

apt install certbot 

certbot certonly --standalone -d yourdomain.com

证书文件位置/etc/letsencrypt/live/yourdomain.com/

bug

x509: certificate signed by unknown authority
证书链不完整
使用fullchain.pem证书
https检查