← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1208338] Re: SSL3_GET_SERVER_CERTIFICATE:certificate verify failed> while getting https://pysqlite.googlecode.com/files/pysqlite-2.6.3.tar.gz

 

Sorry I posted too soon!

wget was more helpful here

---
[stack@rhel pip]$ wget https://pysqlite.googlecode.com/files/pysqlite-2.6.3.tar.gz
--2013-06-21 11:03:36--  https://pysqlite.googlecode.com/files/pysqlite-2.6.3.tar.gz
Resolving pysqlite.googlecode.com... 173.194.72.82, 2404:6800:4008:c01::52
Connecting to pysqlite.googlecode.com|173.194.72.82|:443... connected.
ERROR: cannot verify pysqlite.googlecode.com’s certificate, issued by “/C=US/O=Google Inc/CN=Google Internet Authority”:
  Issued certificate not yet valid.
To connect to pysqlite.googlecode.com insecurely, use ‘--no-check-certificate’.
---

"certifcate not yet valid" gave me the clue.  This was in a VM that I
restored from a snapshot ... so the time was way out.  ntpdate to sync
time fixed it.

Thanks

** Changed in: anvil
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to anvil.
https://bugs.launchpad.net/bugs/1208338

Title:
  SSL3_GET_SERVER_CERTIFICATE:certificate verify failed> while getting
  https://pysqlite.googlecode.com/files/pysqlite-2.6.3.tar.gz

Status in ANVIL for forging OpenStack.:
  Invalid

Bug description:
  Attempting to install on a fresh rhel6.4 system.  prepare step stops
  with a failure to download pysqlite.

  ---
  [stack@rhel anvil]$ sudo /usr/bin/pip -v install -I -U --download /home/stack/openstack/deps/download --build /home/stack/openstack/deps/download/.build --download-cache /home/stack/openstack/deps/download/.cache --exists-action w pysqlite
  [sudo] password for stack: 
  Downloading/unpacking pysqlite
    Using version 2.6.3 (newest of versions: 2.6.3, 2.6.3, 2.6.2, 2.6.2, 2.6.0, 2.6.0, 2.5.6, 2.5.6, 2.5.5)
    You are installing a potentially insecure and unverifiable file. Future versions of pip will default to disallowing insecure files.
    Error <urlopen error [Errno 1] _ssl.c:490: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed> while getting https://pysqlite.googlecode.com/files/pysqlite-2.6.3.tar.gz (from https://code.google.com/p/pysqlite/)
  Cleaning up...
  Exception:
  Traceback (most recent call last):
    File "/usr/lib/python2.6/site-packages/pip/basecommand.py", line 134, in main
      status = self.run(options, args)
    File "/usr/lib/python2.6/site-packages/pip/commands/install.py", line 236, in run
      requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
    File "/usr/lib/python2.6/site-packages/pip/req.py", line 1084, in prepare_files
      self.unpack_url(url, location, self.is_download)
    File "/usr/lib/python2.6/site-packages/pip/req.py", line 1228, in unpack_url
      retval = unpack_http_url(link, location, self.download_cache, self.download_dir)
    File "/usr/lib/python2.6/site-packages/pip/download.py", line 602, in unpack_http_url
      resp = _get_response_from_url(target_url, link)
    File "/usr/lib/python2.6/site-packages/pip/download.py", line 638, in _get_response_from_url
      resp = urlopen(target_url)
    File "/usr/lib/python2.6/site-packages/pip/download.py", line 176, in __call__
      response = self.get_opener(scheme=scheme).open(url)
    File "/usr/lib64/python2.6/urllib2.py", line 391, in open
      response = self._open(req, data)
    File "/usr/lib64/python2.6/urllib2.py", line 409, in _open
      '_open', req)
    File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
      result = func(*args)
    File "/usr/lib/python2.6/site-packages/pip/download.py", line 155, in https_open
      return self.do_open(self.specialized_conn_class, req)
    File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open
      raise URLError(err)
  URLError: <urlopen error [Errno 1] _ssl.c:490: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed>

  Storing complete log in /root/.pip/pip.log
  ---

To manage notifications about this bug go to:
https://bugs.launchpad.net/anvil/+bug/1208338/+subscriptions