A method, an apparatus, a system, and a computer program product are
presented for validating certificates. A certificate validation service
receives a certificate validation request for a target certificate from a
client, thereby allowing the client to offload certificate validation
tasks into an online certificate validation service that is accessible
and sharable by multiple components within a data processing system. In
response to a determination that the target certificate is valid or
invalid, the certificate validation service sends a certificate
validation response with an indicating status value that the target
certificate is valid or invalid. The certificate validation service is
able to cache information about previously validated certificates and the
associated certificate chains, thereby enhancing the efficiency of the
service. Different certificate validation policies may be applied against
target certificates based upon information associated with the target
certificates.