Menu

#1651 CA bundle file location

Any_OS_X
open
5
2015-09-14
2015-09-14
No

python urlopen has been failing for a number of locations since I upgraded my system. It raises the following error; as it's unable to find the CA bundle file.

URLError: <urlopen error="" <span="">[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>

The fink package ca-bundle is installed and up to date, but it puts the bundle file in a subdirectory /sw/etc/ssl/certs/

Looking at other systems that uses e.g. macports I found out that creating a symlink /sw/etc/ssl/cert.pem makes it work, and the error indeed goes away. However I think this should be done during installation/upgrade and not from the user side.

$ fink --version

Package manager version: 0.38.7
Distribution version: selfupdate-rsync Mon Sep 14 12:45:42 2015, 10.10, x86_64
Trees: local/main stable/main stable/crypto

Copyright (c) 2001 Christoph Pfisterer
Copyright (c) 2001-2015 The Fink Package Manager Team
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

Discussion

  • Alexander Hansen

    This should affect all OS X, so I switched the milestone.
    Assigning to package maintainer.

     
  • Alexander Hansen

    • assigned_to: Daniel Johnson
    • Group: 10.10 --> Any_OS_X
     

Log in to post a comment.