Microsoft Certificate Services Configuring OCSP


KB ID 0001084 Dtd 06/07/15


I seem to have done a lot of PKI the last 18 months. This week I needed an OCSP server deploying for the CA server on my test bench so I took the time to document it for future use. One of the most overlooked parts of a PKI deployment, is how to cope with ‘revoking’ certificates.

Traditionally this has been done with a CRL, but there is a downside to CRL’s. Network devices tend to cache them, and they don’t get updated as often as they should. Which is why OCSP is a lot better, it runs as a service and answers revocation requests immediately.


This is a walk though on configuring OCSP, I’m assuming you already have your PKI and your CRL is already setup, if not take a look at the following article;

Windows Certificate Services – Setting up a CRL

1. Launch the certificate services management console > Certificate Templates > Manage.

Server 2012 Manage Certificate Templates

2. Locate the OCSP Response Signing Certificate > Properties.

Server 2012 OCSP Certificate

3. Security Tab > Add in the server that will be hosting the OCSP service, (I always use the same server that’s serving my CRL).

OCSP Permissions

4. Grant the server read and enroll rights > Apply > OK.

OCSP Settings 2012

5. Then issue the OCSP Responder Template.

OCSP Certificate issue

6. Open the properties of the Certificate Services Server.

Server 2012 PKI Setup

7. Extensions Tab > Change the drop-down to Authority Information Access (AIA) > Add >Enter the URL of the server that will serve OCSP, this will need to be resolvable internally and of the service is presented to the outside works the URL will need registering in public DNS > OK.

Server 2012 Setup OCSP

8. Select the URL you have just entered > Tick ‘Include in the online certificate status protocol (OCSP) extension’ > Apply > OK.

OCSP Settings

9. On the server that you want to install the OCSP service > Launch Server Manager > Manage > Add Roles and Services > Add in the Active Directory Certificate Services Role.

Install OCSP

10. On the Role Services page, remove ‘Certificate Authority’ and then add ‘Online Responder’ > Complete the wizard.

Windows Online Responder

11. Run through the post install wizard, and accept all the defaults.

Configuring OCSP Settings

12. Launch the Online Responder Management console.

Online Responder Managment

13. Revocation Configuration > Add Revocation Configuration > Enter a name > Next.

Server 2012 Revication Configuration

14. Select your method of locating a CA certificate > Next.

Windows CA OCSP

15. Locate your CA Certificate.

OCSP CA Certificate

16. Select your OCSP Template > Next.

Enroll for OCSP Certificate

17. Finish.

Server 2012 Revocation Provider

18. The configuration should go green and say ‘Working’.

Server 2012 OCSP Working

19. To make sure the certificate is issued > Array Configuration > {server-name} > View Signing Certificate.

Server 2012 Checking 2012 OCSP Certificate


Related Articles, References, Credits, or External Links

Windows Certificate Services – Setting up a CRL

Author: Migrated

Share This Post On