summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--samples/RelyingPartyMvc/Web.config9
-rw-r--r--samples/RelyingPartyWebForms/Web.config9
2 files changed, 18 insertions, 0 deletions
diff --git a/samples/RelyingPartyMvc/Web.config b/samples/RelyingPartyMvc/Web.config
index 32d146c..03c7fc4 100644
--- a/samples/RelyingPartyMvc/Web.config
+++ b/samples/RelyingPartyMvc/Web.config
@@ -48,6 +48,15 @@
<iriParsing enabled="true" />
</uri>
+ <!-- This setting causes .NET to check certificate revocation lists (CRL)
+ before trusting HTTPS certificates. But this setting tends to not
+ be allowed in shared hosting environments. -->
+ <system.net>
+ <settings>
+ <servicePointManager checkCertificateRevocationList="true"/>
+ </settings>
+ </system.net>
+
<appSettings/>
<connectionStrings/>
<system.web>
diff --git a/samples/RelyingPartyWebForms/Web.config b/samples/RelyingPartyWebForms/Web.config
index 2dadb77..934510c 100644
--- a/samples/RelyingPartyWebForms/Web.config
+++ b/samples/RelyingPartyWebForms/Web.config
@@ -32,6 +32,15 @@
<iriParsing enabled="true" />
</uri>
+ <!-- This setting causes .NET to check certificate revocation lists (CRL)
+ before trusting HTTPS certificates. But this setting tends to not
+ be allowed in shared hosting environments. -->
+ <system.net>
+ <settings>
+ <servicePointManager checkCertificateRevocationList="true"/>
+ </settings>
+ </system.net>
+
<system.web>
<!--<sessionState cookieless="true" />-->
<compilation debug="true"/>