Does the .NET HttpWebRequest class support OCSP stapling?

Luigi Sorrentino 1 Reputation point
2020-12-04T15:31:51.193+00:00

We're looking to configure our .NET application to use OCSP stapling.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,156 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce Zhang-MSFT 3,736 Reputation points
    2020-12-07T09:19:29.493+00:00

    Hi @Luigi Sorrentino ,

    Yes, it supports OCSP stapling.

    By default, OCSP support is enabled for IIS websites that have a simple secure (SSL/TLS) binding. However, this support is not enabled by default if the IIS website is using either or both of the following types of secure (SSL/TLS) bindings:

    • Require Server Name Indication
    • Use Centralized Certificate Store

    More information can get from the document.


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our  documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best regards,
    Bruce Zhang