Connecting to SVN server using SSL fails due to unrecognized_name

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptom

When attempting to connect to a SVN server configured to use SSL the following error is received and a connection cannot be configured:

INFO [http-apr-8085-exec-11] [SvnRepository] Failed to validate the subversion url: svn: E175002: handshake alert:  unrecognized_name
svn: E175002: OPTIONS request failed on '/path/to/tags/id'

Cause

The SVN server is not configured correctly, ServerName in your Apache virtual host configuration is missing.

(info) TortoiseSVN ignores this warning by default and it may go unnoticed.

Resolution

On the SVN server:
  • In the Apache virtual host configuration, make sure the <VirtualHost> tag has a value for ServerName.

    <VirtualHost mydomain.com:443>
      ServerName  mydomain.com
      [...]
    </VirtualHost>
    
Last modified on Feb 20, 2015

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.