V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Recommended Services
Amazon Web Services
LeanCloud
New Relic
ClearDB
SlipStupig
V2EX  ›  云计算

求助 docker:x509: certificate signed by unknown authority

  •  
  •   SlipStupig · 2017-07-05 16:43:33 +08:00 · 8176 次点击
    这是一个创建于 2480 天前的主题,其中的信息可能已经有所发展或是发生改变。
    我用 harbor 搭建了一个私有 regisitry 但是死活就提示我:"__Error response from daemon: Get https://ef.hub/v1/users/: x509: certificate signed by unknown authority__", 我尝试将 crt 放到`/var/docker/certs.d/ef.hub`下也不行,怎么才能解决这个问题呢?
    5 条回复    2017-07-05 18:37:33 +08:00
    kmahyyg
        1
    kmahyyg  
       2017-07-05 17:09:10 +08:00 via Android
    试试扔到母鸡 /etc/ssl/certs 里?
    ipchy
        2
    ipchy  
       2017-07-05 17:11:55 +08:00
    重启 docker 了么
    deepzz
        3
    deepzz  
       2017-07-05 17:19:52 +08:00   ❤️ 1
    SlipStupig
        4
    SlipStupig  
    OP
       2017-07-05 17:23:27 +08:00
    @ipchy yes
    @kmahyyg
    ~ ls /etc/ssl/certs | grep "ef_hub.pem"
    ef_hub.pem
    ipchy
        5
    ipchy  
       2017-07-05 18:37:33 +08:00
    不是放在 /etc/docker/certs.d/下的么
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2598 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 05:06 · PVG 13:06 · LAX 22:06 · JFK 01:06
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.