Xcode can't verify the identity of the server “github.com”, Xcode

后端 未结 3 1268
南旧
南旧 2021-02-07 02:05

\"enter

Sorry for the dumb question, but I\'ve been getting this on Xcode. I\'m not sure

相关标签:
3条回答
  • 2021-02-07 02:32

    None of the certificates in the CA chain for GitHub appears to have just expired or be closed to expire.

    This article (on rail app, but also relevant here) suggests:

    • install MacPorts
    • use OpenSsl
    • if have a directory /opt/local/etc/openssl:
    $ cd /opt/local/etc/openssl
    $ sudo curl -O http://curl.haxx.se/ca/cacert.pem
    $ sudo mv cacert.pem cert.pem
    $ setenv SSL_CERT_FILE /opt/local/etc/openssl/cacert.pem
    
    0 讨论(0)
  • 2021-02-07 02:35

    Anyone facing this issue, quit your proxy and try again.

    0 讨论(0)
  • 2021-02-07 02:42

    Just click "Show Certificate", unfold the disclosure arrow and set the "Trust" dropdown option menu to "Always Trust". Accept and re-enter your password if asked. It should be fine now. (Sorry for not being more precise, but I don't have the Certificate window under my eyes right now.)

    0 讨论(0)
提交回复
热议问题