Solved in two ways:
- pwb.py uses the built-in httplib2 if no other httplib2 is installed
- the suggested httplib2 to install is our own
(
https://gerrit.wikimedia.org/r/#/c/83370/)
In the future, we might also override the built-in httplib2 if someone uses pwb.py
(
https://gerrit.wikimedia.org/r/#/c/82591/)
---
** [bugs:#1656] Making HTTPS requests by default breaks pywikibot on all non-Ubuntu
systems and in virtual environemnts**
**Status:** closed-fixed
**Created:** Thu Aug 22, 2013 09:26 AM UTC by Wieland Hoffmann
**Last Updated:** Thu Aug 22, 2013 09:26 AM UTC
**Owner:** nobody
httplib2 includes its own list of trusted certificates at
https://code.google.com/p/httplib2/source/browse/python2/httplib2/cacerts.t… - the
DigiCert certificate at the top of wikimedias certificate chain is not included in there
so you can't make any requests. This works in Ubuntu because they patched the httplib2
package to use the system certificate store.
---
Sent from
sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to
https://sourceforge.net/p/pywikipediabot/bugs/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing
list, you can unsubscribe from the mailing list.