Tuesday 8 July 2014

SSL Integration

Below Steps are for IIS 7

Go to IIS
Go to Sites, copy your site name or just note down your site name.
Click Binding Under Edit Site Section Right side of IIS under Actions.
Click Add
Select Https, No need to select IP address, we will add in command.
Click Select Certificate dropdown, select your Certificate.
Click ok.
You have Just added SSL now, not assigned to any site.
Now Integrate SSL to Site.
Click Run-->Type cmd-->ok.
GO this path.
C:\Windows\System32\inetsrv
Run below line of code replace www.xyz.com with your site name.
appcmd set site /site.name: www.xyz.com /bindings.[protocol='https',bindingInformation='*:443:'].bindingInformation:*:443: www.xyz.com
Note: * refers to IP Address.
Run above command.
Now SSL has applied to your site.
Click Binding Under Edit Site Section.
You can see your site with https
Above one is for IIS 7