VISUALSVN Server Download installation process and CA certificate making tutorial

Source: Internet
Author: User
Tags openssl openssl download openssl rsa svn

VISUALSVN Server Download Address: http://www.visualsvn.com/server/download/


OpenSSL download Address: http://code.google.com/p/openssl-for-windows/

Also available for download through my resources: http://download.csdn.net/detail/deleteelf/4161438

Note that OpenSSL requires support from C + + Redistributable

2008 Version: HTTP://WWW.MICROSOFT.COM/DOWNLOADS/ZH-CN/DETAILS.ASPX?FAMILYID=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF

2010 Version: http://www.microsoft.com/downloads/zh-cn/details.aspx?familyid=a7b7a05e-6de6-4d3a-a423-37bf0912db84


Suppose the installation OpenSSL under its default path C:\OPENSSL

My Computer---> Right key properties---> Environment variables---->path---> Append c:\openssl\bin\


The following are the details of the process and can be made directly by downloading the packages in my resources http://download.csdn.net/detail/deleteelf/4161690

Set up a temporary folder anywhere on your computer and create an empty Index.txt file under the folder

Copy the following code into the bat file

Process one: Make CA certificate

@echo off
echo generates the key for the CA root certificate
OpenSSL genrsa-des3-out Ca.key 2048
echo Generates CA root certificate
OpenSSL req-new-x509-days 7305-key ca.key-out ca.crt
Pause



Process Two: Create a service Request certificate to be signed

@echo off
Echo Generation Service PEM
OpenSSL genrsa-des3-out 127.0.0.1.pem 1024
echo generates a service key (private key)
OpenSSL rsa-in 127.0.0.1.pem-out 127.0.0.1.key
echo Please enter the common name, which is exactly the same as the actual site domain name, and this process is important
OpenSSL Req-new-key 127.0.0.1.pem-out 127.0.0.1.CSR
Pause



Process three: Sign the request certificate

@echo off
echo Create path
mkdir Democa\newcerts
echo copy index.txt template to target directory
copy/y Index.txt Democa\index.txt
Echo Write sequence
Echo 01> democa\serial
Echo Signature Service Certificate
OpenSSL ca-policy policy_anything-days 1460-cert ca.crt-keyfile ca.key-in 127.0.0.1.csr-out 127.0.0.1.crt
Pause


Process four: RSA encryption of the key for the request certificate

@echo off
Key for @echo Encryption server
OpenSSL rsa-in 127.0.0.1.key-out Result.key
echo replicates the files in Result.key to Server.pem, and the certificate portion of the copy 127.0.0.1.CRT is appended to the SERVER.PEM
Pause



Process five: Open the Certs directory under the SVN installation directory, copy the files from Result.key to Server.pem, and append the certificate portion of the 127.0.0.1.CRT to the SERVER.PEM


Process six: Double-click the generated ca.crt to import to the trusted root certificate


Process seven: Double-click the generated 127.0.0.1.CRT import (can be selected by the certificate itself)


Process Eight: Restart the SVN server



Article by oneself original, need to reprint must indicate the source, and keep up with http://blog.csdn.net/deleteelf/article/details/7380939 link

There is no understanding of the place can be consulted, please do not send the thread of the actual problem, thank you for your cooperation

Need to help make the certificate of friends, please email contact deleteelf@gmail.com


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.