gsoc 2020 having issues with ssl certificate verification in linking git and trac for contributing

33 views
Skip to first unread message

DIVESH KUMAR

unread,
Feb 10, 2020, 12:55:22 PM2/10/20
to sage-devel
While configuring git and trac following steps from http://doc.sagemath.org/html/en/developer/git_trac.html
I am facing the following error upon using the command
git trac config --user USERNAME --pass 'PASSWORD'



Saved trac username.
Saved trac password.
Trac xmlrpc URL:
    https://trac.sagemath.org/xmlrpc (anonymous)
    https://trac.sagemath.org/login/xmlrpc (authenticated)
    realm sage.math.washington.edu
Username: diveshkr-code
Password: ***********
Retrieving SSH keys...
Traceback (most recent call last):
  File "/home/diveshcode/.local/bin/git-trac", line 17, in <module>
    cmdline.launch()
  File "/home/diveshcode/.local/lib/python2.7/site-packages/git_trac/cmdline.py", line 284, in launch
    app.print_config()
  File "/home/diveshcode/.local/lib/python2.7/site-packages/git_trac/app.py", line 391, in print_config
    for key in self.trac.get_ssh_fingerprints():
  File "/home/diveshcode/.local/lib/python2.7/site-packages/git_trac/trac_server.py", line 111, in get_ssh_fingerprints
    for key in self.get_ssh_keys():
  File "/home/diveshcode/.local/lib/python2.7/site-packages/git_trac/trac_server.py", line 103, in get_ssh_keys
    return self.authenticated_proxy.sshkeys.getkeys()
  File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1602, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.7/xmlrpclib.py", line 1283, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/home/diveshcode/.local/lib/python2.7/site-packages/git_trac/digest_transport_py2.py", line 127, in single_request
    response = self.opener.open(req)
  File "/usr/lib/python2.7/urllib2.py", line 429, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 447, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1241, in https_open
    context=self._context)
  File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)>


Any help would be helpful have been stuck on this for a couple of days.
Thank you.

DIVESH KUMAR

unread,
Feb 10, 2020, 12:55:22 PM2/10/20
to sage-devel
Reply all
Reply to author
Forward
0 new messages