Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VisualSVN Server self-signed certificate

I'm reading VisualSVN doc online and one of them is like this:

It's also possible to export a self-signed certificate from VisualSVN Server and save this certificate in the trusted certificates list on all client computers. 

But cannot find more info about how to do that. Anybody can help me? I'm learning how to use SVN and will share with my brothers first.

EDIT:

We are using Windows machines: XP, Vista and 7.

like image 946
5YrsLaterDBA Avatar asked Feb 16 '11 21:02

5YrsLaterDBA


People also ask

What port does VisualSVN Server use?

This setting allows you to configure VisualSVN Server to use a specific TCP port. By default the server uses port 443 for HTTPS and port 80 for HTTP. If the default ports are occupied by other applications, it is suggested to use the 8443 and 8080 ports instead. Non-standard ports can also be used if required.

Is self signed certificate secure?

Self-signed certificates are safe in a testing environment, and you can use them while you are waiting for your certificates officially signed by CAs. But, using them in a production environment leaves the systems exposed to vulnerabilities and security breaches.

How SSL certificate works?

The web server sends the browser/server a copy of its SSL certificate. The browser/server checks to see whether or not it trusts the SSL certificate. If so, it sends a message to the web server. The web server sends back a digitally signed acknowledgement to start an SSL encrypted session.

Is VisualSVN Server free?

VisualSVN Server is freely available for commercial use under the Community license.


1 Answers

Yes, you can do it via your browser. When you open your VisualSVN Server URL using HTTPS, if your VisualSVN Server has self-signed certificate, browser will warn you about it. Browser will ask: would you add this certificate to the security exception list? If you will accept it, browser will add this certificate to the exception list and next time you visit this server you will connect without certificate confirmation.

As also you can export certificate via browser. For example, when you're trying to connect to the server with self-signed certificate using Firefox, it will show you "This Connection is Untrusted" message. You can export certificate with the following steps:

  1. Choose "I understand the risk"
  2. Click "Add Exception" button. "Add Security Exception" window will be open.
  3. After a few seconds "view" button will be active, click it. "Certificate viewer" window will be open.
  4. Choose "Details" tab and then click "export".
  5. Firefox will offer you to save certificate on your local disk. You'll be able to choose the format of the certificate before saving. After you get the certificate you'll be able to import it everywhere you want.

As you have noticed, VisualSVN Server Manager doesn't support export of the certificates. But this function will be supported in one of the next releases.

Good luck!

like image 116
Denis Frolov Avatar answered Oct 23 '22 18:10

Denis Frolov