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

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

\"enter

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

3条回答
  •  萌比男神i
    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
    

提交回复
热议问题