[问题已处理]-harbor更新ssl证书
harbor
Harbor 是一个开源的容器镜像仓库,用于存储和管理 Docker 镜像和其他容器镜像。 * 容器镜像仓库、存储和管理 Docker 镜像和其他容器镜像 * 有什么特点:支持多种镜像格式、易于使用、安全性和访问控制
项目地址:https://gitcode.com/gh_mirrors/ha/harbor

·
导语:harbor证书过期更新ssl证书
服务器上的harbor
由docker-compose
启动.
遇到的问题:下载下来的证书.pem
格式需要修改成.crt
格式. 否则可能出现401的情况
私钥.key
格式的文件.
检查证书有效时间
openssl x509 -in /srv/cert/deepwise.com.pem -noout -dates
cat harbor.yml
# https related config
https:
# # https port for harbor, default is 443
port: 443
# # The path of cert and key files for nginx
# 我这里一开始用的pem 401
# certificate: /srv/cert/deepwise.com.pem
certificate: /srv/cert/harbor.deepwise.com.crt
private_key: /srv/cert/deepwise.com.key
cat docker-compose.yml 对应的证书也需要更新
volumes:
- ./common/config/nginx:/etc/nginx:z
- /fc_san/harbor-update/secret/cert:/etc/cert:z
- type: bind
source: ./common/config/shared/trust-certificates
target: /harbor_cust_cert
https://blog.csdn.net/wzy_168/article/details/109577638
直接更新harbor数据库密码
https://blog.csdn.net/zfw_666666/article/details/126505610




Harbor 是一个开源的容器镜像仓库,用于存储和管理 Docker 镜像和其他容器镜像。 * 容器镜像仓库、存储和管理 Docker 镜像和其他容器镜像 * 有什么特点:支持多种镜像格式、易于使用、安全性和访问控制
最近提交(Master分支:9 个月前 )
145a10a8
refactor: simplify SearchAndOnBoardGroup logic
Signed-off-by: bupd <bupdprasanth@gmail.com> 3 天前
f46295aa
6 天前
更多推荐
所有评论(0)