Prerequisites:
- CAWEB and WEB Portals are configured to SSL cert
- CAWEB and WEB Portals settings are configured to HTTPS instead of HTTP
Ensure the above 2 prerequisites are properly implemented before proceeding below steps. If not the secure flag may not work properly.
Steps to configure:
- Login to EasiShare Server (where WEB or CAWEB portals are hosted)
- Navigate to folder path where the Source files are hosted. Assume "D:\Apps\web or D:\Apps\caweb"
- Backup existing folders before proceed any changes
- Navigate to 'caweb" > Select Web.Config > Open the Config file
- Ensure below highlighted sections a & b requireSSL set as true under <system.web> section
a)
<authentication mode="Forms">
<forms loginUrl="Home/Login" protection="All" defaultUrl="Home" name=".ASPXFORMSAUTH" requireSSL="true" timeout="20">
</forms>
</authentication>
b)
<httpCookies requireSSL="true" httpOnlyCookies="true"/> - Save Config file
- Navigate to 'web" > Select Web.Config > Open the Config file
- Repeat step 5 and 6 for WEB portal
Steps to verify:
- Launch Google Chrome and go to either WEB or CAWEB portal website
- Press F12 (from Keyboard) to launch Developer Tools
- Go to Application tab -> Cookies ( left Panel) and ensure the Secure column was ticked
Comments