Troubleshooting TLS / SSL communication problems for ASP.NET applications making HTTP Web Request or WCF queries to SSL endpoints – Scenario 3

In our first and second posts about troubleshooting the TLS / SSL problems, we worked to fix a “The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel” error message. We made some basic tests, such as a “browser test” and found that the certificate used was not valid and then…


Troubleshooting TLS / SSL communication problems for ASP.NET applications making HTTP Web Request or WCF queries to SSL endpoints – Scenario 2

This is the second part of our series of articles about troubleshooting TLS / SSL communications problems when you make Http Web Request or WCF queries from your ASP.NET applications to SSL endpoints. In our first scenario, we troubleshooted a “The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel” error message. We…


Troubleshooting TLS / SSL communication problems for ASP.NET applications making HTTP Web Request or WCF queries to SSL endpoints – Scenario 1

This is the first part of a series of articles about troubleshooting TLS / SSL communications problem when you make Http Web Request or WCF queries from your ASP.NET applications to SSL endpoints. As explained in the introduction article, we will cover some of the problems for our simple ASP.NET 4.6 application which makes an…


Troubleshooting TLS / SSL communication problems for ASP.NET applications making HTTP Web Request or WCF queries to SSL endpoints – Introduction

This is the introduction post of a series of articles about troubleshooting TLS / SSL communications problem when you make Http Web Request or WCF queries from your ASP.NET applications to SSL endpoints. Consider the following set up: You are running an ASP.NET application which makes an HTTPS request to an endpoint and the response…


IIS Dynamic Compression and new Dynamic Compression features in IIS 10

Dynamic Compression is one of the features that largely goes unnoticed in the everyday work a server does but is one of the unsung heroes of the Internet, saving bandwidth for each packet of data that it compresses. You can find out about how to enable dynamic compression for the IIS web-server by consulting the…


Delete inbound cookies in IIS using URL Rewrite

I have recently come across a few issues where some web apps were having a bad time due to some “evil” cookies in the HTTP request headers. Although web applications would normally expect to receive back the cookies they previously set, they don’t really control what user agents include in the HTTP headers. Not to…


The complete list of changes to make to activate Client Certificate Mapping on IIS using Active Directory

Setting up client certificate mapping in IIS 8.5 and above using Active Directory has never been very complex, however, I find that there is little to no documentation that walks you through the entire process from A-Z. In this article, I intend to look at setting up Client Certificate Mapping, and explain how client certificate…


How to perform a clean reinstallation of IIS

I’ve seen several scenarios where our customers need to reinstall IIS, a typical one is related to configuration file corruption. For example, you may see following event in System Event Log: “The configuration section ‘system.webServer’ cannot be read because it is missing a section declaration.” The configuration file corruption can lead to a dysfunctionalities or…


Using URL Re-write in IIS to change Content-Disposition Headers

Browsers have several ways in which they can handle a file that is downloaded from a web-server and that does not contain HTML or is an HTML page associated resource. The way in which attachments are dealt with is quite neatly described in this blog post from the HttpWatch team: https://blog.httpwatch.com/2010/03/24/four-tips-for-setting-up-http-file-downloads/ . The way to…