Ask Your Question
1

Devstack (Havana) - curl SSL Certification verification error

asked 2014-02-12 07:21:36 -0500

anonymous user

Anonymous

updated 2014-02-14 18:56:55 -0500

smaffulli gravatar image

I am trying to install devstack on Ubuntu 12.04 LTS but ran into this problem. The problem is "Curl SSL Certification error" I tried to solve problem with steps mentioned here -> http://curl.haxx.se/docs/sslcerts.html But I am not able to resolve this issue.

Please help me to resolve this issue.

+ sudo DEBIAN_FRONTEND=noninteractive http_proxy= https_proxy= no_proxy= apt-get --option Dpkg::Options::=--force-confold --assume-yes purge python-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python-pip is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 629 not upgraded.
+ [[ 0 == \1 ]]
+ install_pip_tarball
+ cd /home/user/OpenStack/devstack/files
+ curl -O https://pypi.python.org/packages/source/p/pip/pip-1.4.1.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0curl: (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.
edit retag flag offensive close merge delete

Comments

Could u paste ur localrc or local.conf for us to take a look? Need more details here.

9lives ( 2014-03-21 20:06:49 -0500 )edit

I get the same error .were you abel to solve this?

@9lives where does localrc, local.conf reside?

nutshi ( 2014-05-02 14:19:05 -0500 )edit

curl -O https://pypi.python.org/packages/source/p/pip/pip-1.4.1.tar.gz (https://pypi.python.org/packages/sour...) (2:45:58 PM) njain:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current                                  Dload  Upload   Total   Spent    Left  Speed   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (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

nutshi ( 2014-05-02 15:18:34 -0500 )edit

curl 7.22 ubuntu 12.04

nutshi ( 2014-05-02 15:20:36 -0500 )edit

exact steps on what to do are not mentioned in http://curl.haxx.se/docs/sslcerts.html

nutshi ( 2014-05-02 15:21:29 -0500 )edit

2 answers

Sort by » oldest newest most voted
1

answered 2014-05-07 22:46:09 -0500

dale.moberg gravatar image

Check path to curl using "which" to see that you are picking up /usr/bin/curl, especially if you use anaconda. That resolved my ./stack.sh curl related failure anyhow.

edit flag offensive delete link more
1

answered 2014-05-16 12:02:47 -0500

nutshi gravatar image

i upgraded curl and was able to fix this

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Get to know Ask OpenStack

Resources for moderators

Stats

Asked: 2014-02-12 07:21:36 -0500

Seen: 708 times

Last updated: May 07 '14