-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 27.01.2015 um 20:09 schrieb Robert Schweikert:
Hi,
I suspect I am forgetting something, could use some help.
On tumbleweed (python)
import requests requests.get('https://www.googleapis.com/oauth2/v1/certs') ... File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 417, in send raise SSLError(e, request=request) requests.exceptions.SSLError: [Errno 21] Is a directory
strace shows open("/etc/ssl/certs/", O_RDONLY|O_CLOEXEC) = 4 fstat(4, {st_mode=S_IFDIR|0555, st_size=20480, ...}) = 0 read(4, 0x7fa7fe54f000, 4096) = -1 EISDIR (Is a directory)
Same operation succeeds on openSUSE 13.1 also succeeds on 13.2
openssl s_client -connect www.googleapis.com:443 is fine everywhere, so I would think, there is a problem with the cert handling in factory's python or requests which tries to read /etc/ssl/certs/ as if it was a file. if you do sed -i 's!etc/ssl/certs/!etc/ssl/ca-bundle.pem!' /usr/lib/python2.7/site-packages/requests/certs.py then the script works as expected. However, this line worked in 13.2, so probably the processing of it changed. Ciao Bernhard M. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlTIB2YACgkQSTYLOx37oWQWcQCgwlK/OgS/DwzTI3P+hT+RSqLm G/gAn2GuwnQx0+f4RxUv1FD+/JKjiYm2 =ZKV5 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org