Recommended Services
Amazon Web Services
LeanCloud
New Relic
ClearDB
SlipStupig
V2EX  ›  云计算

求助 docker:x509: certificate signed by unknown authority

  •  
  •   SlipStupig · Jul 5, 2017 · 8768 views
    This topic created in 3252 days ago, the information mentioned may be changed or developed.
    我用 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 replies    2017-07-05 18:37:33 +08:00
    kmahyyg
        1
    kmahyyg  
       Jul 5, 2017 via Android
    试试扔到母鸡 /etc/ssl/certs 里?
    ipchy
        2
    ipchy  
       Jul 5, 2017
    重启 docker 了么
    SlipStupig
        4
    SlipStupig  
    OP
       Jul 5, 2017
    @ipchy yes
    @kmahyyg
    ~ ls /etc/ssl/certs | grep "ef_hub.pem"
    ef_hub.pem
    ipchy
        5
    ipchy  
       Jul 5, 2017
    不是放在 /etc/docker/certs.d/下的么
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5941 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 72ms · UTC 01:55 · PVG 09:55 · LAX 18:55 · JFK 21:55
    ♥ Do have faith in what you're doing.