Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to fix certificate errors when using curl?
    primarykey
    data
    text
    <p>When I attempt to download from dl.google.com I receive this error : </p> <pre><code>ERROR: The certificate of `dl.google.com' is not trusted. ERROR: The certificate of `dl.google.com' hasn't got a known issuer. </code></pre> <p>Here is entire command output</p> <pre><code>$ curl https://dl.google.com/dl/cloudsdk/release/install_google_cloud_sdk.bash | bash % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 3607 100 3607 0 0 2820 0 0:00:01 0:00:01 --:--:-- 3125 bash: line 77: [: Files: binary operator expected wget -O - https://dl.google.com/dl/cloudsdk/release/google-cloud-sdk.tar.gz &gt; tm p.4wwaU246zk/google-cloud-sdk.tar.gz --2013-12-12 11:05:41-- https://dl.google.com/dl/cloudsdk/release/google-cloud- sdk.tar.gz Resolving my.proxy.com my.proxy.com)... x.x.x.x Connecting to my.proxy.com (my.proxy.com)|x.x.x.x|:1234... conne cted. ERROR: The certificate of `dl.google.com' is not trusted. ERROR: The certificate of `dl.google.com' hasn't got a known issuer. </code></pre> <p>Reading this question : <a href="https://stackoverflow.com/questions/9224298/how-do-i-fix-certificate-errors-when-running-wget-on-an-https-url-in-cygwin">How do I fix certificate errors when running wget on an HTTPS URL in Cygwin?</a> an option is to "add the --no-check-certificate option on the wget command-line" but since I'm using curl instead of wget is there a similar option for above command ?</p> <p>Update : I've tried </p> <pre><code>curl -k https://dl.google.com/dl/cloudsdk/release/install_google_cloud_sdk.ba sh | bash </code></pre> <p>But same error, could the proxy/firewall be blocking the connection ?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload