Lines Matching defs:cert
24 static const char *extract_responder_uri(X509 *cert, apr_pool_t *pool)
30 values = X509_get_ext_d2i(cert, NID_info_access, NULL, NULL);
54 static apr_uri_t *determine_responder_uri(SSLSrvConfigRec *sc, X509 *cert,
68 s = extract_responder_uri(cert, p);
105 static OCSP_REQUEST *create_request(X509_STORE_CTX *ctx, X509 *cert,
112 *certid = OCSP_cert_to_id(NULL, cert, ctx->current_issuer);
129 static int verify_ocsp_status(X509 *cert, X509_STORE_CTX *ctx, conn_rec *c,
140 ruri = determine_responder_uri(sc, cert, c, pool);
145 request = create_request(ctx, cert, &certID, s, pool, sc);
202 ssl_log_cxerror(SSLLOG_MARK, APLOG_ERR, 0, c, cert, APLOGNO(02272)
222 ssl_log_cxerror(SSLLOG_MARK, APLOG_ERR, 0, c, cert, APLOGNO(02273)
236 ssl_log_cxerror(SSLLOG_MARK, level, 0, c, cert,
254 X509 *cert = X509_STORE_CTX_get_current_cert(ctx);
258 if (!cert) {
262 "No cert available to check with OCSP");
265 else if (cert->valid && X509_check_issued(cert,cert) == X509_V_OK) {
268 "Skipping OCSP check for valid self-issued cert");
277 rv = verify_ocsp_status(cert, ctx, c, sc, s, vpool);