[issue3167] "SSL required on push" error while SSL is already used

Cerem Cem ASLAN bugs at mercurial.selenic.com
Thu Dec 22 00:57:30 CST 2011


New submission from Cerem Cem ASLAN <ceremcem at ceremcem.net>:

I setup Nginx in order to publish my repositories. I created and use a
self-signed SSL certificate.

If I write http://repo/myrepo Nginx redirects me to https://repo/myrepo and
asks for username/password as its auth_basic module requires. 

When I visit repository with Firefox for the first time, it asks me if I
want to add this certificate to the exception list. After that, I browse the
repository without any other issue.

When I clone the repository, Mercurial gives an SSL related error for the
first time and when I add my self-signed SSL certificate's fingerprint into
~/.hgrc's "hostfingerprints" section, then all works as expected and I can
freely clone/update "myrepo". 

Here is the issue: I configure myrepo to require ssl on push and I tried to
push. Mercurial complains as follows:
    remote: ssl required

As I say, I'm already using my self-signed SSL certificate and I think the
other events prove that my SSL configuration works as expected. 

So, what would be the issue?

----------
messages: 18393
nosy: ceremcem
priority: urgent
status: unread
title: "SSL required on push" error while SSL is already used

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3167>
____________________________________________________


More information about the Mercurial-devel mailing list