cert_from_chain
cert = cert_from_chain(fullchain);
if ((cert = cert_from_chain(request->fullchain)) == NULL) {