2

I would like to use svn server to share source code in a repository among computers on a home network. I have svnserver and openssl installed on the computer with the repository. Can someone give me step by step instructions on generating a certificate, incorporating into svnserver, putting the certificate on the other computers, and accessing the repository from eclipse.

The computers are running versions of windows.

I'm following the steps at http://community.spiceworks.com/how_to/show/1469-how-to-become-your-own-certificate-authority-and-secure-spiceworks

and have put the following commands into a script file for cygwin

# Generate CA root certificate
openssl req -new -x509 -extensions v3_ca \ 
   -keyout cakey.pem -out cacert.pem -days 3650

# Move to /etc/ssl
mv cakey.pem /etc/ssl/private 
mv cacert.pem /etc/ssl/certs.

# Generate Secure and Insecure Keys
openssl genrsa -des3 -out server.key 2048
openssl rsa -in server.key -out server.key.insecure 
mv server.key server.key.secure 
mv server.key.insecure server.key

At this point, I think I copy the contents of server.key and server.key.insecure into the file C:\Program Files (x86)\VisualSVN Server\certs\server.pem

but, I'm not sure about that. Also, what file do I copy to the other computers and how to connect eclipse to the repository.

Also, is there an easier way to do this besides using svnserver, since all the machines are on the same home network, and they are running versions of windows?

4

0 回答 0