Breakage with invalid SSL certificates

Bug #141555 reported by zimbatm
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin

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/", line 800, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/", line 758, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/", line 492, in run_argv_aliases
  File "/usr/lib/python2.4/site-packages/bzrlib/", line 866, in run
    br_from =
  File "/usr/lib/python2.4/site-packages/bzrlib/", line 127, in open
  File "/usr/lib/python2.4/site-packages/bzrlib/", line 542, in open
    return BzrDir.open_from_transport(t, _unsupported=_unsupported)
  File "/usr/lib/python2.4/site-packages/bzrlib/", line 579, in open_from_transport
  File "/usr/lib/python2.4/site-packages/bzrlib/", line 116, in __call__
    return obj(*args, **kwargs)
  File "/usr/lib/python2.4/site-packages/bzrlib/transport/", line 1538, in do_catching_redirections
    return action(transport)
  File "/usr/lib/python2.4/site-packages/bzrlib/", line 555, in find_format
    return transport, BzrDirFormat.find_format(
  File "/usr/lib/python2.4/site-packages/bzrlib/", line 1260, in find_format
    return format.probe_transport(transport)
  File "/usr/lib/python2.4/site-packages/bzrlib/", line 1270, in probe_transport
    format_string = transport.get(".bzr/branch-format").read()
  File "/usr/lib/python2.4/site-packages/bzrlib/transport/http/", line 177, in get
    code, response_file = self._get(relpath, None)
  File "/usr/lib/python2.4/site-packages/bzrlib/transport/http/", line 147, in _get
    return self._get_full(relpath)
  File "/usr/lib/python2.4/site-packages/bzrlib/transport/http/", line 182, in _get_full
    self._curl_perform(curl, header)
  File "/usr/lib/python2.4/site-packages/bzrlib/transport/http/", line 268, in _curl_perform
error: (60, 'server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt')

bzr 0.91.0candidate2 on python (linux2)
arguments: ['/usr/bin/bzr', 'clone', '']

** 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.