2016-03-27 15 views
-1

jailbroken iOSにあらかじめインストールされている信頼できる認証局/証明書がないようです。例えば:Jailbroken iOSでCA証明書を修正しましたか?

  1. レポのクローンを作成しようとしている間は、gitは言うSSL certificate problem

    ➜ ~ wget https://curl.haxx.se/ 
    --2016-03-27 13:36:14-- https://curl.haxx.se/ 
    Resolving curl.haxx.se... 80.67.6.50, 2a00:1a28:1200:9::2 
    Connecting to curl.haxx.se|80.67.6.50|:443... connected. 
    ERROR: cannot verify curl.haxx.se's certificate, issued by '/C=US/O=Let\'s Encrypt/CN=Let\'s Encrypt Authority X1': 
        Unable to locally verify the issuer's authority. 
    To connect to curl.haxx.se insecurely, use `--no-check-certificate'. 
    
  2. curl返すエラー証明書を確認しながら:

    ➜ ~ git clone https://github.com/tylerhall/sosumi.git 
    Cloning into 'sosumi'... 
    fatal: unable to access 'https://github.com/tylerhall/sosumi.git/': SSL certificate problem: unable to get local issuer certificate 
    
  3. wgetを返すエラーチェックを証明ながら、 :

    ➜ ~ curl https://curl.haxx.se/ 
    
    curl: (60) SSL certificate problem: unable to get local issuer certificate 
    More details here: http://curl.haxx.se/docs/sslcerts.html 
    
    curl performs SSL certificate verification by default, using a "bundle" 
    of Certificate Authority (CA) public keys (CA certs). If the default 
    bundle file isn't adequate, you can specify an alternate file 
    using the --cacert option. 
    If this HTTPS server uses a certificate signed by a CA represented in 
    the bundle, the certificate verification probably failed due to a 
    problem with the certificate (it might be expired, or the name might 
    not match the domain name in the URL). 
    If you'd like to turn off curl's verification of the certificate, use 
    the -k (or --insecure) option. 
    

私が試み:効果を示さなかった

cd /usr/local/share/ca-certificates 
wget http://curl.haxx.se/ca/cacert.pem --no-check-certificate 
wget http://repo.thireus.com/Packages_robinbird/update-ca-certificates_1.1-2_iphoneos-arm.deb 
dpkg -i update-ca-certificates_1.1-2_iphoneos-arm.deb 
update-ca-certificates 

を。

どのようにして証明書の問題を解決できますか?

答えて

0

iOSは、OSXのようにキーチェーンに格納された独自の証明書ストアを使用します。それは のLinuxではなく、脱獄とは何の関係もありません。そういうわけで、たとえば、アップル社はOSX用のGitの独自のバージョンを構築し、その証明書ストアにアクセスして証明書に不平を言うことはないのです。必要なツール、信頼できる証明書を検索する場所については、読んでおく必要があります。

関連する問題