Hi I have two svn repositories on the same apache server under two virtual hosts on port 9000. Both hosts have their own certificates. The problem is, when I try to try and do an svn up I get this error below. For some reason an svn up to server1.example.com results in trying to access server2.example.com Should I use a different port number for each server? Other solutions....? Thanks!
svn up . Updating '.': Error validating server certificate for 'https://server1.example.com:9000': - The certificate hostname does not match. - The certificate has an unknown error. Certificate information: - Hostname: server2 - Valid: from Aug 25 20:47:00 2017 GMT until Aug 24 20:47:00 2022 GMT Listen 9000 <VirtualHost *:9000> ServerName server1.example.com DocumentRoot "/mnt/data/www" # SVN <Location "/repository1"> SetOutputFilter DEFLATE SetInputFilter DEFLATE DAV svn SVNPath /mnt/data/repository1 LimitXMLRequestBody 0 AuthType Basic AuthName "repository1" AuthUserFile /mnt/data/repository1/svn-auth-file Require valid-user AuthzSVNAccessFile /mnt/data/repository1/acl </Location> and Listen 9000 <VirtualHost *:9000> ServerName server2.example.com DocumentRoot "/mnt/data/www" # SVN <Location "/repository2"> SetOutputFilter DEFLATE SetInputFilter DEFLATE DAV svn SVNPath /mnt/data/repository2 LimitXMLRequestBody 0 AuthType Basic AuthName "repository2" AuthUserFile /mnt/data/repository2/svn-auth-file Require valid-user AuthzSVNAccessFile /mnt/data/repository2/acl </Location>