RBTools Ticket #4934: rbt setup-repo and SSL: CERTIFICATE_VERIFY_FAILED

85 views
Skip to first unread message

Mark Waterhouse

unread,
Jul 9, 2021, 8:10:19 AM7/9/21
to Mark Waterhouse, reviewboa...@googlegroups.com
To reply, visit https://hellosplat.com/s/beanbag/tickets/4934/

New ticket #4934 by judouk

For Beanbag, Inc. RBTools

rbt setup-repo and SSL: CERTIFICATE_VERIFY_FAILED

What version are you running?

$ rbt --version RBTools 2.0 (Python 3.9.5)

What steps will reproduce the problem?

  1. $ rbt setup-repo --debug
  2. Specify the internal URL of the reviewboard instance which is secured using an internal CA known to the OS
  3. Making HTTP GET request to https://reviewboard.mycorp.lcl/api/

What is the expected output? What do you see instead?

Could not reach the Review Board server at https://reviewboard.mycorp.lcl/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)

What operating system are you using?

CentOS Linux release 7.9.2009 (Core)

Attach the debug out from the command.

$ rbt setup-repo --debug
>>> RBTools 2.0
>>> Python 3.9.5 (default, Jun 25 2021, 11:21:04) 
[GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
>>> Running on Linux-3.10.0-1160.6.1.el7.x86_64-x86_64-with-glibc2.17
>>> Home = /NFS/home/mark
>>> Current directory = /NFS/home/mark
>>> Command line: rbt setup-repo --debug

This command is intended to help users create a .reviewboardrc file in the current
directory to connect a repository and Review Board server.

Repositories must currently exist on your server (either hosted
internally or via RBCommons) to successfully generate this file.
Repositories can be added using the Admin Dashboard in Review Board or
under your team administration settings in RBCommons.

Press CTRL + C anytime during this command to cancel generating your
config file.

Enter the Review Board server URL: https://reviewboard.mycorp.lcl/
>>> Making HTTP GET request to https://reviewboard.mycorp.lcl/api/

Could not reach the Review Board server at https://reviewboard.mycorp.lcl/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)
Please try again.

Enter the Review Board server URL:

Please provide any additional information below.

New Priority:Medium Type:Defect
Reply all
Reply to author
Forward
0 new messages