Breakage with invalid SSL certificates

Bug #141555 reported by zimbatm
2
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
New
Undecided
Unassigned

Bug Description

When the SSL certifical for HTTPS is invalid, bzr exits without giving the user, the choice to accept it.

--------
bzr: ERROR: pycurl.error: (60, 'server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt')

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 800, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 758, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 492, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.4/site-packages/bzrlib/builtins.py", line 866, in run
    br_from = Branch.open(from_location)
  File "/usr/lib/python2.4/site-packages/bzrlib/branch.py", line 127, in open
    possible_transports=possible_transports)
  File "/usr/lib/python2.4/site-packages/bzrlib/bzrdir.py", line 542, in open
    return BzrDir.open_from_transport(t, _unsupported=_unsupported)
  File "/usr/lib/python2.4/site-packages/bzrlib/bzrdir.py", line 579, in open_from_transport
    redirected)
  File "/usr/lib/python2.4/site-packages/bzrlib/lazy_import.py", line 116, in __call__
    return obj(*args, **kwargs)
  File "/usr/lib/python2.4/site-packages/bzrlib/transport/__init__.py", line 1538, in do_catching_redirections
    return action(transport)
  File "/usr/lib/python2.4/site-packages/bzrlib/bzrdir.py", line 555, in find_format
    return transport, BzrDirFormat.find_format(
  File "/usr/lib/python2.4/site-packages/bzrlib/bzrdir.py", line 1260, in find_format
    return format.probe_transport(transport)
  File "/usr/lib/python2.4/site-packages/bzrlib/bzrdir.py", line 1270, in probe_transport
    format_string = transport.get(".bzr/branch-format").read()
  File "/usr/lib/python2.4/site-packages/bzrlib/transport/http/__init__.py", line 177, in get
    code, response_file = self._get(relpath, None)
  File "/usr/lib/python2.4/site-packages/bzrlib/transport/http/_pycurl.py", line 147, in _get
    return self._get_full(relpath)
  File "/usr/lib/python2.4/site-packages/bzrlib/transport/http/_pycurl.py", line 182, in _get_full
    self._curl_perform(curl, header)
  File "/usr/lib/python2.4/site-packages/bzrlib/transport/http/_pycurl.py", line 268, in _curl_perform
    curl.perform()
error: (60, 'server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt')

bzr 0.91.0candidate2 on python 2.4.4.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'clone', 'https://code.whytheluckystiff.net/svn/camping']

** please send this report to <email address hidden>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.