# OCSP Configuration

**URL:** <https://community.f5.com/t/ocsp-configuration/29364>\
**Category:** Technical Forums\
**Tags:** big-ip-access-policy-manager-apm, application-delivery\
**Created:** [March 17, 2017, 1:49pm UTC](https://community.f5.com/t/ocsp-configuration/29364 "2017-03-17T13:49:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_G\_33241](https://avatars.discourse-cdn.com/v4/letter/d/ed8c4c/32.png) [@David\_G\_33241](https://community.f5.com/u/David_G_33241)\
**Post date:** [March 17, 2017, 1:49pm UTC](https://community.f5.com/t/ocsp-configuration/29364/1 "2017-03-17T13:49:39Z")

</div>

I am trying to get OCSP to work with both Device and User Certificates. I have managed to confirm that everything works using the command line however I cannot seem to figure out the proper responder configuration within Big-IP.

These work:

```tcl
openssl ocsp -issuer issuing-ca-6.cer -cert myusercert.cer -url http://10.1.1.1/ocsp -CAfile ca-bundle.crt -no_nonce
openssl ocsp -issuer issuing-ca-6.cer -cert mydevicecert.cer -url http://10.1.1.1/ocsp -CAfile ca-bundle.crt -no_nonce

```

Both commands respond with “Response verify OK” plus a message indicating if the certificate is revoked or good. Revoking a cert changes the status so I believe all is good when using the CLI.

Our PKI environment has a root and multiple issuing CAs. issuing-ca-6.cer is the CA that signed the server certificate for the OCSP responder server. ca-bundle.crt includes the root and all issuing CAs.

Setup is as follows:

 ![0691T000006AphrQAC.png](https://d20hrnpixdzcsd.cloudfront.net/original/3X/b/b/bb34625a085eeda4141eb9397aa2e6b2825433ef.png)

 ![0691T000006AphsQAC.png](https://d20hrnpixdzcsd.cloudfront.net/original/2X/5/5c8115d4a921e550d3cec687aa5abd758b8b15d2.png)

/ras/xxx-internal-ca\_profile has a Trusted CA of ca-bundle.crt as used on the command line. Other parameters are default.

 ![0691T000006AphtQAC.png](https://d20hrnpixdzcsd.cloudfront.net/original/3X/1/d/1d11fa0915d71f4995a9292388a1bdf6bb775491.png)

I have tried many options for the Responder config which at the moment looks like this. I presume this is where my problem lies:

 ![0691T000006AphuQAC.png](https://d20hrnpixdzcsd.cloudfront.net/original/1X/72d597c9f24f32c3da1b36859e3ae6c451231a57.png)

Although openssl always provides the correct response, the Access Policy always tells me the certificate is revoked. I can confirm the certificate is being read properly because a sessiondump shows all of the certificate attributes.

Any guidance would be appreciated. Thanks.

APM 12.1.1

---

<div class="post-metadata">

**Author:** ![MichaelatF5](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/michaelatf5/32/11922_2.png) [@MichaelatF5](https://community.f5.com/u/MichaelatF5)\
**Post date:** [March 20, 2017, 4:50pm UTC](https://community.f5.com/t/ocsp-configuration/29364/2 "2017-03-20T16:50:59Z")

</div>

When you are testing from command line, I assume you are doing this from the BIG-IP management interface? Which has a route to the OCSP responder on the 10.1.1.0 network?

Does your Self-IP have a route to this network as well?

What is your OCSP Responder? Windows, Corestreet, Tumbleweed? Do you have nonce enabled by default on the responder and off on the OCSP profile?
