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

Re: SSL handshake failed: SSL error: A TLS warning alert has been received.

From: Stefan Sperling <stsp_at_elego.de>
Date: Thu, 9 Feb 2012 18:25:30 +0100

On Thu, Feb 09, 2012 at 09:07:19AM -0800, pweltz wrote:
>
> I also had this error "SSL handshake
> failed: SSL error: A TLS warning alert has been received. "
>
> In case it helps, here is how I found a solution:
>
> -I did a trace: tcpdump port 443 -s0 -w error.cap
> -which I opened with wireshark, and saw the server gave a TLS warning "TLSv1
> Record Layer: Alert (Level: Warning, Description: Unrecognized Name)"
> This one is even documented in wikipedia
> http://en.wikipedia.org/wiki/Transport_Layer_Security
> "TLS only; client's Server Name Indicator specified a hostname not supported
> by the server"
>
> I understood there was a mismatch between the ServerName in apache's
> ssl.conf and the IP I used on the svn command line
> I updated the ServerName and the error went away

Thanks for sharing this!

A similar (but more obscure) error message due to the same underlying
problem is documented in the FAQ:
http://subversion.apache.org/faq.html#ssl-error-336032856

I suppose we should add your error message to that FAQ entry, too.
Would you be able to provide a patch against
https://svn.apache.org/repos/asf/subversion/site/publish/faq.html
that makes this change?
Received on 2012-02-09 18:26:14 CET

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