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

求助 docker:x509: certificate signed by unknown authority

  •  
  •   SlipStupig · Jul 5, 2017 · 8714 views
    This topic created in 3232 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   ·   1001 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 22:17 · PVG 06:17 · LAX 15:17 · JFK 18:17
    ♥ Do have faith in what you're doing.