Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


September 20, 2004

Access Denied: Obtaining a Server Certificate from Your Own CA

RSS
Subscribe to Windows IT Pro | See More Internet Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

I need to set up a secure extranet Web server so that we can exchange information with clients and contractors. When I try to configure Microsoft Internet Information Services (IIS) to use HTTPS for the site, IIS requires me to install a server certificate. I'm embarrassed to admit that management doesn't want to spend a couple hundred dollars to buy a Web Secure Sockets Layer (SSL) certificate from a third-party Certification Authority (CA) such as GeoTrust or VeriSign. Can I set up SSL on my server without installing a server certificate?

SSL requires a server certificate. However, you can set up your own CA, then obtain a certificate from it.

To set up a CA, simply install Certificate Services on an available server. Then, disconnect your Web server from the Internet and reconnect it to your internal LAN. (Although there is a way to request a certificate offline, I find this method easier unless I'm dealing with a server that hosts sites and that can't be taken down.) Open Microsoft Internet Explorer (IE), and enter the address of your CA followed by /certsrv (e.g., http://ca/certsrv) in the Address bar. IE will display the Microsoft Certificate Services Web page.

To request a certificate from your new CA, click the Request a certificate link. On the Request a Certificate page, click the advanced certificate request hotlink. Finally, click the Create and submit a request to this CA link. Be sure to enter the Web server's DNS name or IP address (depending on how you access the server from the Internet) in the Subject field. For Type of Certificate Needed, select Server Authentication or Computer, depending on which one appears. You can leave the other settings at their defaults.

After requesting the certificate from your Web server, log on to your CA and approve the request, which you'll find in the Pending Requests folder in the Microsoft Management Console (MMC) Certification Authority snap-in. Back at your Web server, browse to your CA again and click the View the status of a pending certificate request link. On the resulting page, you'll see the Web server's new certificate. When you install the certificate, install it in the computer's certificate store (not in your own certificate store) under Personal\Certificates.

Browse again to your CA's /certsrv page. This time, click Download a CA certificate, certificate chain, or CRL, click the Download CA Certificate link, and save the certificate to your Web server in a folder under Inetpub so that it will be accessible to Web-site users. Next, create a link in an appropriate place on your Web site so that users can install your CA's self-signed certificate as a trusted CA. Finally, configure IIS to use your Web server's new certificate (not the CA's self-signed certificate).

Now, when users browse to https://yourserver.com, they'll see a warning that your Web server is presenting a certificate signed by an untrusted CA. Instruct the users to let the Web page load proceed. After users log in to your site, have them click the link to your CA's certificate and let IE install the certificate in the Trusted Root Certification Authority store. Thereafter, users should no longer see the warning.

A word of caution: Keep the system your CA resides on secure. If you don't plan to issue new certificates in the near future, it's a good idea to disable the Certificate Services service.

End of Article



Reader Comments

You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

WinInfo Short Takes: Week of November 9, 2009

An often irreverent look at some of the week's other news, including some more Windows 7 sales momentum, some Sophos stupidity, Microsoft's cloud computing self-loathing, more whining from the browser makers, Zoho's "Fake Office," and much, much more ...

Understanding File-Size Limits on NTFS and FAT

A general confusion about files sizes on FAT seems to stem from FAT32's file-size limit of 4GB and partition-size limit of 2TB. ...


Security Whitepapers Reducing the Costs and Risks of Branch Office Data Protection

Solving Desktop Management Challenges in Healthcare

Solving Desktop Management Challenges in Education

Related Events Introduction to Identity Lifecycle Manager "2"

SQL Server Security: How to Secure, Monitor & Audit Your Databases

Protecting Mobile Users' Data

Check out our list of Free Email Newsletters!

Security eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

Related Security Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement