Overall
I am experimenting to set up a private PKI by using OpenSSL on a box of CentOS 7. Everything works just fine except the issue that the "Next Update" line is missing from the OCSP response.
Systems
- OS: CentOS 7.6
- OpenSSL 1.0.2k-fips
Syndromes
When I tested a TLS certificate from this PKI against the OCSP responder locally, I get the following results:
Response verify OK certs/abc.com.pem: good This Update: Sep 24 18:04:31 2019 GMT
I searched online, a lot of examples there show the Next Update line right under the This Update
line in an OCSP response. For instance
openssl ocsp -issuer chain.pem -cert wikipedia.pem -url http://ocsp.digicert.com wikipedia.pem: good This Update: Apr 9 08:45:00 2014 GMT Next Update: Apr 16 09:00:00 2014 GMT
This is not a big issue until it comes to be used with HAProxy OCSP stapling. HAProxy OCSP stapling seems not to accept an OCSP response without the "Next Update" line.
Question
Anybody knows why the "Next Update" line is missing from the OCSP response here? How to enable this line to be included in the OCSP response?
I tried on Ubuntu 18.04 LTS with its shipped OpenSSL package and got the same issue.
Thanks!