Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 1881

IIs 7.5 SSl option

$
0
0

Hello Everyone,

   I have this application running on production on Windows server 2008 R2 standard., we were asked to make it CAC card enabled. In order to do that I checked the SSL optiojn in IIS 7.5. Once I enabled the CAC card access, I changed my web.config file in the following way

<httpCookies httpOnlyCookies="true" requireSSL="true"/><forms loginUrl="Login.aspx" defaultUrl="Default.aspx" protection="All" requireSSL="true" timeout="20" name=".ASPXAUTH" path="/" slidingExpiration"/>

I started getting this error on all my pages

Sys.WebForms.PageRequestManagerServerErrorException: An unknow error occured while processing the request on the server, The status code from the server was : 413

 

After googling it, i saw that if the file upload size on the web site is huge then this causes this issue so IU added these two lines of code in my config file

<httpRuntime requestValidationMode="2.0" executionTimeout="7200" maxRequestLength="2000000000"  minLocalRequestFreeThreads="76" appRequestQueueLimit="200"/>

and this
<security><requestFiltering><requestLimits maxQueryString="10000" maxUrl="10000" maxAllowedContentLength="4096000000"/></requestFiltering></security>

I am not sure why am I getting this error when enabling the SSL, I was wondering if anyone can help me with this error. As soon as I uncheck SSL, I stopped getting that error.

 

any help will be greatly appreciated.


Viewing all articles
Browse latest Browse all 1881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>