What are the security risks of using OCSP caching or nonces for PKI validation?
PKI, or public key infrastructure, is a system that uses certificates and keys to authenticate and encrypt data exchanged between parties. One of the challenges of PKI is to ensure that the certificates are valid and not revoked, which means that they have been compromised or expired. To do this, PKI relies on methods such as OCSP, or online certificate status protocol, which allows clients to query a server for the status of a certificate. However, OCSP also has some security risks that you should be aware of, especially when it comes to caching and nonces. In this article, we will explain what caching and nonces are, how they affect OCSP, and what are the potential threats and mitigations.