1. 1. 问题描述
  2. 2. 解决方案

问题描述

当Minio Server通过https提供服务时,通过命令 mc config –insecure host add minio https://ttxsgoto.github.io username password –api S3v4 添加后,出现 x509: certificate signed by unknown authority错误

解决方案

1
2
3
4
5
# https://github.com/minio/minio/issues/7862
cd /root/.mc/certs/CAs && openssl s_client -showcerts -connect ttxsgoto.github.io:443 > ttxsgoto.crt
~ # mc ls minio # 测试ok
[2020-07-07 07:00:38 UTC] 0B test/