Question

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.

Was it helpful?

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)

OTHER TIPS

Say you're trying to access

https://www.xyz.com/<whatever>

And the certificate has been issued to www.abc.com. Try

https://www.abc.com/<whatever>

And it should work.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top