Mailinglist Archive: opensuse-bugs (2150 mails)

< Previous Next >
[Bug 873500] New: Mercurial no longer pushes\clones to self-signed repos
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 14 Apr 2014 17:37:42 +0000
  • Message-id: <bug-873500-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=873500

https://bugzilla.novell.com/show_bug.cgi?id=873500#c0


Summary: Mercurial no longer pushes\clones to self-signed repos
Classification: openSUSE
Product: openSUSE 13.1
Version: Final
Platform: x86-64
OS/Version: openSUSE 13.1
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Other
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: c_eric@xxxxxxxxxxxxx
QAContact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101
Firefox/28.0

After trying to clone or push data to a self-signed repo mercurial aborts with
an error.

This can be done with any combination of the following options:
1) --insecure
2) --config web.cacerts=

There are tips on how to fix this on the mercurial website:

http://mercurial.selenic.com/wiki/CACertificates

however, these do not work.

This is not a problem with python as trying a very simple ssl program:

https://docs.python.org/2/library/ssl.html#client-side-operation

with this change:

ssl_sock = ssl.wrap_socket(s)

does work.

This was tested on both version 2.7.1 and version 2.9.1.

Reproducible: Always

Steps to Reproduce:
1. hg clone --insecure https://self.signed.repo.tld/path-to-hg
Actual Results:
pushing to https://self.signed.repo.tld/path-to-hg
abort: error: _ssl.c:357: error:0B084002:x509 certificate
routines:X509_load_cert_crl_file:system lib

Expected Results:
Data to be pushed to the server.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >