Search code examples
svnvisualsvn-serverbug-trackingbugtracker.net

Accept Certificate for SVN from BugTracker.Net


I'm trying to integrate SVN with BugTracker.NET. On the page that accesses SVN I get the error "Server certificate verification failed: certificate issued for a different hostname, issuer is not trusted". I'm using VisualSVN Server for the SVN server.


Solution

  • I found the solution:

    Open a cmd window on the bugtracker.net server. Write any svn command adding the svn option "--config-dir C:\whatever" Accept permanently the certificate.

    The user files will be saved in the C:\whatever directory

    Then go to the bugtracker.net web.config file and add the same option to the SubversionAdditional args. add key="SubversionAdditionalArgs" value="--config-dir c:\whatever"

    And it will work fine forever since the IUSER_HOST windows user (ASP user) will use that cache directory and will find the file to trust the machine)