Search this site:

2009-01-23

Problem signing certificate created in VisualSVN with Microsoft Certificate Service


I was helping my workplace to setup a subversion server and I found a good choice named VisualSVN. It is so convenient that everything is done with a few clicks. It is a bundled of Apache and SVN server with an user-friendly GUI (based on Microsoft Management Console). It even helps to you setup LDAP authentication and maintain the access control list so that I can integrate it to our active directory. Everything was going nicely except a minor problem on signing a certificate for the HTTPS service.

Since I don't want the server certificate to be self signed, I generated a certificate request in the VisualSVN console and attempted to sign in with our own Microsoft Certification Service instance. However, I was prompted the following error:

The request contains no certificate template information

From the text I know that the request generated by VisualSVN probably does not include the certificate template information (which is 100% normal...). This page has listed the simple solution by using the certreq utility:
certreq -submit -attrib "CertificateTemplate: WebServer" request.txt
Where request.txt is the certificate request file generated in VisualSVN.

Problem's solved and thanks! :D

BTW, I really do suggest you guys to try out VisualSVN if your server is Windows Platform. It saves you a LOT of time!


No comments:

Post a Comment

HTML Tags allowed (e.g. <b>, <i>, <a>)

Disclaimer

ALL CONTENTS AND INFORMATION IN THIS WEB SITE ARE PROVIDED "AS IT" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED. THE ACCURACY AND AVAILABILITY OF THE CONTENTS, INFORMATION AND THE WEB SITE ITSELF ARE NOT GUARANTEED. THE AUTHOR TAKES NO RESPONSIBILITIES ON ANY COSTS OR DAMAGES (DIRECT OR INDIRECT) ARISING OUT OF OR IN CONNECTION WITH THE ACCESS, USAGE OR INABILITY OF USAGE OF THIS WEB SITE.