Search code examples
google-chrome-extensiongoogle-nativeclientchrome-native-messaging

Install chrome native client (nacl)


I am trying to install Chrome native client.

I went to this https://developer.chrome.com/native-client/sdk/download page to download and install the sdk. I followed the instructions in this page however when I tried to execute the naclsdk list command or any naclsdk command I got an error:

third_party.fancy_urllib.InvalidCertificateException: Host storage.googleapis.com returned an invalid certificate ([SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)):
To learn more, see http://code.google.com/appengine/kb/general.html#rpcssl
Usage: sdk_update_main.py <command> [options]

What is the problem here? Is there a problem with a certificate?


Solution

  • just comment two lines of sdk_tools/download.py

    # ca_certs = os.path.join(SCRIPT_DIR, 'cacerts.txt')
    
    # request.set_ssl_info(ca_certs=ca_certs)