Link to home
Start Free TrialLog in
Avatar of dmwynne
dmwynneFlag for United States of America

asked on

Adding SSL to a website

I have a website say mysite.com.

There is a section for clients to login mysite.com/clients.

I want that section to be secured using an ssl certificate.

I buy an ssl certificate for mysite.com and add it to the server.

I want to users to still be able to access mysite.com using http but be forced to use https if they browser to mysite.com/clients.  The website is running IIS 7.5.

Is there an easy way to do this?
Avatar of becraig
becraig
Flag of United States of America image

Go to the ssl settings for that directory on your site and check "require ssl"

Step by step details following.
Run inetmgr

expand the computer node
Expand the site
Click on the folder you want to secure


Click on SSL settings in the center pane

Check the require ssl box and continue from there

then run from a command prompt


iisreset /noforce
Avatar of dmwynne

ASKER

Any coding need to be changed on the site?  When I make this change and a user goes to http://mysite.com/clients are they redirect to https://mysite.com/clients automatically or do I need to do that on IIS?
ASKER CERTIFIED SOLUTION
Avatar of becraig
becraig
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial