gana2188 / google-cloud-sdk

Automatically exported from code.google.com/p/google-cloud-sdk
0 stars 0 forks source link

$ curl https://sdk.cloud.google.com fails to run SS certificate problem #88

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

run $ curl https://sdk.cloud.google.com

What is the expected output? 

Script runs

What do you see instead?

curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify 
failed
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.
clive-boultons-macbook-pro:~ seebe$ 

What is the output of 'gcloud info'?

Nil

Please provide any additional information below.

Zip download ran fine.

Or, you can download google-cloud-sdk.zip or google-cloud-sdk.tar.gz, unpack 
it, and launch the ./google-cloud-sdk/install.sh script.

Original issue reported on code.google.com by clive.bo...@gmail.com on 7 Nov 2014 at 2:37

GoogleCodeExporter commented 8 years ago
hi Clive,
Can you run

  curl --trace curl.out https://sdk.cloud.google.com

and post curl.out?
thanks

Original comment by gsfow...@google.com on 7 Nov 2014 at 8:36

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hi, discovered I need to first install curl :) 

But curl is packaged as .deb file. 
http://pdb.finkproject.org/pdb/package.php/curl?rel_id=10.9-x86_64-current-bindi
st 

Tried to use find an unzip utility for .deb, tried tar xvf but cannot make head 
or tail of http://www.gzip.org/

Very close to giving up on GCP, AWS console and packaging is far more helpful. 
GCloud compute utility is exhausted torture.

Original comment by clive.bo...@gmail.com on 10 Nov 2014 at 12:32

GoogleCodeExporter commented 8 years ago
I'm not sure if installing curl is the problem here. The fact that you were 
able to get an error back from curl in your first post means that it's 
installed; there may just be some configuration problem with it. 

To get you going, I'd recommend that you just get the archive version of the 
Cloud SDK here:

https://dl.google.com/dl/cloudsdk/release/google-cloud-sdk.tar.gz

Unpack it to a directory, and then run ./google-cloud-sdk/install.sh

Original comment by rdayal@google.com on 10 Nov 2014 at 4:17

GoogleCodeExporter commented 8 years ago
Thanks, done. gcloud installs fine via: run ./google-cloud-sdk/install.sh 

Original comment by clive.bo...@gmail.com on 10 Nov 2014 at 4:37

GoogleCodeExporter commented 8 years ago

Original comment by vil...@google.com on 25 Nov 2014 at 4:41