As of today, if you're running on a Linux system you'll need to have Python
2.7.9 or better. For Ubuntu that means you'll need the 16.04 or later
As Chris describes below, Python only started caring about certificates at
all. Unfortunately the implementation for Python less than 2.7.9 didn't
use OpenSSL as the underlying support for the urlopen calls, which means
the standard way of adding a certificate exception to your system wouldn't
be used or checked on Linux systems. Once you are using Python 2.7.9 or
later however, you can simply add a certificate to your trusted set (which
is what the OpenSSL libraries use for most distros) and it will work.
One point of note with this though, be sure you really have the full
certificate chain when you add it. Firefox for example won't give you the
certificate of the root signing authority in a chain when you export the
certificate. For most corporate installations, this means you need to use
another browser like Opera and explicitly export the root signing
authority's key as well, or get it from your IT department.
On Thursday, July 7, 2016 at 10:30:17 AM UTC-7, udam.d...@gmail.com wrote:
> This is a temporary hack but I'm disabling all SSL cert validation by
> ssl._create_default_https_context = ssl._create_unverified_context
> inside the gitlab.py (doesn't really matter where we do this i guess).
> I'm on the latest RB 188.8.131.52 version using Python 2.7.10.
> On Wednesday, July 6, 2016 at 11:37:31 PM UTC-7, Christian Hammond wrote:
>> Can you show me the code you've used to skip over it, and let me know the
>> version of Python you're using?
>> Also, what version of Review Board?
>> Christian Hammond
>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>> Makers of Review Board <https://www.reviewboard.org/>
>> On Wed, Jul 6, 2016 at 11:06 PM, <udam.d...@gmail.com> wrote:
>>> I switched to using the gitlab integration on ReviewBoard. Previously, I
>>> was using a custom git repository setup on the local machine where I was
>>> running a crontab to peridically update the local repos.
>>> ReviewBoard/Python was not happy with the self-signed cert. For now,
>>> I've added some code in the reviewboard source to skip the ssl
>>> verification. Wondering if there's a better way to configure this in
>>> ReviewBoard so that when I upgrade RB, I won't have to keep disabling the
>>> SSL verification.
>>> Supercharge your Review Board with Power Pack:
>>> Want us to host Review Board for you? Check out RBCommons:
>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>> You received this message because you are subscribed to the Google
>>> Groups "reviewboard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to reviewboard...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
Supercharge your Review Board with Power Pack:
Want us to host Review Board for you? Check out RBCommons:
Happy user? Let us know! https://www.reviewboard.org/users/
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.