set up SSL for SVN source control

5.3k views Asked by At

I'm configuring CollabNet SVN server (http://www.collab.net/downloads/subversion/) on windows server 2008 machine. It works fine with http configuration. But when i enable https and attach ssl certificate to it, I can't start the SVN server.

I think, its because of the port issue. I can run SVN server on port 8080 fine (http://domainname:8080/), but when i change the port to 80 it says - 'The server could not bind to port "80". Check permission to use the port and that another process is not using the port.' I checked binding of port and it's not been used by any other process. So port 80 doesn't work and i can't use https on port 8080.

So just wondering if anyone has seen this issue before and know any possible solution for this.

Thanks.

1

There are 1 answers

0
George Waddell On

If you enable the SSL options Apache will try and use port 443 by default it should be trying to use port 80 for non SSL traffic. If as you say, you have IIS installed it is probably grabbing port 80 and 443. As far as I'm aware it is the port you are grabbing on the network card not the IP address - I could be wrong though! You could trying installing another network card and setting up the apache IP on that or disabling / removing IIS or trying to use a different port than 443 for SSL to this site.

Alternatively, if you are using the Subversion Edge for Visual Studio (most versions including 2010 both VB and C#) development, can you access the admin console from another machine? Should be on something like https://:4434/csvn (if SSL enabled) or http://:3343/csvn (non SSL) If so, you could use the AnkhSVN plugin to Visual Studio (also from Collabnet) which allows you to access your repository directly in Visual Studio. It goes through the SubversionEdge Admin URL to access the repository.