This patch provides a schematic of the new architecture based on the struct cert_key_and_chain which appeared with haproxy 2.1. Could be backported in 2.1