-
Notifications
You must be signed in to change notification settings - Fork 38
Closed
Description
I know very little about the mechanisms here, so apologies if I've got this very wrong, but since portable PyPy vendors OpenSSL, and compiles it looking at /opt/prefix
, it appears that at runtime no certificates are actually found from the system bundle, because that directory obviously will not exist on machines that use Portable PyPy.
I.e.,
>>> import ssl; ssl.get_default_verify_paths()
DefaultVerifyPaths(cafile=None, capath=None, openssl_cafile_env='SSL_CERT_FILE', openssl_cafile='/opt/prefix/ssl/cert.pem', openssl_capath_env='SSL_CERT_DIR', openssl_capath='/opt/prefix/ssl/certs')
whereas the system certs are not there (this is CentOS 6, so they're in /etc/ssl/certs/ca-bundle.crt
).
Setting SSL_CERT_FILE
appears to be one way to fix the issue, but what's the actual recommendation for that?
Metadata
Metadata
Assignees
Labels
No labels