Pages

Showing posts with label Certificate Service. Show all posts
Showing posts with label Certificate Service. Show all posts

Steps to Create a Self Signed Security (SSL) Certificate and Deploy it to Client Machines.

Developers and IT administrators have, no doubt, the need the deploy some website throughHTTPS using an SSL certificate. While this process is pretty straightforward for a production site, for the purposes of development and testing you may find the need to use an SSL certificate here as well.
As an alternate to purchasing and renewing a yearly certificate, you can leverage your WindowsServer’s ability to generate a self signed certificate which is convenient, easy and should meet these types of needs perfectly.

Creating a Self Signed Certificate on IIS

While there are several ways to accomplish the task of creating a self signed certificate, we will use the SelfSSL utility from Microsoft. Unfortunately, this doesn’t ship with IIS but it is freely available as part of the IIS 6.0 Resource Toolkit (link provided at the bottom of this article). Despite the name “IIS 6.0″ this utility works just fine in IIS 7.
All that is required is to extract the IIS6RT to get the selfssl.exe utility. From here you can copy it to your Windows directory or a network path/USB drive for future use on another machine (so you don’t have to download and extract the full IIS6RT).
Once you have the SelfSSL utility in place, run the following command (as the Administrator) replacing the values in <> as appropriate:
selfssl /N:CN=<your.domain.com> /V:<number of valid days>
The example below produces a self signed wildcard certificate against “mydomain.com” and sets it to be valid for 9,999 days. Additionally, by answering yes to the prompt, this certificate is automatically configured to bind to port 443 inside the Default Web Site of IIS.
image
While at this point the certificate is ready to use, it is stored only in the personal certificate store on the server. It is a best practice to also have this certificate set in the trusted root as well.

Import a Trusted Root Certification Authority In Windows 7/Vista/XP.

1. Start Microsoft Management Console (MMC) Tool

Click Start -> Run -> Enter 'MMC' and click 'OK'













 2. Click File -> Add/Remove Snap-In...
















3. Add Certificate.

Select 'Certificates' in left panel and click 'Add' to move to right panel , Then Click 'OK'




4. Select 'Computer Account' option and click 'Next'

GUIDE TO MIGRATE ACTIVE DIRECTORY CERTIFICATE SERVICE FROM WINDOWS SERVER 2003 TO WINDOWS SERVER 2012 R2.


Microsoft has already announced that windows server 2003 / windows server 2003 R2 versions support is coming to end in 14th July 2015 (http://support2.microsoft.com/lifecycle/search/default.aspx?sort=PN&alpha=Microsoft+Windows+Server+2003&Filter=FilterNO). It’s no wonder that some organizations still uses windows server 2003 versions in production environment.


If you still not plan for migration from legacy windows server versions, well time has come!!
This guide will explain how we can migrate AD CS from windows server 2003 to windows server 2012 R2.
In this demonstration I am using following setup.
Server Name
Operating System
Server Roles
canitpro-casrv.canitpro.local
Windows Server 2003 R2 Enterprise x86
AD CS ( Enterprise Certificate Authority )
CANITPRO-DC2K12.canitpro.local
Windows Server 2012 R2 x64
-
Backup windows server 2003 certificate authority database and its configuration
•    Log in to Windows 2003 Server as member of local administrator group
•    Go to Start > Administrative Tools > Certificate Authority
adcs1
•    Right Click on Server Node > All Tasks > Backup CA
adcs2
•    Then it will open the “Certification Authority Backup Wizard” and click “Next” to continue
adcs3
•    In next window click on check boxes to select options as highlighted and click on “Brows” to provide the backup file path location where it will save the backup file. Then click on “Next” to continue
 

RECENT ARTICLES

Recent Articles

BLOG CONTENTS