Builds the PEM bundle a TLS socket presents for one certificate: the leaf, the chain it is stored with, and the Root that signs that chain.
{ certPem, chainPem }, chainPem leaf-first and without the Root
{ certPem, chainPem }
chainPem
the PEM bundle, leaf first
Builds the PEM bundle a TLS socket presents for one certificate: the leaf, the chain it is stored with, and the Root that signs that chain.