2016-01-27 30 views
0

我想知道哪些軟件包更新可能會導致更改python請求包的默認CA位置。下面列出的是我發現在運行RHEL 7無法確定哪個軟件包更新導致更改CA證書位置的python請求包

可以檢驗證書店內正在使用的請求包東西2個不同的節點如下規定:

[[email protected] test]# python -mrequests.certs 
/etc/pki/tls/certs/ca-bundle.crt 

[[email protected] test]# openssl version 
OpenSSL 1.0.1e-fips 11 Feb 2013 

[[email protected] test]# python 
Python 2.7.5 (default, Oct 11 2015, 17:47:16) 
[GCC 4.8.3 20140911 (Red Hat 4.8.3-9)] on linux2 
Type "help", "copyright", "credits" or "license" for more information. 
>>> import requests 
>>> requests.__version__ 
'2.7.0' 

其他節點上相同的事情是如下所示: -

[[email protected] test]# python -m requests.certs 
/usr/lib/python2.7/site-packages/requests/cacert.pem 

[[email protected] test]# openssl version 
OpenSSL 1.0.1e-fips 11 Feb 2013 

[[email protected] test]# python 
Python 2.7.5 (default, Oct 11 2015, 17:47:16) 
[GCC 4.8.3 20140911 (Red Hat 4.8.3-9)] on linux2 
Type "help", "copyright", "credits" or "license" for more information. 
>>> import requests 
>>> requests.__version__ 
'2.7.0' 

我無法弄清哪些軟件包可能已升級,導致這一點。我無法弄清楚接下來我應該檢查什麼。好心提醒。

回答

1

一個版本的請求(前者)由系統包管理器安裝,後者由pip安裝。

相關問題