[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: svn over HTTPS works everywhere but on the server host itself

From: <Ullrich.Jans_at_elektrobit.com>
Date: Wed, 18 Mar 2009 09:01:36 +0100

Pat Farrell wrote:
> Konstantin Kolinko wrote:
>> Are you able to access https://localhost/ with a web browser?
>
> Not with a real browser, its headless.
>
>> wget --no-check-certificate https://www.pfarrell.com/
>
> Interesting. That works if I comment out the /etc/hosts
> assignment of www.pfarrell.com to localhost.
>
> It fails if I leave it commented in.
> Same external command, different resolution of name:
> wget --no-check-certificate https://www.pfarrell.com/
> --2009-03-18 00:29:37-- https://www.pfarrell.com/ Resolving
> www.pfarrell.com... 127.0.1.1 Connecting to
> www.pfarrell.com|127.0.1.1|:443... failed: Connection refused.

Can you check your Apache config on which addresses it listens on port 443?

You should have a line in your /etc/hosts that points to the "real" IP of your server, not the 127.0.1.1 - comment out the 127.0.1.1, then add the "www www.pfarrell.com" to the end of the line with the real IP.

Now try again. :-)

> I did that because the self signed cert was causing assorted
> whining when I did a "sudo" command.
>
> $ su
> sudo: unable to resolve host www

No idea why it does that.

> This all used to work fine with Debian Etch

I guess now it's time to post your Apache config... :-)

Best regards

Ullrich Jans

-- 
Ullrich Jans, Application Support, IM
Phone: +49 9131 7701-6627, mailto:ullrich.jans_at_elektrobit.com 
Fax: +49 9131 7701-6333, www.elektrobit.com
Elektrobit Automotive GmbH, Am Wolfsmantel 46, 91058 Erlangen, Germany
Managing Directors: Otto Fößel, Jarkko Sairanen
Register Court Fürth HRB 4886 
----------------------------------------------------------------
Please note: This e-mail may contain confidential information
intended solely for the addressee. If you have received this
e-mail in error, please do not disclose it to anyone, notify
the sender promptly, and delete the message from your system.
Thank you.
Received on 2009-03-18 14:17:20 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.